From 7b248040f67265d54fb1a386f8e36a022ee22cee Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期二, 24 十二月 2024 17:48:39 +0800 Subject: [PATCH] zjh202412024 --- ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml | 75 ++++++++++++++++++++++++++++++++++++- 1 files changed, 73 insertions(+), 2 deletions(-) diff --git a/ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml index 7f32c2a..022e364 100644 --- a/ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml +++ b/ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml @@ -43,6 +43,9 @@ <result property="standardDeptCode" column="standard_dept_code"/> <result property="deptTypeCode" column="dept_type_code"/> <result property="deptFcusTypeCode" column="dept_fcus_type_code"/> + <result property="modality" column="modality"/> + <result property="hisksid" column="hisksid"/> + <result property="hisksmc" column="hisksmc"/> </resultMap> <sql id="selectDeptVo"> @@ -79,7 +82,10 @@ d.peofile, d.standard_dept_code, d.dept_type_code, - d.dept_fcus_type_code + d.dept_fcus_type_code, + d.modality, + d.hisksid, + d.hisksmc from sys_dept d </sql> @@ -200,6 +206,9 @@ <if test="deptFcusTypeCode != null">dept_fcus_type_code,</if> <if test="createBy != null and createBy != ''">create_by,</if> + <if test="modality != null and modality != ''">modality,</if> + <if test="hisksid != null and hisksid != ''">hisksid,</if> + <if test="hisksmc != null and hisksmc != ''">hisksmc,</if> create_time )values( <if test="deptId != null and deptId != 0">#{deptId},</if> @@ -236,6 +245,9 @@ <if test="deptFcusTypeCode != null">#{deptFcusTypeCode},</if> <if test="createBy != null and createBy != ''">#{createBy},</if> + <if test="modality != null and modality != ''">#{modality},</if> + <if test="hisksid != null and hisksid != ''">#{hisksid},</if> + <if test="hisksmc != null and hisksmc != ''">#{hisksmc},</if> sysdate() ) </insert> @@ -277,6 +289,9 @@ <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> + <if test="modality != null and modality != ''">modality = #{modality},</if> + <if test="hisksid != null and hisksid != ''">hisksid = #{hisksid},</if> + <if test="hisksmc != null and hisksmc != ''">hisksmc = #{hisksmc},</if> update_time = sysdate() </set> where dept_id = #{deptId} @@ -304,7 +319,7 @@ <delete id="deleteDeptById" parameterType="Long"> update sys_dept - set deleted = '2' + set deleted = '1' where dept_id = #{deptId} </delete> @@ -314,4 +329,60 @@ where dept_id = #{deptId} </update> + + <select id="getSysDeptYjWjCustomerList1" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> + {call pro_tjhzlb_list( + + #{deptid,mode=IN,jdbcType=VARCHAR}, + #{tjname,mode=IN,jdbcType=VARCHAR}, + #{tjNumber,mode=IN,jdbcType=VARCHAR}, + #{type,mode=IN,jdbcType=INTEGER}, + #{page,mode=IN,jdbcType=INTEGER}, + #{pageSize,mode=IN,jdbcType=INTEGER}, + #{totalRows,mode=OUT,jdbcType=INTEGER} + )} + </select> + + + + <select id="getSysDeptYjWjCustomerList2" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.EventObject"> + {call pro_tjhzlb_list( + + #{deptid,mode=IN,jdbcType=VARCHAR}, + #{tjname,mode=IN,jdbcType=VARCHAR}, + #{tjNumber,mode=IN,jdbcType=VARCHAR}, + #{type,mode=IN,jdbcType=INTEGER}, + #{page,mode=IN,jdbcType=INTEGER}, + #{pageSize,mode=IN,jdbcType=INTEGER}, + #{totalRows,mode=OUT,jdbcType=INTEGER} + )} + </select> + + + <select id="getSysDeptYjWjCustomerList13" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> + {call pro_tjhzlb_list( + + #{deptid,mode=IN,jdbcType=VARCHAR}, + #{tjname,mode=IN,jdbcType=VARCHAR}, + #{tjNumber,mode=IN,jdbcType=VARCHAR}, + #{type,mode=IN,jdbcType=INTEGER}, + #{page,mode=IN,jdbcType=INTEGER}, + #{pageSize,mode=IN,jdbcType=INTEGER}, + #{totalRows,mode=OUT,jdbcType=INTEGER} + )} + </select> + + + <select id="getSysDeptHyAndYxYjWjCustomerList13" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> + {call check_hyAndYx_list( + #{deptid,mode=IN,jdbcType=VARCHAR}, + #{tjname,mode=IN,jdbcType=VARCHAR}, + #{tjNumber,mode=IN,jdbcType=VARCHAR}, + #{type,mode=IN,jdbcType=INTEGER}, + #{page,mode=IN,jdbcType=INTEGER}, + #{pageSize,mode=IN,jdbcType=INTEGER}, + #{totalRows,mode=OUT,jdbcType=INTEGER} + )} + </select> + </mapper> -- Gitblit v1.8.0