|
|
|
@ -2313,10 +2313,16 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
|
|
|
|
|
if (headData.ISINSPECTION == true) //&& oldHeadData.iscancel = 0 ||= null)
|
|
|
|
|
{
|
|
|
|
|
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";
|
|
|
|
|
}
|
|
|
|
|