9822e79febb5f30635035dc13538ce36a09d92e1..4e35a10fddb7b50161919fb09e5eace15275ce2f
2 天以前 sinake
用户管理增加机构id,机构名称字段
4e35a1 对比 | 目录
2 天以前 sinake
用户管理增加机构id,机构名称字段
31afc8 对比 | 目录
已修改4个文件
13 ■■■■■ 文件已修改
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/target/classes/com/ruoyi/web/controller/project/ServiceTotalsController.class 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java
@@ -145,6 +145,7 @@
     * 修改用户
     */
    // @PreAuthorize("@ss.hasPermi('system:user:edit')")
    @ApiOperation("用户管理修改")
    @Log(title = "用户管理", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    public AjaxResult edit(@Validated @RequestBody SysUser user) {
ruoyi-admin/target/classes/com/ruoyi/web/controller/project/ServiceTotalsController.class
Binary files differ
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -111,9 +111,9 @@
                        "/**/*.js",
                        "/profile/**"
                ).permitAll()
                .antMatchers("/swagger-ui.html").permitAll()
                .antMatchers("/swagger-resources/**").permitAll()
                .antMatchers("/webjars/**").permitAll()
//                .antMatchers("/swagger-ui.html").permitAll()
//                .antMatchers("/swagger-resources/**").permitAll()
//                .antMatchers("/webjars/**").permitAll()
//                .antMatchers("/*/api-docs").permitAll()
//                .antMatchers("/druid/**").anonymous()
                // 除上面外的所有请求全部需要鉴权认证
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -225,6 +225,8 @@
        <if test="status != null and status != ''">status,</if>
        <if test="createBy != null and createBy != ''">create_by,</if>
        <if test="remark != null and remark != ''">remark,</if>
        <if test="orgId != null and orgId != ''">org_id,</if>
        <if test="orgName != null and orgName != ''">org_name,</if>
        <if test="dingUserId != null and dingUserId != ''">ding_user_id,</if>
        create_time
        )values(
@@ -240,6 +242,8 @@
        <if test="status != null and status != ''">#{status},</if>
        <if test="createBy != null and createBy != ''">#{createBy},</if>
        <if test="remark != null and remark != ''">#{remark},</if>
        <if test="orgId != null and orgId != ''">#{org_id},</if>
        <if test="orgName != null and orgName != ''">#{org_name},</if>
        <if test="dingUserId != null and dingUserId != ''">#{dingUserId},</if>
        sysdate()
        )
@@ -263,6 +267,8 @@
            <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
            <if test="remark != null">remark = #{remark},</if>
            <if test="errorNums != null">error_nums = #{errorNums},</if>
            <if test="orgId != null">org_id = #{orgId},</if>
            <if test="orgName != null">org_name = #{orgName},</if>
            <if test="dingUserId != null and dingUserId != ''">ding_user_id = #{dingUserId},</if>
            update_time = sysdate()
        </set>