浏览代码

i病案首页数据类型

‘chenzhilei’ 18 小时之前
父节点
当前提交
61e336748c

+ 18 - 14
src/main/java/thyyxxk/webserver/entity/casefrontsheet/CaseFrontsheetMain.java

@@ -87,6 +87,10 @@ public class CaseFrontsheetMain implements Serializable {
      */
     private String country;
 
+    /**
+     * 出生月
+     */
+    private Integer infAge;
     /**
      * 出生天数
      */
@@ -822,20 +826,20 @@ public class CaseFrontsheetMain implements Serializable {
     private Integer mainsurgInputErr;
     private Integer mainsurgCodeErr;
 
-    private Integer wzbl;
-    private Integer ynbl;
-    private Integer mdtbl;
-    private Integer dbzbl;
-    private Integer rjssbl;
-    private Integer jxcfbl;
-    private Integer mzycy;
-    private Integer ryycy;
-    private Integer sqysh;
-    private Integer lcybl;
-    private Integer fsybl;
-
-    private Integer noCertReason;
-    private Integer noCertReasonInput;
+    private String wzbl;
+    private String ynbl;
+    private String mdtbl;
+    private String dbzbl;
+    private String rjssbl;
+    private String jxcfbl;
+    private String mzycy;
+    private String ryycy;
+    private String sqysh;
+    private String lcybl;
+    private String fsybl;
+
+    private String noCertReason;
+    private String noCertReasonInput;
 
 
     /**

+ 11 - 11
src/main/java/thyyxxk/webserver/service/inpatient/casefrontsheet/VerifyCaseFrontSheet.java

@@ -32,17 +32,17 @@ public class VerifyCaseFrontSheet {
 
     public List<CodeName> saveVerify(CaseFrontsheetMain sheet) {
         List<CodeName> array = new ArrayList<>();
-        if (null != sheet.getLivePlace()) {
-            try {
-                byte[] livePlaceBytes = sheet.getLivePlace().getBytes("GBK");
-                if (livePlaceBytes.length > 32) {
-                    array.add(new CodeName("livePlace", "患者现住址不能超过32个字节,当前字节数为" +
-                            livePlaceBytes.length + "(1汉字=2字节,1字母或数字=1字节)!"));
-                }
-            } catch (Exception e) {
-                log.error("分析患者现住址长度出现异常", e);
-            }
-        }
+//        if (null != sheet.getLivePlace()) {
+//            try {
+//                byte[] livePlaceBytes = sheet.getLivePlace().getBytes("GBK");
+//                if (livePlaceBytes.length > 250) {
+//                    array.add(new CodeName("livePlace", "患者现住址不能超过32个字节,当前字节数为" +
+//                            livePlaceBytes.length + "(1汉字=2字节,1字母或数字=1字节)!"));
+//                }
+//            } catch (Exception e) {
+//                log.error("分析患者现住址长度出现异常", e);
+//            }
+//        }
         // 移除工作单位地址长度限制
         // if (null != sheet.getUnitPlace() && sheet.getUnitPlace().length() > 16) {
         //     array.add(new CodeName("unitPlace", "患者单位地址不能超过16个汉字!"));