|
@@ -39,7 +39,7 @@ public class TsmzServiceImpl implements TsmzService {
|
|
|
|
|
|
@Override
|
|
|
public PayInfo uploadFees(String staffId, String patientId, Integer times, Integer receiptNo) {
|
|
|
- String balc = mzPatientMiMapper.selectMztczfsf(patientId);
|
|
|
+ String balc = mzPatientMiMapper.selectMztczfsf(patientId,times,null);
|
|
|
if (balc == null) {
|
|
|
return null;
|
|
|
}
|
|
@@ -238,7 +238,7 @@ public class TsmzServiceImpl implements TsmzService {
|
|
|
int code = (int) resultJSONO.get("code");
|
|
|
String msg = (String) resultJSONO.get("msg");
|
|
|
if (code == 0) {
|
|
|
- String balc = mzPatientMiMapper.selectMztczfsf(patientId);
|
|
|
+ String balc = mzPatientMiMapper.selectMztczfsf(patientId,-1,"310");
|
|
|
if (balc == null) {
|
|
|
resultMap.put("code", -1);
|
|
|
resultMap.put("message", "该患者无门诊共济信息!");
|