From 6775e01c3ed863aa20911c4c120cddced3b21799 Mon Sep 17 00:00:00 2001 From: liyj <1003249715@qq.com> Date: Sat, 07 Sep 2024 02:14:12 +0800 Subject: [PATCH] 1、事件流程相关接口(为了快速联调,本次只提交接口不分内容-写死临时数据,联调后会全部提交) --- dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseAppearMapper.xml | 94 ++++++++++++++++++++++------------------------- 1 files changed, 44 insertions(+), 50 deletions(-) diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/assist/dao/mapper/xml/CaseAssistApplyMapper.xml b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseAppearMapper.xml similarity index 71% copy from dyh-service/dyh-mediate/src/main/java/cn/huge/module/assist/dao/mapper/xml/CaseAssistApplyMapper.xml copy to dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseAppearMapper.xml index c786345..8c5f647 100644 --- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/assist/dao/mapper/xml/CaseAssistApplyMapper.xml +++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseAppearMapper.xml @@ -1,26 +1,25 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!-- - * @title: 联合处置申请信息表 + * @title: 纠纷上报信息表 * @description: 自定义sql,请自行实现业务逻辑 * @company: hugeinfo - * @author: wangwh - * @time:2024-09-05 17:25:04 + * @author: liyj + * @time:2024-09-07 00:06:20 * @version 1.0.0 --> -<mapper namespace="cn.huge.module.assist.dao.mapper.CaseAssistApplyMapper"> +<mapper namespace="cn.huge.module.cases.dao.mapper.CaseAppearMapper"> <!-- 结果集 --> - <resultMap id="dataResult" type="cn.huge.module.assist.domain.po.CaseAssistApply"> + <resultMap id="dataResult" type="cn.huge.module.cases.domain.po.CaseAppear"> <result property="id" column="id"/> <result property="caseId" column="case_id"/> - <result property="applyUnitId" column="apply_unit_id"/> - <result property="applyUnitName" column="apply_unit_name"/> - <result property="applyUserId" column="apply_user_id"/> - <result property="applyUserName" column="apply_user_name"/> - <result property="applyAssistUnitId" column="apply_assist_unit_id"/> - <result property="applyAssistUnitName" column="apply_assist_unit_name"/> - <result property="applyContent" column="apply_content"/> - <result property="applyTime" column="apply_time"/> + <result property="appearUnitId" column="appear_unit_id"/> + <result property="appearUnitName" column="appear_unit_name"/> + <result property="appearUserId" column="appear_user_id"/> + <result property="appearUserName" column="appear_user_name"/> + <result property="appearContent" column="appear_content"/> + <result property="appearTime" column="appear_time"/> + <result property="caseTaskId" column="case_task_id"/> <result property="applyStatus" column="apply_status"/> <result property="auditUnitId" column="audit_unit_id"/> <result property="auditUnitName" column="audit_unit_name"/> @@ -36,19 +35,18 @@ <result property="updateTime" column="update_time"/> </resultMap> <!-- 表 --> - <sql id='table-name'>dyh_case_assist_apply</sql> + <sql id='table-name'>dyh_case_appear</sql> <!-- 字段 --> <sql id="column-part"> id, case_id, - apply_unit_id, - apply_unit_name, - apply_user_id, - apply_user_name, - apply_assist_unit_id, - apply_assist_unit_name, - apply_content, - apply_time, + appear_unit_id, + appear_unit_name, + appear_user_id, + appear_user_name, + appear_content, + appear_time, + case_task_id, apply_status, audit_unit_id, audit_unit_name, @@ -66,14 +64,13 @@ <!-- 更新实体字段 --> <sql id="set-part"> <if test="entity.caseId != null">case_id = #{entity.caseId},</if> - <if test="entity.applyUnitId != null">apply_unit_id = #{entity.applyUnitId},</if> - <if test="entity.applyUnitName != null">apply_unit_name = #{entity.applyUnitName},</if> - <if test="entity.applyUserId != null">apply_user_id = #{entity.applyUserId},</if> - <if test="entity.applyUserName != null">apply_user_name = #{entity.applyUserName},</if> - <if test="entity.applyAssistUnitId != null">apply_assist_unit_id = #{entity.applyAssistUnitId},</if> - <if test="entity.applyAssistUnitName != null">apply_assist_unit_name = #{entity.applyAssistUnitName},</if> - <if test="entity.applyContent != null">apply_content = #{entity.applyContent},</if> - <if test="entity.applyTime != null">apply_time = #{entity.applyTime},</if> + <if test="entity.appearUnitId != null">appear_unit_id = #{entity.appearUnitId},</if> + <if test="entity.appearUnitName != null">appear_unit_name = #{entity.appearUnitName},</if> + <if test="entity.appearUserId != null">appear_user_id = #{entity.appearUserId},</if> + <if test="entity.appearUserName != null">appear_user_name = #{entity.appearUserName},</if> + <if test="entity.appearContent != null">appear_content = #{entity.appearContent},</if> + <if test="entity.appearTime != null">appear_time = #{entity.appearTime},</if> + <if test="entity.caseTaskId != null">case_task_id = #{entity.caseTaskId},</if> <if test="entity.applyStatus != null">apply_status = #{entity.applyStatus},</if> <if test="entity.auditUnitId != null">audit_unit_id = #{entity.auditUnitId},</if> <if test="entity.auditUnitName != null">audit_unit_name = #{entity.auditUnitName},</if> @@ -98,29 +95,26 @@ <if test="terms.caseId != null and terms.caseId !=''"> and case_id = #{terms.caseId} </if> - <if test="terms.applyUnitId != null and terms.applyUnitId !=''"> - and apply_unit_id = #{terms.applyUnitId} + <if test="terms.appearUnitId != null and terms.appearUnitId !=''"> + and appear_unit_id = #{terms.appearUnitId} </if> - <if test="terms.applyUnitName != null and terms.applyUnitName !=''"> - and apply_unit_name = #{terms.applyUnitName} + <if test="terms.appearUnitName != null and terms.appearUnitName !=''"> + and appear_unit_name = #{terms.appearUnitName} </if> - <if test="terms.applyUserId != null and terms.applyUserId !=''"> - and apply_user_id = #{terms.applyUserId} + <if test="terms.appearUserId != null and terms.appearUserId !=''"> + and appear_user_id = #{terms.appearUserId} </if> - <if test="terms.applyUserName != null and terms.applyUserName !=''"> - and apply_user_name = #{terms.applyUserName} + <if test="terms.appearUserName != null and terms.appearUserName !=''"> + and appear_user_name = #{terms.appearUserName} </if> - <if test="terms.applyAssistUnitId != null and terms.applyAssistUnitId !=''"> - and apply_assist_unit_id = #{terms.applyAssistUnitId} + <if test="terms.appearContent != null and terms.appearContent !=''"> + and appear_content = #{terms.appearContent} </if> - <if test="terms.applyAssistUnitName != null and terms.applyAssistUnitName !=''"> - and apply_assist_unit_name = #{terms.applyAssistUnitName} + <if test="terms.appearTime != null and terms.appearTime !=''"> + and appear_time = #{terms.appearTime} </if> - <if test="terms.applyContent != null and terms.applyContent !=''"> - and apply_content = #{terms.applyContent} - </if> - <if test="terms.applyTime != null and terms.applyTime !=''"> - and apply_time = #{terms.applyTime} + <if test="terms.caseTaskId != null and terms.caseTaskId !=''"> + and case_task_id = #{terms.caseTaskId} </if> <if test="terms.applyStatus != null and terms.applyStatus !=''"> and apply_status = #{terms.applyStatus} @@ -176,7 +170,7 @@ </if> </sql> <!-- 更新对象 --> - <update id="updateCaseAssistApply"> + <update id="updateCaseAppear"> update <include refid="table-name"/> <set> @@ -187,7 +181,7 @@ </where> </update> <!-- 条件更新对象 --> - <update id="updateCaseAssistApplyTerms"> + <update id="updateCaseAppearTerms"> update <include refid="table-name"/> <set> @@ -196,7 +190,7 @@ <include refid="where-part"/> </update> <!-- 根据编号物理删除 --> - <delete id="deleteCaseAssistApply"> + <delete id="deleteCaseAppear"> delete from <include refid="table-name" /> where id = #{id} -- Gitblit v1.8.0