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>