|
@@ -11,13 +11,14 @@ import thyyxxk.webserver.config.exception.ExceptionEnum;
|
|
|
import thyyxxk.webserver.constants.Constants;
|
|
|
import thyyxxk.webserver.constants.YesOrNo;
|
|
|
import thyyxxk.webserver.constants.ZyDepositFileStatusEnum;
|
|
|
+import thyyxxk.webserver.dao.his.zygl.MzZyReqDao;
|
|
|
import thyyxxk.webserver.entity.ResultVo;
|
|
|
import thyyxxk.webserver.entity.inpatient.ZyActpatient;
|
|
|
import thyyxxk.webserver.entity.inpatient.charge.MisPosVo;
|
|
|
import thyyxxk.webserver.entity.inpatient.charge.PatientParam;
|
|
|
import thyyxxk.webserver.entity.inpatient.charge.ZyDepositFile;
|
|
|
+import thyyxxk.webserver.entity.medicaladvice.medicamanage.MzZyReq;
|
|
|
import thyyxxk.webserver.service.inpatient.charge.TransactionService;
|
|
|
-import thyyxxk.webserver.service.zygl.AdmissionRegistrationService;
|
|
|
import thyyxxk.webserver.service.zygl.ZyActpatientService;
|
|
|
import thyyxxk.webserver.service.zygl.ZyDepositFileService;
|
|
|
import thyyxxk.webserver.utils.AssertUtil;
|
|
@@ -46,7 +47,7 @@ public class AdvancePaymentDealController {
|
|
|
@Resource
|
|
|
private ZyDepositFileService zyDepositFileService;
|
|
|
@Resource
|
|
|
- private AdmissionRegistrationService admissionRegistrationService;
|
|
|
+ private MzZyReqDao mzZyReqDao;
|
|
|
@Resource
|
|
|
private TransactionService transactionService;
|
|
|
|
|
@@ -56,6 +57,12 @@ public class AdvancePaymentDealController {
|
|
|
return ResultVoUtil.success(zyActpatient);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/queryLastMzZyReq")
|
|
|
+ public ResultVo<MzZyReq> queryLastMzZyReq(@RequestBody PatientParam param){
|
|
|
+ MzZyReq zyReq = mzZyReqDao.selectLastMzZyReq(param.getInpatientNo());
|
|
|
+ return ResultVoUtil.success(zyReq);
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("/queryAdvancePaymentPatientList")
|
|
|
public ResultVo<List<ZyActpatient>> queryAdvancePaymentPatientList(@RequestBody PatientParam param){
|
|
|
List<ZyActpatient> zyActpatientList = zyActpatientService.queryAdvancePaymentPatientList(param);
|