‘linchangsheng’ 2 hete
szülő
commit
bdac2811bf

+ 2 - 2
mall-server-api/src/main/java/com/gree/mall/manager/logic/worker/WorkerWarrantyLogic.java

@@ -224,9 +224,9 @@ public class WorkerWarrantyLogic {
 
             workerWarranty.setWaitAmount(workerWarranty.getShouldAmount().subtract(workerWarranty.getPayableAmount() == null?BigDecimal.ZERO:workerWarranty.getPayableAmount()));
 
-            if (workerWarranty.getWaitAmount().doubleValue() < 0)
+  /*          if (workerWarranty.getWaitAmount().doubleValue() < 0)
                 throw new RemoteServiceException("第"+rowIndex+"行"+"缴纳金额超过应缴纳金额");
-
+*/
             if (workerWarranty.getRefundAmount() != null && workerWarranty.getRefundAmount().doubleValue() > workerWarranty.getPayableAmount().doubleValue()) {
                 throw new RemoteServiceException("总退金额大于了缴纳金额");
             }