From 5a4355579f663a0fb8b0c7ca4b3676594b55c7c7 Mon Sep 17 00:00:00 2001 From: huangh <hshgjzd5@163.com> Date: Thu, 26 Sep 2024 10:32:46 +0800 Subject: [PATCH] AI对话接口+简介接口+评价接口 --- dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseTaskMapper.xml | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseTaskMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseTaskMapper.xml index 02f997a..b4b9302 100644 --- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseTaskMapper.xml +++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseTaskMapper.xml @@ -365,7 +365,7 @@ select count(case when (node_id = 'ZJ_DFP' or node_id = 'QJ_DFP' or node_id = 'SJ_DFP' or node_id = 'DFP') and sign_status != 1 then id end) as waitDisp, count(case when sign_status = 1 then id end) as waitSign, - count(case when (node_id = 'ZJ_DSL' or node_id = 'QJ_DSL' or node_id = 'SJ_DSL' or node_id = 'DSL') and sign_status != 1 then id end) as waitAccept, + count(case when (node_id = 'ZJ_DSL' or node_id = 'QJ_DSL' or node_id = 'SJ_DSL' or node_id = 'DSL') and sign_status != 1 and (handle_result != 3 or handle_result is null) then id end) as waitAccept, count(case when node_id = 'BLFK' then id end) as Processing from <include refid="table-name" /> @@ -741,16 +741,16 @@ and t3.mediator like concat('%', #{terms.mediator}, '%') </if> <if test="terms.canal != null and terms.canal !=''"> - and t1.canal = #{terms.canal} + and t2.canal = #{terms.canal} </if> <if test="terms.mediResult != null and terms.mediResult !=''"> - and t1.medi_result = #{terms.mediResult} + and t3.medi_result = #{terms.mediResult} </if> <if test="terms.caseLevel != null and terms.caseLevel !=''"> - and t1.case_level = #{terms.caseLevel} + and t2.case_level = #{terms.caseLevel} </if> <if test="terms.caseType != null and terms.caseType !=''"> - and t1.case_type = #{terms.caseType} + and t2.case_type = #{terms.caseType} </if> <if test="terms.status != null and terms.status !=''"> and t2.status = #{terms.status} -- Gitblit v1.8.0