From bd27bbba1bbc14342a71dc5fd4032814195b919e Mon Sep 17 00:00:00 2001 From: hanxuntao <641739520@qq.com> Date: Thu, 27 Apr 2023 09:02:13 +0800 Subject: [PATCH] 1 --- DSWeb/Areas/SoftMng/Controllers/ExportController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;