Переглянути джерело

feature: 缴费列表与详情

wuyongyi 2 роки тому
батько
коміт
f1ed2a1c2f

+ 5 - 0
onemini-hospital-empty/src/main/java/com/ywt/alipaympapi/service/impl/IsvPayServiceImpl.java

@@ -286,6 +286,7 @@ public class IsvPayServiceImpl implements IsvPayService {
                         data.setDoctorName(payItem.getDoctorName());
                         data.setDoctorCode(payItem.getDoctorCode());
                         data.setHisClinicCode(payItem.getClinicCode());
+                        data.setType(0);
                         list.add(data);
 //                        map.put("hisClinicCode", payItem.getClinicCode());
 //                        map.put("hisOrderNo", payItem.getHisOrdNum());
@@ -373,6 +374,10 @@ public class IsvPayServiceImpl implements IsvPayService {
                             data.setInvoiceNo(payItem.getInvoiceNo());
                             data.setHisPatientId(hisPatientId);
                             data.setPayTime(payItem.getPrescriptionDate());
+                            data.setTotal(Checker.getIntegerValue(payItem.getTotalFee()));
+                            data.setDoctorName(Checker.getStringValue(payItem.getDoctorName()));
+                            data.setDoctorCode(Checker.getStringValue(payItem.getDoctorCode()));
+                            data.setHisClinicCode(Checker.getStringValue(payItem.getClinicCode()));
                             list.add(data);
                         }
                         break;