From 1bd2792d924c7c1a90dd76f07d54c39202ff7afc Mon Sep 17 00:00:00 2001 From: liyj <15602261488@163.com> Date: Sat, 12 Oct 2024 09:26:54 +0800 Subject: [PATCH] 1、修改开发数据库 --- dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseAppearMapper.xml | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseAppearMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseAppearMapper.xml index 9082fe1..b4e01c1 100644 --- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseAppearMapper.xml +++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseAppearMapper.xml @@ -261,6 +261,8 @@ <result property="backUnit" column="backUnit"/> <result property="reason" column="reason"/> <result property="opinion" column="opinion"/> + <result property="auditTime" column="auditTime"/> + <result property="auditResult" column="auditResult"/> </resultMap> <!-- 首页-待审核统计 --> @@ -278,14 +280,14 @@ and DATE_FORMAT(t1.appear_time,'%Y-%m-%d') <![CDATA[ <= ]]> #{terms.timeEnd}) </if> <if test="terms.partyName != null and terms.partyName !=''"> - and (concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%') + and concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%') </if> </select> <!-- 首页-待审核分页查询 --> <select id="pageMyTaskAppearReview" resultMap="MyTaskApplyReviewResult"> - SELECT t1.case_task_id as ownerId, t1.case_id as caseId, + SELECT t1.case_task_id as ownerId, t1.case_id as caseId, t1.audit_time as auditTime, t1.audit_result_name as auditResult, t1.appear_time as turnaroundTime, t1.appear_unit_name as organizingUnit, t1.appear_content as opinion, - t2.case_level as caseGrade, t2.canal_name as caseSource, t2.case_type_name as caseType, + t2.case_level as caseGrade, t2.canal_name as caseSource, concat(t2.case_type_first_name, '/' ,t2.case_type_name) as caseType, concat(t2.plaintiffs, t2.pagents) as plaintiffs, concat(t2.defendants, t2.dagents) as defendants FROM dyh_case_appear t1 left join dyh_case_info t2 on t1.case_id = t2.id @@ -298,7 +300,7 @@ and DATE_FORMAT(t1.appear_time,'%Y-%m-%d') <![CDATA[ <= ]]> #{terms.timeEnd}) </if> <if test="terms.partyName != null and terms.partyName !=''"> - and (concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%') + and concat(t2.plaintiffs, t2.pagents, t2.defendants, t2.dagents) like concat('%', #{terms.partyName}, '%') </if> <if test="page.sort != null"> <foreach collection="page.sort" item="s" index="index" separator="," open="order by "> -- Gitblit v1.8.0