From 967faa319a74ff9127e4be0773d9356a905be42d Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Wed, 6 Mar 2024 15:36:13 +0800 Subject: [PATCH] =?UTF-8?q?#=E8=AE=BE=E5=A4=87=E6=A1=A3=E6=A1=88=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E7=A5=A8=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hnac/hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml index 22e2dd0..e3183c2 100644 --- a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml +++ b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/mapper/xml/WorkTicketInfoMapper.xml @@ -89,7 +89,7 @@ select info.em_code as emCode,info.`type`,count(*) as payment, SUM( IF ( info.flow_description = '结束', 1, 0 )) AS finish, SUM( IF ( info.flow_description IN ( '作废', '错票' ), 1, 0 )) AS invalid, - SUM( IF ( eval.evaluate = '合格!', 1, 0 )) AS qualified + SUM( IF ( eval.`status` = '1', 1, 0 )) AS qualified from hzims_work_ticket_info info LEFT JOIN hzims_ticket_info_evaluate eval ON info.id = eval.ticket_id