Commit 4ea40230 authored by fangxinjiang's avatar fangxinjiang

校验调整

parent 99dac061
...@@ -723,7 +723,7 @@ public class ExcelUtil <T> implements Serializable { ...@@ -723,7 +723,7 @@ public class ExcelUtil <T> implements Serializable {
} else { } else {
return errorInfo(attr, "_必须为数字且最多两位小数", i); return errorInfo(attr, "_必须为数字且最多两位小数", i);
} }
} else if (attr.min() == 0) { }/* else if (attr.min() == 0) {
if (Common.isNumber(c)) { if (Common.isNumber(c)) {
if (attr.isFloat()){ if (attr.isFloat()){
if (Float.valueOf(c).compareTo(attr.min()) < CommonConstants.ZERO_INT) { if (Float.valueOf(c).compareTo(attr.min()) < CommonConstants.ZERO_INT) {
...@@ -731,7 +731,7 @@ public class ExcelUtil <T> implements Serializable { ...@@ -731,7 +731,7 @@ public class ExcelUtil <T> implements Serializable {
} }
} }
} }
} }*/
} }
return null; return null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment