修改微信登录方法-未调用,需要测试

This commit is contained in:
sh
2025-12-06 13:31:46 +08:00
parent 0fe02ff1a9
commit ac12331e8d
4 changed files with 247 additions and 50 deletions

View File

@@ -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)
{
//工作经历

View File

@@ -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);