|
|
@@ -91,8 +91,7 @@ public class BaseCompanyServiceImpl extends AbstractCrudService<BaseCompanyMappe
|
|
|
.in(BaseCompany::getCompanyId, companyIdList)
|
|
|
.eq(BaseCompany::getEnable, 0)
|
|
|
.orderByDesc(BaseCompany::getId);
|
|
|
- List<BaseCompany> list = this.list(queryWrapper);
|
|
|
- return list;
|
|
|
+ return this.list(queryWrapper);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -1129,12 +1128,14 @@ public class BaseCompanyServiceImpl extends AbstractCrudService<BaseCompanyMappe
|
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
|
return;
|
|
|
}
|
|
|
+ LocalDateTime now = LocalDateTime.now();
|
|
|
List<BaseCompanyAttach1> batch = list.stream()
|
|
|
.map(vo -> {
|
|
|
BaseCompanyAttach1 attach1 = new BaseCompanyAttach1();
|
|
|
attach1.setId(vo.getId());
|
|
|
attach1.setLongitude(vo.getLongitude());
|
|
|
attach1.setLatitude(vo.getLatitude());
|
|
|
+ attach1.setUpdateTime(now);
|
|
|
return attach1;
|
|
|
})
|
|
|
.collect(Collectors.toList());
|