From 9796fce9a2f3296db76d56299128327c6898e025 Mon Sep 17 00:00:00 2001 From: qian Date: Fri, 26 Jul 2024 10:36:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E9=83=BD=E6=89=93=E5=8D=B0=E5=8F=91?= =?UTF-8?q?=E8=B4=A7=E5=8D=95=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 北京北汽/Controller/SCP_ASN_CONTROLLER.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/北京北汽/Controller/SCP_ASN_CONTROLLER.cs b/北京北汽/Controller/SCP_ASN_CONTROLLER.cs index 72695a0..7df50fd 100644 --- a/北京北汽/Controller/SCP_ASN_CONTROLLER.cs +++ b/北京北汽/Controller/SCP_ASN_CONTROLLER.cs @@ -753,7 +753,7 @@ namespace CK.SCP.Controller }); _print.CAAIPhone = _buffer.ToString(); } - if (_asn.Site == "CQBMPT") + if (_asn.Site == "CQBMPT" || _asn.Site == "CDBMPT") { using (ScpEntities db = EntitiesFactory.CreateScpInstance()) { @@ -762,7 +762,7 @@ namespace CK.SCP.Controller var phone1 = db.TB_ADDRESS.Count(t => t.Address == ask.Extend1); if (phone1 > 0) { - var phone = db.TB_ADDRESS.SingleOrDefault(t => t.Address == ask.Extend1); + var phone = db.TB_ADDRESS.SingleOrDefault(t => t.Address == ask.Extend1 && t.SubSite == ask.SubSite); _print.CAAIPhone = phone.NamePone; } _print.CAAIFax = ask.Remark;