|
@@ -39,9 +39,11 @@ public class AfterStaticisJob implements Job {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
|
|
|
|
+ log.info("开始进行事后统计类指标");
|
|
|
List<DictModel> dictModelList = sysDictService.getDictItems(Constant.MANAGER_STATICTIS_CATEGORY);
|
|
List<DictModel> dictModelList = sysDictService.getDictItems(Constant.MANAGER_STATICTIS_CATEGORY);
|
|
|
List<DictModel> ruleDictModelList = sysDictService.getDictItems(Constant.MANAGER_STATICTIS_RULE);
|
|
List<DictModel> ruleDictModelList = sysDictService.getDictItems(Constant.MANAGER_STATICTIS_RULE);
|
|
|
if (CollectionUtil.isNotEmpty(dictModelList) || CollectionUtil.isNotEmpty(ruleDictModelList)) {
|
|
if (CollectionUtil.isNotEmpty(dictModelList) || CollectionUtil.isNotEmpty(ruleDictModelList)) {
|
|
|
|
|
+
|
|
|
List<String> categoryList = new ArrayList<>();
|
|
List<String> categoryList = new ArrayList<>();
|
|
|
List<Integer> ruleIdList = new ArrayList<>();
|
|
List<Integer> ruleIdList = new ArrayList<>();
|
|
|
boolean cFlag = false;
|
|
boolean cFlag = false;
|
|
@@ -75,8 +77,10 @@ public class AfterStaticisJob implements Job {
|
|
|
if(CollectionUtil.isNotEmpty(rMedicalInsRuleInfoList)){
|
|
if(CollectionUtil.isNotEmpty(rMedicalInsRuleInfoList)){
|
|
|
medicalInsRuleInfoList.addAll(rMedicalInsRuleInfoList);
|
|
medicalInsRuleInfoList.addAll(rMedicalInsRuleInfoList);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
if (CollectionUtil.isNotEmpty(medicalInsRuleInfoList)) {
|
|
if (CollectionUtil.isNotEmpty(medicalInsRuleInfoList)) {
|
|
|
for (MedicalInsRuleInfo medicalInsRuleInfo : medicalInsRuleInfoList) {
|
|
for (MedicalInsRuleInfo medicalInsRuleInfo : medicalInsRuleInfoList) {
|
|
|
|
|
+ log.info("开始进行事后统计类指标,执行的规则:{}", medicalInsRuleInfo.getId());
|
|
|
afterDealTask.statictisRuleByRuleEngine(medicalInsRuleInfo);
|
|
afterDealTask.statictisRuleByRuleEngine(medicalInsRuleInfo);
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
@@ -86,8 +90,6 @@ public class AfterStaticisJob implements Job {
|
|
|
log.error("未配置统计监测类的二级分类名");
|
|
log.error("未配置统计监测类的二级分类名");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|