From b98bda282397df60077efbe4c1ad35a44bdfffb9 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期一, 02 十二月 2024 17:57:17 +0800 Subject: [PATCH] 2024-12-02 --- ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml index 1cb02f2..48f1f6a 100644 --- a/ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml +++ b/ltkj-system/src/main/resources/mapper/system/SysDeptMapper.xml @@ -43,6 +43,7 @@ <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"/> </resultMap> <sql id="selectDeptVo"> @@ -79,7 +80,8 @@ d.peofile, d.standard_dept_code, d.dept_type_code, - d.dept_fcus_type_code + d.dept_fcus_type_code, + d.modality from sys_dept d </sql> @@ -200,6 +202,7 @@ <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> create_time )values( <if test="deptId != null and deptId != 0">#{deptId},</if> @@ -236,6 +239,7 @@ <if test="deptFcusTypeCode != null">#{deptFcusTypeCode},</if> <if test="createBy != null and createBy != ''">#{createBy},</if> + <if test="modality != null and modality != ''">#{modality},</if> sysdate() ) </insert> @@ -277,6 +281,7 @@ <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> + <if test="modality != null and modality != ''">modality = #{modality},</if> update_time = sysdate() </set> where dept_id = #{deptId} -- Gitblit v1.8.0