修改微信登录方法-未调用,需要测试
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);
|
||||
|
||||
Reference in New Issue
Block a user