|
@@ -149,7 +149,7 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public String querCommitment(UserProfileQueryBo bo) {
|
|
public String querCommitment(UserProfileQueryBo bo) {
|
|
|
- if(Validator.isNotEmpty(bo.getUserId())||Validator.isNotEmpty(bo.getGoodsId())){
|
|
|
|
|
|
|
+ if(Validator.isEmpty(bo.getUserId())||Validator.isEmpty(bo.getGoodsId())){
|
|
|
throw new CustomException("参数缺失");
|
|
throw new CustomException("参数缺失");
|
|
|
}
|
|
}
|
|
|
UserProfile profile = getOne(new LambdaQueryWrapper<UserProfile>()
|
|
UserProfile profile = getOne(new LambdaQueryWrapper<UserProfile>()
|