|
|
@@ -223,8 +223,8 @@ public class SysPartnerController extends BaseController {
|
|
|
}
|
|
|
|
|
|
BigDecimal bigDecimal = new BigDecimal(proportion);
|
|
|
- BigDecimal bigDecimal1 = d.setScale(1, RoundingMode.DOWN);
|
|
|
- if (bigDecimal.compareTo(bigDecimal1) != 0) {
|
|
|
+// BigDecimal bigDecimal1 = d.setScale(1, RoundingMode.DOWN);
|
|
|
+ if (bigDecimal.compareTo(d) != 0) {
|
|
|
throw new SystemException("总比例必须等于每级合伙人比例和");
|
|
|
}
|
|
|
Long id = sysProportionConfig.getId();
|