|
@@ -0,0 +1,30 @@
|
|
|
+package com.lantone.qc.kernel.catalogue.hospital.changshaxy.firstpagerecord;
|
|
|
+
|
|
|
+import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
+import com.lantone.qc.pub.Content;
|
|
|
+import com.lantone.qc.pub.model.InputInfo;
|
|
|
+import com.lantone.qc.pub.model.OutputInfo;
|
|
|
+import com.lantone.qc.pub.util.StringUtil;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @ClassName : FIRP03263
|
|
|
+ * @Description : 现住址填写错误
|
|
|
+ * @Author : dy
|
|
|
+ * @Date: 2021-11-22 10:41
|
|
|
+ */
|
|
|
+@Component
|
|
|
+public class FIRP03263 extends QCCatalogue {
|
|
|
+ public void start(InputInfo inputInfo, OutputInfo outputInfo){
|
|
|
+ status.set("0");
|
|
|
+ if (inputInfo.getFirstPageRecordDoc()!=null && inputInfo.getFirstPageRecordDoc().getStructureMap()!=null){
|
|
|
+ Map<String, String> structureMap = inputInfo.getFirstPageRecordDoc().getStructureMap();
|
|
|
+ String currentAddress = structureMap.get(Content.current_address);
|
|
|
+ if (StringUtil.isNotBlank(currentAddress) && !currentAddress.equals("-")){
|
|
|
+ status.set("-1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|