| | |
| | | * 修改用户 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:edit')") |
| | | @ApiOperation("用户管理修改") |
| | | @Log(title = "用户管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@Validated @RequestBody SysUser user) { |
| | |
| | | "/**/*.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() |
| | | // 除上面外的所有请求全部需要鉴权认证 |
| | |
| | | <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( |
| | |
| | | <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() |
| | | ) |
| | |
| | | <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> |