ÎļþÃû´Ó BLL/HStation.BLL.Assets.Core/03-localclient/08-FourLinkManage/FourLinkMain.cs ÐÞ¸Ä |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ´æ°é»è®¤å¼ç¶æ |
| | | /// </summary> |
| | | public async Task<bool> UpdateDefaultStatus(long ID, bool status) |
| | | { |
| | | return await Task.Factory.StartNew(() => |
| | | { |
| | | var model = _service.GetByID(ID); |
| | | if (model == null) |
| | | { |
| | | throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.D001, $"ID:{ID} æ°æ®ä¸åå¨"); |
| | | } |
| | | var bol = _service.UpdateDefaultStatus(ID, status); |
| | | return bol; |
| | | }); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¹éæ´æ° |
| | | /// </summary> |
| | | public async Task<bool> Updates(List<UpdateAssetsFourlinkMainInput> inputList) |