瀏覽代碼

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>