lyhzzz 2 år sedan
förälder
incheckning
ba9332da8a
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      src/main/java/com/fdkankan/sale/service/impl/RepairInfoService.java

+ 2 - 1
src/main/java/com/fdkankan/sale/service/impl/RepairInfoService.java

@@ -265,7 +265,8 @@ public class RepairInfoService {
         if(repairDetailVo.getRepairerVo().getWarrantyType() == 0){
             PriceListExcelVo excelVo = new PriceListExcelVo();
             excelVo.setName("保内维修");
-            excelVo.setAmount(totalAmount);
+            excelVo.setAmount(totalAmount.negate());
+            excelVos.add(excelVo);
         }
         vo.setPriceListExcelVos(excelVos);
         vo.setTotalCount(totalAmount);