This commit is contained in:
admin
2024-06-09 15:37:25 +08:00
parent 8608663861
commit 19c0efb16d
4 changed files with 18 additions and 1 deletions

View File

@@ -198,6 +198,9 @@ public class PlayClerkUserInfoServiceImpl extends ServiceImpl<PlayClerkUserInfoM
if (StrUtil.isNotBlank(vo.getRecommendationState())) {
lambdaQueryWrapper.eq(PlayClerkUserInfoEntity::getRecommendationState, vo.getRecommendationState());
}
if (StrUtil.isNotBlank(vo.getOnboardingState())) {
lambdaQueryWrapper.eq(PlayClerkUserInfoEntity::getOnboardingState, vo.getOnboardingState());
}
return this.baseMapper.selectJoinPage(page, PlayClerkUserInfoResultVo.class, lambdaQueryWrapper);
}

View File

@@ -103,7 +103,11 @@ public class PlayCommodityInfoServiceImpl extends ServiceImpl<PlayCommodityInfoM
@Override
public PlayCommodityInfoVo queryCommodityInfo(String id) {
return this.baseMapper.queryCommodityInfo(id);
PlayCommodityInfoVo vo = this.baseMapper.queryCommodityInfo(id);
if (vo == null) {
throw new CustomException("服务项目不存在");
}
return vo;
}
/**

View File

@@ -125,6 +125,11 @@ public class PlayClerkUserLoginResponseVo {
*/
private boolean clerkAllowEdit = true;
/**
* 在职状态1在职0离职
*/
private String onboardingState = "1";
/**
* 服务项目
*/

View File

@@ -54,6 +54,11 @@ public class PlayClerkUserInfoQueryVo extends BasePageEntity {
*/
private String clerkState = "1";
/**
* 在职状态1在职0离职
*/
private String onboardingState = "1";
/**
* 手机号码
*/