duheng
2024-08-21 6c88a90d2330a27c0052a22538f6ebd6200faae7
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
using HStation.CAL;
 
namespace HStation.BLL
{
    /// <summary>
    ///
    /// </summary>
    public class XhsProject : IXhsProject
    {
        private readonly HStation.CAL.IXhsProject _cal = CALCreateHelper.CreateCAL<HStation.CAL.IXhsProject>();
 
        public Task<bool> BulkInserts(List<AddXhsProjectInput> list)
        {
            return _cal.BulkInserts(list);
        }
 
        public Task<bool> BulkUpdates(List<UpdateXhsProjectInput> 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<bool> Deprecate(long ID)
        {
            return _cal.Deprecate(ID);
        }
 
        public Task<List<XhsProjectDto>> GetAll()
        {
            return _cal.GetAll();
        }
 
        public Task<XhsProjectDto> GetByID(long ID)
        {
            return _cal.GetByID(ID);
        }
 
        public Task<List<XhsProjectDto>> GetByIds(List<long> Ids)
        {
            return _cal.GetByIds(Ids);
        }
 
        public Task<long> Insert(AddXhsProjectInput model)
        {
            return _cal.Insert(model);
        }
 
        public Task<bool> Inserts(List<AddXhsProjectInput> list)
        {
            return _cal.Inserts(list);
        }
 
        public Task<bool> IsExistTagName(string TagName)
        {
            return _cal.IsExistTagName(TagName);
        }
 
        public Task<bool> IsExistTagNameExceptID(string TagName, long ExceptID)
        {
            return _cal.IsExistTagNameExceptID(TagName, ExceptID);
        }
 
        public Task<bool> Publish(long ID)
        {
            return _cal.Publish(ID);
        }
 
        public Task<bool> Update(UpdateXhsProjectInput 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<UpdateXhsProjectInput> 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> UpdateTagName(long ID, string TagName)
        {
            return _cal.UpdateTagName(ID, TagName);
        }
    }
}