jianghaiqing 2 years ago
commit f43343fdce

@ -2139,7 +2139,6 @@ namespace Myshipping.Application
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpPost("/DataSync/SyncVesselDateExcept"), ApiUser(ApiCode = "SyncVesselDateExcept")] [HttpPost("/DataSync/SyncVesselDateExcept"), ApiUser(ApiCode = "SyncVesselDateExcept")]
[SqlSugarUnitOfWork]
public async Task SyncVesselDateExcept(List<DjyVesselExceptDto> dto) public async Task SyncVesselDateExcept(List<DjyVesselExceptDto> dto)
{ {
if (dto != null) if (dto != null)
@ -2148,7 +2147,8 @@ namespace Myshipping.Application
dto = dto.Distinct().ToList(); dto = dto.Distinct().ToList();
foreach (var item in dto) foreach (var item in dto)
{ {
msg += $"船名:{item.Vessel} 航次:{item.Voyno} {item.Message} <br/>"; msg += $"船名:{item.Vessel} 航次:{item.Voyno} {item.Message}";
msg += "\r\n";
} }

Loading…
Cancel
Save