lixiaojun
2024-08-07 601a829266703cdc4c6a4cef4f628c1074a7735b
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
using HStation.CAL;
 
namespace HStation.BLL
{
    /// <summary>
    ///
    /// </summary>
    public class XhsScheme : IXhsScheme
    {
        private readonly HStation.CAL.IXhsScheme _cal = CALCreateHelper.CreateCAL<HStation.CAL.IXhsScheme>();
 
        public Task<bool> BulkInserts(List<AddXhsSchemeInput> list)
        {
            return _cal.BulkInserts(list);
        }
 
        public Task<bool> BulkUpdates(List<UpdateXhsSchemeInput> list)
        {
            return _cal.BulkUpdates(list);
        }
 
        public Task<bool> DeleteAll()
        {
            return _cal.DeleteAll();
        }
 
        public Task<bool> DeleteByID(long ID)
        {
            return _cal.DeleteByID(ID);
        }
 
        public Task<bool> DeleteByIds(List<long> Ids)
        {
            return _cal.DeleteByIds(Ids);
        }
 
        public Task<List<XhsSchemeDto>> GetAll()
        {
            return _cal.GetAll();
        }
 
        public Task<XhsSchemeDto> GetByID(long ID)
        {
            return _cal.GetByID(ID);
        }
 
        public Task<List<XhsSchemeDto>> GetByIds(List<long> Ids)
        {
            return _cal.GetByIds(Ids);
        }
 
        public Task<List<XhsSchemeDto>> GetByProjectID(long ProjectID)
        {
            return _cal.GetByProjectID(ProjectID);
        }
 
        public Task<List<XhsSchemeDto>> GetBySiteID(long SiteID)
        {
            return _cal.GetBySiteID(SiteID);
        }
 
        public Task<List<XhsSchemeDto>> GetBySiteIds(List<long> SiteIds)
        {
            return _cal.GetBySiteIds(SiteIds);
        }
 
        public Task<long> Insert(AddXhsSchemeInput model)
        {
            return _cal.Insert(model);
        }
 
        public Task<bool> Inserts(List<AddXhsSchemeInput> list)
        {
            return _cal.Inserts(list);
        }
 
        public Task<bool> IsExistByProjectID(long ProjectID)
        {
            return _cal.IsExistByProjectID(ProjectID);
        }
 
        public Task<bool> IsExistBySiteID(long SiteID)
        {
            return _cal.IsExistBySiteID(SiteID);
        }
 
        public Task<bool> Update(UpdateXhsSchemeInput model)
        {
            return _cal.Update(model);
        }
 
        public Task<bool> UpdateFlags(long ID, List<string> Flags)
        {
            return _cal.UpdateFlags(ID, Flags);
        }
 
        public Task<bool> UpdateParas(long ID, Dictionary<string, string> Paras)
        {
            return _cal.UpdateParas(ID, Paras);
        }
 
        public Task<bool> Updates(List<UpdateXhsSchemeInput> list)
        {
            return _cal.Updates(list);
        }
 
        public Task<bool> UpdateSortCode(long ID, int SortCode)
        {
            return _cal.UpdateSortCode(ID, SortCode);
        }
 
        public Task<bool> UpdateSorter(List<UpdateSortCodeInput> Sorters)
        {
            return _cal.UpdateSorter(Sorters);
        }
 
        public Task<bool> UpdateUseStatus(long ID, int UseStatus)
        {
            return _cal.UpdateUseStatus(ID, UseStatus);
        }
    }
}