修复改配退舱未变更状态问题

dev
cjy 1 month ago
parent 79c490ff22
commit f8c592bbe9

@ -339,11 +339,15 @@ namespace DS.WMS.Core.Op.Method
info.IsCustoms = false;
info.IsLand = false;
info.IsVGM = false;
info.BusinessStatus = "";
info.BusinessStatusName = "";
info.BusinessStatus = string.Empty;
info.BusinessStatusName = string.Empty;
info.OrderProgress = "0";
await tenantDb.Updateable(info).UpdateColumns(x => new { x.CustomerNo,x.IsBooking,x.IsCustoms,x.IsLand,x.IsVGM,x.OrderProgress }).ExecuteCommandAsync();
await tenantDb.Updateable(info).UpdateColumns(x => new {
x.CustomerNo,
x.IsBooking,x.IsCustoms,x.IsLand,x.IsVGM,x.OrderProgress,
x.BusinessStatus, x.BusinessStatusName
}).ExecuteCommandAsync();
var oldOrder = entity.Adapt<SeaExport>();
entity.IsChangeETD = true;

Loading…
Cancel
Save