Browse Source

feature:处方对账

wuyongyi 2 years ago
parent
commit
5dba0a4696
1 changed files with 0 additions and 13 deletions
  1. 0 13
      src/main/java/com/ywt/mg/services/PrescriptionServices.java

+ 0 - 13
src/main/java/com/ywt/mg/services/PrescriptionServices.java

@@ -976,20 +976,7 @@ public class PrescriptionServices {
                         }
                     }
 
-                    //统计支付总额和退费总额
-                    int paymentStatusInt = Checker.getIntegerValue(p.getPaymentStatus());
-                    int presStatus = Checker.getIntegerValue(p.getStatus());
-                    int payChanelInt = Checker.getIntegerValue(p.getPaymentChannel());
-
-                    if (presStatus == PrescriptionInfoStatusEnum.HaveARefund.getValue()) {
-                        refundTotal += Checker.getIntegerValue(p.getTotalPrice());
 
-                    }
-                    if (paymentStatusInt == PaymentStatusEnum.Success.getValue()) {
-                        payTotal += Checker.getIntegerValue(p.getTotalPrice());
-
-
-                    }
                 }
             }
             int size = prescriptionInfoList.size();