From 4282df97178534d74b5d684e3de03a8aa0e31a9f Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Tue, 30 Apr 2024 11:08:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E4=BE=9B=E4=BB=B6BBAC=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=9C=B0=E7=82=B9=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/models/settle/detail.js | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js index afadcb48..19d59dc8 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js @@ -93,8 +93,22 @@ export default function (businessType, type) { delete schema.properties["isMaidan"]; delete schema.properties["contractDocID"]; } - if (businessType !== "JisBBAC") { - delete schema.properties["site"]; + if (businessType !== "JisBBAC") + { + + if(businessType === "ZhiGongJianBBAC") + { + if(service === "pub_can_sa_service") + { + delete schema.properties["site"]; + } + } + else + { + delete schema.properties["site"]; + + } + } else { @@ -111,7 +125,7 @@ export default function (businessType, type) { const addMethod = "POST"; const exportMethod = "POST"; - if (businessType !== "JisBBAC") + if (businessType !== "JisBBAC" && businessType !== "ZhiGongJianBBAC") { return { query: { @@ -299,7 +313,7 @@ export default function (businessType, type) { }; - if(service === "bbac_can_sa_service") + if(service === "bbac_can_sa_service"||service === "pub_can_sa_service") { }