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