|
@@ -245,6 +245,10 @@ public class WorkerWarrantyLogic {
|
|
|
|
|
|
if (workerWarranty.getWaitAmount().doubleValue() < 0)
|
|
|
throw new RemoteServiceException("第"+rowIndex+"行"+"缴纳金额超过应缴纳金额");
|
|
|
+
|
|
|
+ if (workerWarranty.getRefundAmount().doubleValue() > workerWarranty.getPayableAmount().doubleValue()) {
|
|
|
+ throw new RemoteServiceException("总退金额大于了缴纳金额");
|
|
|
+ }
|
|
|
workerWarranties.add(workerWarranty);
|
|
|
|
|
|
}
|