diff --git a/DSWeb/Areas/SoftMng/Controllers/ExportController.cs b/DSWeb/Areas/SoftMng/Controllers/ExportController.cs index f934fc5a..0b4956f8 100644 --- a/DSWeb/Areas/SoftMng/Controllers/ExportController.cs +++ b/DSWeb/Areas/SoftMng/Controllers/ExportController.cs @@ -2955,8 +2955,8 @@ string swcn = "2020030084935", string swpw = "8a5889ea8e53b257e2a3ba053979ee64" } MBLNO = opapplyhead.MBLNO; var updateseai = false; - var opseaihead = MsOpSeaiDAL.GetData("MBLNO='" + MBLNO + "'"); - if (opseaihead.MBLNO == MBLNO&&!opseaihead.BSSTATUS) updateseai = true; + var opseaihead = MsOpSeaiDAL.GetData("MBLNO='" + MBLNO + "' or CUSTOMNO='"+ CUSTOMNO + "'"); + if (!string.IsNullOrEmpty(opseaihead.CUSTNO)&&!opseaihead.BSSTATUS) updateseai = true; SeqNo = opapplyhead.CUSCIQNO;