|
@@ -275,12 +275,12 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
|
|
|
|
|
|
|
|
|
private ProductOrder checkNeedPay(List<String> numList, List<User> users,User loginUser,Integer payType,Integer timeZone) {
|
|
|
- Integer totalCount = 0;
|
|
|
+ Integer totalCount = users.size() -1;
|
|
|
HashMap<String, List<User>> map = this.getByNumList(numList);
|
|
|
for (String num : map.keySet()) {
|
|
|
List<User> users1 = map.get(num);
|
|
|
if (users1.isEmpty()){
|
|
|
- totalCount += users.size() -1 ;
|
|
|
+ totalCount += users.size() ;
|
|
|
continue;
|
|
|
}
|
|
|
List<Long> collect1 = users1.stream().map(User::getId).collect(Collectors.toList());
|