zhaowenxuan
2024-12-02 b98bda282397df60077efbe4c1ad35a44bdfffb9
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}