Shuxia Ning
2024-07-22 952cb084d1f31a1c2634b91d4d03374c359b52da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
namespace HStation.CAL
{
    /// <summary>
    /// 
    /// </summary>
    public interface IXhsPumpPhartMapping : IBaseCAL<AddXhsPumpPhartMappingInput, UpdateXhsPumpPhartMappingInput, XhsPumpPhartMappingDto>, IUpdateSorter
    {
        /// <summary>
        /// 通过 PumpID 获取
        /// </summary>
        Task<List<XhsPumpPhartMappingDto>> GetByPumpID(long PumpID);
 
        /// <summary>
        /// 通过 PumpIds 获取
        /// </summary>
        Task<List<XhsPumpPhartMappingDto>> GetByPumpIds(List<long> PumpIds);
 
        /// <summary>
        /// 获取最大排序码
        /// </summary>
        /// <returns></returns>
        Task<int> GetMaxSortCode(long PumpID);
 
        /// <summary>
        /// 更新 OtherName
        /// </summary> 
        Task<bool> UpdateOtherName(long ID, string OtherName);
 
        /// <summary>
        /// 更新 Importance
        /// </summary> 
        Task<bool> UpdateImportance(long ID, int Importance);
 
        /// <summary>
        /// 通过 PumpID 删除
        /// </summary> 
        Task<bool> DeleteByPumpID(long PumpID);
 
 
    }
}