仍禁用:读取单一窗口后向报关业务写入集装箱信息

DS7_JinGang
ddlucky 2 years ago
parent 71118f6885
commit 92bcb997a3

@ -3237,7 +3237,8 @@ string swcn = "2020030084935", string swpw = "8a5889ea8e53b257e2a3ba053979ee64"
//20210628 增加报关业务的箱信息 //20210628 增加报关业务的箱信息
//20210630 客户又取消此逻辑 部分原因是读入的箱信息的箱型无法对应 //20210630 客户又取消此逻辑 部分原因是读入的箱信息的箱型无法对应
//20230515 修改后仍然禁用
/*
CommonDataContext cdc = new CommonDataContext(); CommonDataContext cdc = new CommonDataContext();
//WEIGHKGS称重重量=ContainerWt //WEIGHKGS称重重量=ContainerWt
@ -3257,6 +3258,7 @@ string swcn = "2020030084935", string swpw = "8a5889ea8e53b257e2a3ba053979ee64"
if (op_ctnList.Exists(x => x.CNTRNO == item.containerNo)) if (op_ctnList.Exists(x => x.CNTRNO == item.containerNo))
{ {
var upditem = op_ctnList.First(x => x.CNTRNO == item.containerNo); var upditem = op_ctnList.First(x => x.CNTRNO == item.containerNo);
if(item.containerWt!=null)
upditem.WEIGHKGS = decimal.Parse(item.containerWt); upditem.WEIGHKGS = decimal.Parse(item.containerWt);
needinsert_ctn = false; needinsert_ctn = false;
} }
@ -3308,7 +3310,7 @@ string swcn = "2020030084935", string swpw = "8a5889ea8e53b257e2a3ba053979ee64"
} }
cdc.SaveChangesAsync(); cdc.SaveChangesAsync();
*/
} }
containerlist = cbll.GetModelList("PID='" + DecHead_Local.GID + "'"); containerlist = cbll.GetModelList("PID='" + DecHead_Local.GID + "'");

Loading…
Cancel
Save