|
@@ -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个汉字!"));
|