optimize
wet 2 years ago
parent 3b81d4875d
commit 6994e795cf

@ -901,7 +901,7 @@ namespace Myshipping.Application
/// <returns></returns> /// <returns></returns>
[SqlSugarUnitOfWork] [SqlSugarUnitOfWork]
[HttpPost("/DataSync/SyncBookingList"), ApiUser(ApiCode = "SyncBookingList")] [HttpPost("/DataSync/SyncBookingList"), ApiUser(ApiCode = "SyncBookingList")]
public async void SyncBookingList(List<SyncBookingOrderDto> list) public async Task<string> SyncBookingList(List<SyncBookingOrderDto> list)
{ {
List<CodeCtn> ctncode = await _cache.GetAllCodeCtn(); List<CodeCtn> ctncode = await _cache.GetAllCodeCtn();
var userlist = _repUser.AsQueryable().Filter(null, true).ToListAsync(); var userlist = _repUser.AsQueryable().Filter(null, true).ToListAsync();
@ -1617,6 +1617,7 @@ namespace Myshipping.Application
#endregion #endregion
} }
} }
return "保存成功!";
} }

Loading…
Cancel
Save