|
@@ -385,9 +385,11 @@ public class UserLogic {
|
|
userWait.setEndTime(DateUtil.parse(hightEndTime, "yyyy-MM-dd"));
|
|
userWait.setEndTime(DateUtil.parse(hightEndTime, "yyyy-MM-dd"));
|
|
userWait.setHightExamineTime(DateUtil.parse(hightExamineTime, "yyyy-MM-dd"));
|
|
userWait.setHightExamineTime(DateUtil.parse(hightExamineTime, "yyyy-MM-dd"));
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ if (userWaitService.lambdaQuery().in(UserWait::getMobile,userWait.getMobile()).eq(UserWait::getWebsitId,userWait.getWebsitId()).count()
|
|
|
|
+ > 1)
|
|
|
|
+ throw new RemoteServiceException(userWait.getMobile()+"拥有这个网点");
|
|
|
|
|
|
|
|
|
|
userWaits.add(userWait);
|
|
userWaits.add(userWait);
|
|
@@ -396,8 +398,7 @@ public class UserLogic {
|
|
|
|
|
|
List<String> stringList = userWaits.stream().map(UserWait::getMobile).collect(Collectors.toList());
|
|
List<String> stringList = userWaits.stream().map(UserWait::getMobile).collect(Collectors.toList());
|
|
|
|
|
|
- if (userWaitService.lambdaQuery().in(UserWait::getMobile,stringList).count() > stringList.stream().count())
|
|
|
|
- throw new RemoteServiceException("拥有多个师傅编号");
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|