he2802 1 년 전
부모
커밋
4174dc6438
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/java/com/zhongzheng/modules/base/service/impl/UserProfileServiceImpl.java

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/service/impl/UserProfileServiceImpl.java

@@ -149,7 +149,7 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
 
     @Override
     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("参数缺失");
         }
         UserProfile profile = getOne(new LambdaQueryWrapper<UserProfile>()