소스 검색

fix: 修改别名

shc 9 달 전
부모
커밋
0584f3bad4
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      hnqz-upms/hnqz-upms-biz/src/main/resources/mapper/SysDeptMapper.xml

+ 3 - 0
hnqz-upms/hnqz-upms-biz/src/main/resources/mapper/SysDeptMapper.xml

@@ -136,6 +136,9 @@
     <update id="updateByPrimaryKeySelective" parameterType="com.qunzhixinxi.hnqz.admin.api.entity.SysDept">
         update sys_dept
         <set>
+            <if test="abbr != null and abbr != ''">
+                abbr = #{abbr,jdbcType=VARCHAR},
+            </if>
             <if test="delFlag != null">
                 del_flag = #{delFlag,jdbcType=VARCHAR},
             </if>