liding
2025-05-30 ccd87b6ac99259a01b9099a4d570f6d9e7dbb506
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -111,7 +111,7 @@
          <if test="email != null and email != ''">#{email},</if>
          <if test="status != null">#{status},</if>
          <if test="createBy != null and createBy != ''">#{createBy},</if>
          sysdate()
          now()
       )
   </insert>
   
@@ -127,7 +127,7 @@
          <if test="email != null">email = #{email},</if>
          <if test="status != null and status != ''">status = #{status},</if>
          <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
          update_time = sysdate()
          update_time = now()
       </set>
       where dept_id = #{deptId}
   </update>