From e981acb604fc32030918f447e5ab1fb71ddaef61 Mon Sep 17 00:00:00 2001 From: chuang <994001556@qq.com> Date: Fri, 10 Mar 2023 15:28:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E6=AE=B5=E7=AE=A1=E7=90=86-=E4=BE=9B?= =?UTF-8?q?=E5=BA=94=E8=BF=9B=E7=A8=8B=E5=88=86=E6=9E=90=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../contractMobile/ContractMobileMapper.xml | 6 +- .../mapper/customer/CustomerVMapper.xml | 101 ++++++++++++++++++ 2 files changed, 103 insertions(+), 4 deletions(-) diff --git a/SC-boot/linkage-scm/src/main/resources/mapper/contractMobile/ContractMobileMapper.xml b/SC-boot/linkage-scm/src/main/resources/mapper/contractMobile/ContractMobileMapper.xml index d08128dd..7b1e4403 100644 --- a/SC-boot/linkage-scm/src/main/resources/mapper/contractMobile/ContractMobileMapper.xml +++ b/SC-boot/linkage-scm/src/main/resources/mapper/contractMobile/ContractMobileMapper.xml @@ -24,6 +24,7 @@ + @@ -112,10 +113,7 @@ g.supplier_nm supperName, IFNULL( SUM( b.settlement ), 0 ) doneNum, IFNULL( a.num, 0 ) - IFNULL( SUM( b.settlement ), 0 ) unfinishedNum, - concat( - round( IFNULL( IFNULL( SUM( b.settlement ), 0 )/ IFNULL( a.num, 0 ) * 100, 0 ), 2 ), - '%' - ) SCHEDULE, + round( IFNULL( IFNULL( SUM( b.settlement ), 0 )/ IFNULL( a.num, 0 ) * 100, 0 ), 2 ) SCHEDULE, IFNULL( a.num, 0 ) contractNum, ROUND( IFNULL( b3.sales_price * IFNULL( SUM( b3.settlement ), 0 ), 0 ), 6 ) amountDeposit, ROUND(( diff --git a/SC-boot/linkage-scm/src/main/resources/mapper/customer/CustomerVMapper.xml b/SC-boot/linkage-scm/src/main/resources/mapper/customer/CustomerVMapper.xml index 00f1787d..12b06826 100644 --- a/SC-boot/linkage-scm/src/main/resources/mapper/customer/CustomerVMapper.xml +++ b/SC-boot/linkage-scm/src/main/resources/mapper/customer/CustomerVMapper.xml @@ -91,4 +91,105 @@ + +