|
@@ -233,7 +233,7 @@ public class WorkerWarrantyLogic {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (CollectionUtils.isNotEmpty(workerWarrantyListUp))
|
|
|
+ if (CollectionUtils.isNotEmpty(workerWarrantyListUp) && workerWarranty.getRefundAmount() != null)
|
|
|
workerWarranty.setRefundAmount(workerWarrantyListUp.get(0).getRefundAmount().add(workerWarranty.getRefundAmount()));
|
|
|
|
|
|
workerWarranties.add(workerWarranty);
|