关系人

optimize
wet 2 years ago
parent 65567f9c5d
commit b03353209c

@ -9,6 +9,7 @@ using System.Threading.Tasks;
using Myshipping.Application.Entity;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using Furion.FriendlyException;
namespace Myshipping.Application
{
@ -111,6 +112,9 @@ namespace Myshipping.Application
[HttpPost("/BookingOrderContact/savebatch"), SqlSugarUnitOfWork]
public async Task SaveBatch(List<UpdateBookingOrderContactInput> input)
{
if (input!=null&&input.Count>0) {
throw Oops.Oh($"请传入正确数据");
}
var bookingId = input.First().BookingId;
_rep.Delete(x => x.BookingId == bookingId);
foreach (var item in input)

Loading…
Cancel
Save