修改给浪潮提供的人、岗、企的信息
This commit is contained in:
@@ -144,4 +144,14 @@ public class CmsAppUserController extends BaseController
|
||||
}
|
||||
return AjaxResult.success(appUserService.editRegisterUser(registerBody));
|
||||
}
|
||||
|
||||
@ApiOperation("查询APP用户列表")
|
||||
// @PreAuthorize("@ss.hasPermi('cms:appUser:list')")
|
||||
@GetMapping("/noTmlist")
|
||||
public TableDataInfo noTmlist(AppUser appUser)
|
||||
{
|
||||
startPage();
|
||||
List<AppUser> list = appUserService.selectNoTmAppUserList(appUser);
|
||||
return getDataTable(list);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,4 +66,6 @@ public interface IAppUserService
|
||||
public AppUser getUserInfo();
|
||||
|
||||
public int editRegisterUser(RegisterBody registerBody);
|
||||
|
||||
public List<AppUser> selectNoTmAppUserList(AppUser appUser);
|
||||
}
|
||||
|
||||
@@ -325,4 +325,10 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AppUser> selectNoTmAppUserList(AppUser appUser)
|
||||
{
|
||||
return appUserMapper.selectAppUserList(appUser);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="loginDate != null "> and login_date = #{loginDate}</if>
|
||||
<if test="experience != null "> and experience = #{experience}</if>
|
||||
<if test="idCard != null and idCard != ''"> and id_card like concat('%', CAST(#{idCard} AS VARCHAR), '%')</if>
|
||||
<if test="userId != null"> and user_id = #{userId}</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="selectByJobId" resultType="com.ruoyi.common.core.domain.entity.AppUser" parameterType="java.lang.Long">
|
||||
|
||||
@@ -75,6 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="nature != null and nature != ''"> and nature = #{nature}</if>
|
||||
<if test="code != null and code != ''"> and code = #{code}</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
<if test="companyId != null and companyId != ''"> and company_id = #{companyId}</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="label" resultMap="CompanyResult">
|
||||
|
||||
@@ -111,7 +111,7 @@ public class SecurityConfig
|
||||
.authorizeHttpRequests((requests) -> {
|
||||
permitAllUrl.getUrls().forEach(url -> requests.antMatchers(url).permitAll());
|
||||
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
|
||||
requests.antMatchers("/login", "/register", "/captchaImage","/app/login","/websocket/**","/speech-recognition","/speech-synthesis","/cms/company/listPage","/cms/appUser/list").permitAll()
|
||||
requests.antMatchers("/login", "/register", "/captchaImage","/app/login","/websocket/**","/speech-recognition","/speech-synthesis","/cms/company/listPage","/cms/appUser/noTmlist").permitAll()
|
||||
// 静态资源,可匿名访问
|
||||
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
||||
// 移动端公用查询,可匿名访问
|
||||
|
||||
Reference in New Issue
Block a user