电子医保凭证支付

This commit is contained in:
萧道子 2025-06-13 09:49:23 +08:00
parent c6e3d65245
commit 1343d01478
2 changed files with 17 additions and 2 deletions

View File

@ -301,12 +301,13 @@ public class HispayServiceImpl implements IHispayService {
ActiveXComponent dispatch = instanceActive();
/** 1、组装参数 */
String requestTime = DateUtil.now();
data.setPaytime(requestTime).setCzksfbz("0").setZfjsbz("0");
JSONObject val = (JSONObject) JSON.toJSON(data);
String params = processParameters(val, null);
log.info("[HispayServiceImpl][chsCodeAsOutpatientFinal][门诊缴费-结算] 接口入参:{}", params);
String requestTime = DateUtil.now();
/** 2、调用COM函数 */
Variant resVariant = new Variant("", true);
Variant call = Dispatch.call(dispatch, "fRun", "BMZJF002", params, resVariant);

View File

@ -43,5 +43,19 @@ public class OutpatientFinalModel implements Serializable {
/**
* 支付时间
*/
// @NotEmpty(message = "支付时间不可为空!")
private String paytime;
/**
* 是否扣院内账户与预算保持一致
*/
private String czksfbz;
/**
* 是否自费结算与预算保持一致0根据病人医保代码结算1自费结算
*/
private String zfjsbz;
private String ybrc;
}