fuliqi
2025-02-19 8fec9579ae4adb4f7f53440933908c90eea33b20
system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -135,9 +135,9 @@
   <update id="updateDept" parameterType="SysDept">
       update sys_dept
       <set>
          <if test="parentId != null and parentId != 0">parent_id = #{parentId},</if>
          <if test="parentId != null">parent_id = #{parentId},</if>
          <if test="deptName != null and deptName != ''">dept_name = #{deptName},</if>
          <if test="ancestors != null and ancestors != ''">ancestors = #{ancestors},</if>
          <if test="ancestors != null">ancestors = #{ancestors},</if>
          <if test="orderNum != null">order_num = #{orderNum},</if>
          <if test="leader != null">leader = #{leader},</if>
          <if test="phone != null">phone = #{phone},</if>