|
@ -26,6 +26,7 @@ import com.yihu.jw.hospital.prescription.dao.PrescriptionInfoDao;
|
|
|
import com.yihu.jw.hospital.prescription.service.PrescriptionExpressageService;
|
|
|
import com.yihu.jw.hospital.prescription.service.PrescriptionService;
|
|
|
import com.yihu.jw.hospital.prescription.service.WorkTimeService;
|
|
|
import com.yihu.jw.hospital.prescription.service.entrance.EntranceService;
|
|
|
import com.yihu.jw.hospital.service.consult.KnowledgeArticleService;
|
|
|
import com.yihu.jw.hospital.service.consult.QrcodeService;
|
|
|
import com.yihu.jw.hospital.service.consult.SysDictService;
|
|
@ -141,6 +142,8 @@ public class PatientNoLoginEndPoint extends EnvelopRestEndpoint {
|
|
|
private WechatDao wechatDao;
|
|
|
@Autowired
|
|
|
private YlzPayService ylzPayService;
|
|
|
@Autowired
|
|
|
private EntranceService entranceService;
|
|
|
|
|
|
|
|
|
private String successxml = "SUCCESS";
|
|
@ -756,4 +759,34 @@ public class PatientNoLoginEndPoint extends EnvelopRestEndpoint {
|
|
|
return success("操作成功",result);
|
|
|
}
|
|
|
|
|
|
|
|
|
@GetMapping(value = BaseHospitalRequestMapping.PatientNoLogin.paySuccessNotice)
|
|
|
@ApiOperation(value = "微信支付状态查询")
|
|
|
public Envelop paySuccessNotice(@ApiParam(name = "userName", value = "userName", required = true)
|
|
|
@RequestParam(value = "userName", required = true)String userName,
|
|
|
@ApiParam(name = "idCard", value = "idCard", required = false)
|
|
|
@RequestParam(value = "idCard", required = false)String idCard,
|
|
|
@ApiParam(name = "phone", value = "phone", required = false)
|
|
|
@RequestParam(value = "phone", required = false)String phone,
|
|
|
@ApiParam(name = "title", value = "title", required = false)
|
|
|
@RequestParam(value = "title", required = false)String title,
|
|
|
@ApiParam(name = "url", value = "url", required = false)
|
|
|
@RequestParam(value = "url", required = false)String url,
|
|
|
@ApiParam(name = "doctorName", value = "doctorName", required = false)
|
|
|
@RequestParam(value = "doctorName", required = false)String doctorName,
|
|
|
@ApiParam(name = "total", value = "总费用", required = false)
|
|
|
@RequestParam(value = "total", required = false)String total,
|
|
|
@ApiParam(name = "miPay", value = "医保支付", required = false)
|
|
|
@RequestParam(value = "miPay", required = false)String miPay,
|
|
|
@ApiParam(name = "selfPay", value = "个人支付", required = false)
|
|
|
@RequestParam(value = "selfPay", required = false)String selfPay,
|
|
|
@ApiParam(name = "orderNo", value = "单据号", required = false)
|
|
|
@RequestParam(value = "orderNo", required = false)String orderNo,
|
|
|
@ApiParam(name = "remark", value = "备注", required = false)
|
|
|
@RequestParam(value = "remark", required = false)String remark) throws Exception{
|
|
|
String result = entranceService.paySuccessNotice(userName,idCard,phone,title,url,doctorName,total,miPay,selfPay,orderNo,remark);
|
|
|
logger.info(result);
|
|
|
return success("操作成功",result);
|
|
|
}
|
|
|
|
|
|
}
|