|
@@ -385,12 +385,19 @@ public class UserLogic {
|
|
|
userWait.setEndTime(DateUtil.parse(hightEndTime, "yyyy-MM-dd"));
|
|
|
userWait.setHightExamineTime(DateUtil.parse(hightExamineTime, "yyyy-MM-dd"));
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
userWaits.add(userWait);
|
|
|
}
|
|
|
userWaitService.saveBatch(userWaits);
|
|
|
+
|
|
|
+ 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("拥有多个师傅编号");
|
|
|
}
|
|
|
|
|
|
|