|
@@ -1,7 +1,6 @@
|
|
package com.lantone.qc.kernel.catalogue.firstpagerecord;
|
|
package com.lantone.qc.kernel.catalogue.firstpagerecord;
|
|
|
|
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
-import com.lantone.qc.kernel.util.CatalogueUtil;
|
|
|
|
import com.lantone.qc.pub.Content;
|
|
import com.lantone.qc.pub.Content;
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
@@ -22,8 +21,8 @@ public class FIRP0273 extends QCCatalogue {
|
|
status.set("0");
|
|
status.set("0");
|
|
if (inputInfo.getFirstPageRecordDoc() != null && inputInfo.getFirstPageRecordDoc().getStructureMap() != null) {
|
|
if (inputInfo.getFirstPageRecordDoc() != null && inputInfo.getFirstPageRecordDoc().getStructureMap() != null) {
|
|
Map<String, String> firstpageStructureMap = inputInfo.getFirstPageRecordDoc().getStructureMap();
|
|
Map<String, String> firstpageStructureMap = inputInfo.getFirstPageRecordDoc().getStructureMap();
|
|
- String infantAgeMonths = firstpageStructureMap.get(Content.infantAgeMonths);
|
|
|
|
- String infantAgeDays = firstpageStructureMap.get(Content.infantAgeDays);
|
|
|
|
|
|
+ String infantAgeMonths = firstpageStructureMap.get(Content.newbornAgeMonths);
|
|
|
|
+ String infantAgeDays = firstpageStructureMap.get(Content.newbornAgeDays);
|
|
if (StringUtil.isNotBlank(infantAgeMonths) && Integer.parseInt(infantAgeMonths) > 0) {
|
|
if (StringUtil.isNotBlank(infantAgeMonths) && Integer.parseInt(infantAgeMonths) > 0) {
|
|
status.set("-1");
|
|
status.set("-1");
|
|
}
|
|
}
|