修改马士基API的保存问题

master
jianghaiqing 8 months ago
parent e2878eb358
commit 82019b6327

@ -1172,6 +1172,7 @@ namespace Myshipping.Application.Service.BookingOrder
x.TenantId, x.TenantId,
x.STUFFING_MEASUREMENT_TYPE, x.STUFFING_MEASUREMENT_TYPE,
x.STUFFING_MEASUREMENT_UNIT, x.STUFFING_MEASUREMENT_UNIT,
x.CTN_SUFFER_WEIGHT
}).ExecuteCommand(); }).ExecuteCommand();
} }
else else
@ -1180,7 +1181,8 @@ namespace Myshipping.Application.Service.BookingOrder
{ {
CTN_CODE = ctn.ctnCode, CTN_CODE = ctn.ctnCode,
CTN_NAME = ctn.ctnName, CTN_NAME = ctn.ctnName,
CTN_NUM = ctn.ctnNum.Value CTN_NUM = ctn.ctnNum.Value,
CTN_SUFFER_WEIGHT = (int)ctn.ctnSufferWeight.Value,
}; };
ctnEntity.RECORD_ID = entity.Id; ctnEntity.RECORD_ID = entity.Id;
@ -1237,7 +1239,8 @@ namespace Myshipping.Application.Service.BookingOrder
var ctnEntity = new BookingDeliveryRecordCtn { var ctnEntity = new BookingDeliveryRecordCtn {
CTN_CODE = ctn.ctnCode, CTN_CODE = ctn.ctnCode,
CTN_NAME = ctn.ctnName, CTN_NAME = ctn.ctnName,
CTN_NUM = ctn.ctnNum.Value CTN_NUM = ctn.ctnNum.Value,
CTN_SUFFER_WEIGHT = (int)ctn.ctnSufferWeight.Value,
}; };
ctnEntity.RECORD_ID = entity.Id; ctnEntity.RECORD_ID = entity.Id;

Loading…
Cancel
Save