|
@ -72,7 +72,7 @@ public class IcEnterpriseExcelImportListener implements ReadListener<EnterpriseI |
|
|
try { |
|
|
try { |
|
|
Integer.parseInt(data.getScaleTotal()); |
|
|
Integer.parseInt(data.getScaleTotal()); |
|
|
} catch (NumberFormatException e) { |
|
|
} catch (NumberFormatException e) { |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "", "规模请填写数字"); |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "", "规模请正确填写场所人数"); |
|
|
} |
|
|
} |
|
|
// 去除空格
|
|
|
// 去除空格
|
|
|
ObjectUtil.objectToTrim(data); |
|
|
ObjectUtil.objectToTrim(data); |
|
|