Przeglądaj źródła

fix: 修改别名

shc 9 miesięcy temu
rodzic
commit
0584f3bad4

+ 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>