| | |
| | | namespace HStation.BLL |
| | | using Yw.Dto; |
| | | |
| | | namespace HStation.BLL |
| | | { |
| | | /// <summary> |
| | | /// |
| | |
| | | return await _cal.GetByIds(Ids); |
| | | } |
| | | |
| | | //通过泵型号ID获取 |
| | | public async Task<List<PumpPartMainDto>> GetByPumpMainID(long ID) |
| | | { |
| | | return await _cal.GetByPumpMainID(ID); |
| | | } |
| | | |
| | | #endregion Query |
| | | |
| | | #region Insert |
| | |
| | | public async Task<bool> Inserts(List<AddPumpPartMainDto> list) |
| | | { |
| | | return await _cal.Inserts(list); |
| | | } |
| | | |
| | | public async Task<long> InsertEx(AddPumpPartMainDto part, List<AddPumpPropContentDto> propcontents, AddPumpMainAndPartMapDto partmap) |
| | | { |
| | | return await _cal.InsertEx(part, propcontents, partmap); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public async Task<bool> Updates(List<UpdatePumpPartMainDto> list) |
| | | { |
| | | return await _cal.Updates(list); |
| | | } |
| | | |
| | | public async Task<bool> UpdateEx(UpdatePumpPartMainDto pumppart, List<UpdatePumpPropContentDto> updatePumpPropContentDtos) |
| | | { |
| | | return await _cal.UpdateEx(pumppart, updatePumpPropContentDtos); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | return await _cal.DeleteAll(); |
| | | } |
| | | |
| | | public async Task<bool> UpdateSortCode(long ID, int SortCode) |
| | | { |
| | | return await _cal.UpdateSortCode(ID, SortCode); |
| | | } |
| | | |
| | | public async Task<bool> UpdateSorter(List<UpdateSortCodeInput> Sorters) |
| | | { |
| | | return await _cal.UpdateSorter(Sorters); |
| | | } |
| | | |
| | | #endregion Delete |
| | | } |
| | | } |