|
@@ -24,7 +24,7 @@ public class QCCatalogue {
|
|
protected ThreadLocal<Map<Object, Object>> extData = new ThreadLocal<Map<Object, Object>>();
|
|
protected ThreadLocal<Map<Object, Object>> extData = new ThreadLocal<Map<Object, Object>>();
|
|
|
|
|
|
public void execute(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
public void execute(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
-// long t1 = System.currentTimeMillis();
|
|
|
|
|
|
+ // long t1 = System.currentTimeMillis();
|
|
if (outputInfo.getResult().get(className) != null) {
|
|
if (outputInfo.getResult().get(className) != null) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -39,8 +39,8 @@ public class QCCatalogue {
|
|
variablePreset("-1", "");
|
|
variablePreset("-1", "");
|
|
log.error(e.getMessage() + "......类名:" + this.className);
|
|
log.error(e.getMessage() + "......类名:" + this.className);
|
|
}
|
|
}
|
|
-// long t2 = System.currentTimeMillis();
|
|
|
|
-// log.error(inputInfo.getMedicalRecordInfoDoc().getStructureMap().get("behospitalCode") + "-----" + className + "(规则) 耗时:" + (t2 - t1));
|
|
|
|
|
|
+ // long t2 = System.currentTimeMillis();
|
|
|
|
+ // log.error(inputInfo.getMedicalRecordInfoDoc().getStructureMap().get("behospitalCode") + "-----" + className + "(规则) 耗时:" + (t2 - t1));
|
|
insertOpt(outputInfo);
|
|
insertOpt(outputInfo);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -93,7 +93,9 @@ public class QCCatalogue {
|
|
private String className = this.getClass().getSimpleName();
|
|
private String className = this.getClass().getSimpleName();
|
|
|
|
|
|
public QCCatalogue() {
|
|
public QCCatalogue() {
|
|
- CatalogueUtil.qcCatalogueMap.put(className, this);
|
|
|
|
|
|
+ String keyName = this.getClass().getName().substring(32);
|
|
|
|
+ keyName = keyName.substring(0, keyName.indexOf(".") + 1) + className;
|
|
|
|
+ CatalogueUtil.qcCatalogueMap.put(keyName, this);
|
|
}
|
|
}
|
|
|
|
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) throws ParseException {
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) throws ParseException {
|