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/CaseSuperviseMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseSuperviseMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseSuperviseMapper.xml index 8628d8b..810086d 100644 --- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseSuperviseMapper.xml +++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseSuperviseMapper.xml @@ -228,7 +228,7 @@ <include refid="table-name" /> where case_id = #{terms.caseId} and delete_status = 0 - <if test="terms.quiltUnitId == 1"> + <if test="terms.type == 1"> and sup_status = #{terms.supStatus} and quilt_unit_id = #{terms.quiltUnitId} </if> @@ -242,7 +242,7 @@ <include refid="table-name" /> where case_id = #{terms.caseId} and delete_status = 0 - <if test="terms.quiltUnitId == 1"> + <if test="terms.type == 1"> and sup_status = #{terms.supStatus} and quilt_unit_id = #{terms.quiltUnitId} </if> @@ -310,11 +310,11 @@ dyh_case_supervise t1 left join dyh_case_info t2 on t1.case_id = t2.id where t1.delete_status = 0 - <if test="terms.quiltUnitId != null and terms.quiltUnitId !=''"> + <if test="terms.type != 3"> and t1.quilt_unit_id = #{terms.quiltUnitId} and t1.sup_status = #{terms.supStatus} </if> - <if test="terms.supUnitId != null and terms.supUnitId !=''"> + <if test="terms.type == 3"> and t1.sup_unit_id = #{terms.supUnitId} </if> <if test="terms.timeStart != null and terms.timeStart !='' and terms.timeEnd != null and terms.timeEnd !=''"> -- Gitblit v1.8.0