From 28aed16a79d906b4f950333ef4a77ab1e51ebc5e Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 8 Jan 2025 08:33:15 +0800 Subject: [PATCH] md --- .../mapper/EmisTmsScanRecordMapper.xml | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml index aa672435c..a92127a56 100644 --- a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml @@ -182,7 +182,7 @@ select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and ewpi.`problem_type` in(151,173,170) )--> - select t1.scan_site_code,t1.scan_count,ifnull(t2.sign_count,0) as sign_count,round(round(ifnull(t2.sign_count,0)/t1.scan_count,3)*100,1) as sign_rate from ( select a.scan_site_code ,count(DISTINCT a.main_bill_code) as scan_count @@ -251,6 +251,41 @@ + + +