|
@@ -386,11 +386,16 @@ public class SubjectQuestionDTO {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- if (question.getArbitrateThreshold() == null || question.getArbitrateThreshold() <= 0) {
|
|
|
+ if (question.getArbitrateThreshold() == null) {
|
|
|
error.add(errMsg(question.getGroupNumber(), "仲裁阈值为空"));
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ if (question.getArbitrateThreshold() != null && question.getArbitrateThreshold() < 0) {
|
|
|
+ error.add(errMsg(question.getGroupNumber(), "仲裁阈值不能为负数"));
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
Set<Double> arbitrateThresholdSet = arbitrateThresholdMap.get(question.getGroupNumber());
|
|
|
if (arbitrateThresholdSet == null) {
|
|
|
arbitrateThresholdSet = new HashSet<>();
|