|
@@ -176,18 +176,20 @@ public class CheckRecordServiceImpl implements ICheckRecordService {
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- BigDecimal v = BigDecimal.valueOf(Math.random() * 100).setScale(2, RoundingMode.HALF_UP);
|
|
|
- boolean flag = false;
|
|
|
- if (v.intValue() % 2 == 0) {
|
|
|
- flag = true;
|
|
|
- }
|
|
|
-
|
|
|
- Map<String, String> pair = CheckExportVO.checkV(flag, v.floatValue(), pos);
|
|
|
- crd.setResultL(pair.get("left"));
|
|
|
- crd.setResultR(pair.get("right"));
|
|
|
- if (flag) {
|
|
|
- errors++;
|
|
|
- }
|
|
|
+ crd.setResultL("--");
|
|
|
+ crd.setResultR("--");
|
|
|
+// BigDecimal v = BigDecimal.valueOf(Math.random() * 100).setScale(2, RoundingMode.HALF_UP);
|
|
|
+// boolean flag = false;
|
|
|
+// if (v.intValue() % 2 == 0) {
|
|
|
+// flag = true;
|
|
|
+// }
|
|
|
+//
|
|
|
+// Map<String, String> pair = CheckExportVO.checkV(flag, v.floatValue(), pos);
|
|
|
+// crd.setResultL(pair.get("left"));
|
|
|
+// crd.setResultR(pair.get("right"));
|
|
|
+// if (flag) {
|
|
|
+// errors++;
|
|
|
+// }
|
|
|
}
|
|
|
crdService.insertCheckRecordDetail(crd);
|
|
|
details.add(crd);
|