|
@@ -182,7 +182,13 @@ public class DeviceSimServiceImpl extends ServiceImpl<DeviceSimMapper, DeviceSim
|
|
|
String theTime = DataTime.getStringAround(0, 0, value, 0, 0, 0);
|
|
|
//并行数据
|
|
|
DeviceSimDto.PageCountVo pageCountVo = new DeviceSimDto.PageCountVo();
|
|
|
- ThreadPoolUtils.excPoll(DeviceThreadPoolConfig.DEVICE_COMMON_POLL, 4)
|
|
|
+ ThreadPoolUtils.excPoll(DeviceThreadPoolConfig.DEVICE_COMMON_POLL, 5)
|
|
|
+ .execute(() -> {
|
|
|
+ //全部
|
|
|
+ DeviceSimDto.PageCount paramsObj = Beans.copy(DeviceSimDto.PageCount.class, pageCount);
|
|
|
+ int count = baseMapper.pageCount(paramsObj);
|
|
|
+ pageCountVo.setAllCount(count);
|
|
|
+ })
|
|
|
.execute(() -> {
|
|
|
//即将过期
|
|
|
DeviceSimDto.PageCount paramsObj = Beans.copy(DeviceSimDto.PageCount.class, pageCount)
|