|
@@ -163,7 +163,8 @@ public class WorkerWarrantyLogic {
|
|
|
Map<String, User> userMap = userService.lambdaQuery()
|
|
|
.eq(User::getCompanyWechatId, adminUser.getCompanyWechatId())
|
|
|
.eq(User::getType,"WORKER")
|
|
|
- .and(item -> item.ne(User::getMobile,"").or().isNotNull(User::getMobile))
|
|
|
+ .ne(User::getMobile,"")
|
|
|
+ .isNotNull(User::getMobile)
|
|
|
.list().stream().collect(Collectors.toMap(User::getMobile, Function.identity()));
|
|
|
|
|
|
for (int i = 0; i < objects.size(); i++) {
|