20221223-3

临时发布20240103
ddlucky 2 years ago
parent cfe1e7d9e8
commit 32b09a317c

@ -2313,10 +2313,16 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
if (headData.ISINSPECTION == true) //&& oldHeadData.iscancel = 0 ||= null)
{
headData.ISCANCEL = "3";
if (!string.IsNullOrWhiteSpace(oldHeadData.BSNO))
{
if (oldHeadData.ISCANCEL == "0" || string.IsNullOrWhiteSpace(oldHeadData.ISCANCEL))
headData.ISCANCEL = "3";
}
else
headData.ISCANCEL = "3";
}
else {
if (string.IsNullOrWhiteSpace(oldHeadData.BSNO)) {
if (!string.IsNullOrWhiteSpace(oldHeadData.BSNO)) {
if(oldHeadData.ISCANCEL=="3")
headData.ISCANCEL = "0";
}

Loading…
Cancel
Save