Commit ad80523a authored by zhangyingbin's avatar zhangyingbin

优化消息接口

parent 22ae7692
......@@ -56,6 +56,9 @@ public class ScheduleService {
@Autowired
private TzBaseUnitLicenceServiceImpl baseUnitLicenceService;
@Autowired
CylinderInspectionServiceImpl cylinderInspectionService;
@Value("${cylinder-early-warning-packageId:预警消息/cylWarningMsg}")
private String cylPackageId;
......@@ -72,7 +75,7 @@ public class ScheduleService {
}
// 1.批量分组大小
int size = 500;
int cylTotal = cylinderInfoService.count();
int cylTotal = cylinderInspectionService.count();
int equTotal = RegistrationInfoService.count();
int licTotal = baseUnitLicenceService.count();
int cylGroupNumber = cylTotal / size + 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment