|
@@ -82,6 +82,7 @@ public class MzChargeDetailController {
|
|
|
private MzDepositFileService mzDepositFileService;
|
|
|
@Autowired
|
|
|
private MzVisitTableService mzVisitTableService;
|
|
|
+
|
|
|
/**
|
|
|
* 查询费用列表
|
|
|
*
|
|
@@ -1875,8 +1876,13 @@ public class MzChargeDetailController {
|
|
|
List<String> selfPayList = new ArrayList<>();
|
|
|
results.put("selfPayList", selfPayList);
|
|
|
StringBuilder stringBuilder = new StringBuilder();
|
|
|
+ int patientDuringSiSettle = tsmzService.isPatientDuringSiSettle(mzChargeDetail.getPatientId());
|
|
|
+ while (patientDuringSiSettle!=0){
|
|
|
+ Thread.sleep(1000);
|
|
|
+ patientDuringSiSettle = tsmzService.isPatientDuringSiSettle(mzChargeDetail.getPatientId());
|
|
|
+ }
|
|
|
int countYbZf = mzPatientMiService.queryCountYbZf(mzChargeDetail.getPatientId(), mzChargeDetail.getTimes());
|
|
|
- if(countYbZf>0){
|
|
|
+ if (countYbZf > 0) {
|
|
|
MzVisitTable mzVisitTable = mzVisitTableService.queryByPatientIdAndTimes(patientId, times);
|
|
|
if (mzVisitTable == null) {
|
|
|
throw new MzException("病人就诊记录不存在!");
|