Browse Source

同一时间数据匹配插件问题修复

0027005599 1 year ago
parent
commit
a42e5f6848

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/ruleengine/plugin/GroupbyProjectCodeNumPlugin.java

@@ -31,7 +31,7 @@ public class GroupbyProjectCodeNumPlugin implements PluginInterface {
                 int sumProjectNum = 0;
                 Object srcProjectUseTime = localMap.get(SystemEventAttrConstant.PROJECT_USE_TIME);
                 String srcProjectUseDay = CommonUtil.getProjectUseDay(srcProjectUseTime);
-                Object srcProjectCode = localMap.getOrDefault(SystemEventAttrConstant.MEDICAL_PROJECT_CODE_KEY, "").toString();
+                String srcProjectCode = localMap.getOrDefault(SystemEventAttrConstant.MEDICAL_PROJECT_CODE_KEY, "").toString();
                 log.info("项目编码:{} 项目使用时间:{}", srcProjectCode, srcProjectUseDay);
                 if (null == srcProjectCode || null == srcProjectUseTime) {
                     localMap.put(SystemEventAttrConstant.SAME_TIME_SAME_CODE_NUM, 0);