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