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>