修改微信登录方法-未调用,需要测试
This commit is contained in:
@@ -107,6 +107,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public int insertAppUser(AppUser appUser)
|
||||
{
|
||||
return appUserMapper.insert(appUser);
|
||||
@@ -119,6 +120,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public int updateAppUser(AppUser appUser)
|
||||
{
|
||||
//工作经历
|
||||
|
||||
@@ -441,6 +441,12 @@ public class ESJobSearchImpl implements IESJobSearchService
|
||||
if(esJobSearch.getJobId()!=null){
|
||||
wrapper.and(x->x.eq(ESJobDocument::getJobId,esJobSearch.getJobId()));
|
||||
}
|
||||
if(!StringUtil.isEmptyOrNull(esJobSearch.getJobAddress())){
|
||||
wrapper.and(x->x.like(ESJobDocument::getJobAddress,esJobSearch.getJobAddress()));
|
||||
}
|
||||
if(!StringUtil.isEmptyOrNull(esJobSearch.getJobLocation())){
|
||||
wrapper.and(x->x.like(ESJobDocument::getJobLocation,esJobSearch.getJobLocation()));
|
||||
}
|
||||
if(Objects.nonNull(esJobSearch.getOrder())){
|
||||
if(esJobSearch.getOrder()==1){
|
||||
wrapper.orderByDesc(ESJobDocument::getIsHot);
|
||||
|
||||
@@ -12,11 +12,24 @@ public class StringUtil {
|
||||
/*1101(求职者)、1102(招聘者)、1103(网格员)、1104(内部工作者)*/
|
||||
public static final Long COMPANY_ADMIN_ROLE_KEY = 1102L;
|
||||
|
||||
/************************移动端角色开始***************************/
|
||||
/**
|
||||
* 企业用户
|
||||
* 移动端-企业用户
|
||||
*/
|
||||
public static final String IS_COMPANY_USER = "0";
|
||||
|
||||
/**
|
||||
* 移动端-求职者
|
||||
*/
|
||||
public static final String IS_JOB_REQUEST_USER = "1";
|
||||
/**
|
||||
* 移动端-网格员
|
||||
*/
|
||||
public static final String IS_GRID_USER = "2";
|
||||
/**
|
||||
* 移动端-内部工作者
|
||||
*/
|
||||
public static final String IS_INTERNAL_USER = "3";
|
||||
/************************移动端角色结束***************************/
|
||||
/**
|
||||
* pc端-求职者
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user