ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
@@ -117,7 +117,7 @@ <if test="status != null and status != ''">#{status},</if> <if test="remark != null and remark != ''">#{remark},</if> <if test="createBy != null and createBy != ''">#{createBy},</if> sysdate() now() ) </insert> @@ -133,7 +133,7 @@ <if test="status != null and status != ''">status = #{status},</if> <if test="remark != null">remark = #{remark},</if> <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> update_time = sysdate() update_time = now() </set> where role_id = #{roleId} </update>