xuhy
7 天以前 ff265ba53df1d9e89ae2d4258007cd2e02811f8c
ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -109,7 +109,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>
   
@@ -125,7 +125,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>