调解系统整理

This commit is contained in:
18792927508
2024-01-08 15:05:57 +08:00
parent 913c31ca88
commit 62183896ab
38 changed files with 199 additions and 161 deletions
@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.wisdomarbitrate.mapper.dept.SealManageMapper">
<resultMap type="SealManage" id="SealManageResult">
<resultMap type="com.ruoyi.wisdomarbitrate.domain.dto.dept.SealManage" id="SealManageResult">
<id property="id" column="id" />
<result property="identifyId" column="identify_id" />
<result property="sealName" column="seal_name" />
@@ -13,7 +13,7 @@
<result property="isUse" column="is_use" />
</resultMap>
<select id="selectSealList" parameterType="SealManage" resultMap="SealManageResult">
<select id="selectSealList" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.dept.SealManage" resultMap="SealManageResult">
SELECT id, identify_id ,seal_name , seal_id,annex_id,seal_status,is_use
FROM ms_seal_manage
<where>
@@ -27,7 +27,7 @@
</select>
<insert id="insertSealManage" parameterType="SealManage" useGeneratedKeys="true" keyProperty="id">
<insert id="insertSealManage" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.dept.SealManage" useGeneratedKeys="true" keyProperty="id">
insert into ms_seal_manage(
<if test="identifyId != null">identify_id,</if>
<if test="sealName != null and sealName != ''">seal_name,</if>
@@ -45,7 +45,7 @@
)
</insert>
<update id="updateSealManage" parameterType="SealManage">
<update id="updateSealManage" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.dept.SealManage">
update ms_seal_manage
<set>
<if test="identifyId != null">identify_id = #{identifyId},</if>