All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.founder.api.RpcCommonWsService Maven / Gradle / Ivy

package com.founder.api;

import com.founder.api.factory.RpcCommonWsFallbackFactory;
import com.founder.core.vopackage.VoParamEnc;
import com.founder.core.vopackage.VoResultEnc;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.util.MultiValueMap;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 天津以外医院使用 移动支付
 */
@FeignClient(value = "chis4cloud-ws", fallbackFactory = RpcCommonWsFallbackFactory.class)
public interface RpcCommonWsService {

    /**
     * -gh生成医保交易信息
     * @param paramEnc
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/inter/mzgh/generBackJyxxGh")
    VoResultEnc generBackJyxxGh(@RequestBody VoParamEnc paramEnc);

    /**
     * -mz生成医保交易信息
     * @param paramEnc
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/inter/mzsf/generBackJyxxMz")
    VoResultEnc generBackJyxxMz(@RequestBody VoParamEnc paramEnc);

    /**
     * -gh保存医保交易信息
     * @param paramEnc 传yb_mz_jyxx yb_mz_mxxx patient_map(待定)
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/inter/mzgh/saveBackJyxx")
    VoResultEnc saveBackJyxxGh(@RequestBody VoParamEnc paramEnc);

    /**
     * -mz保存医保交易信息
     * @param paramEnc
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/inter/mzsf/saveBackJyxx")
    VoResultEnc saveBackJyxxMz(@RequestBody VoParamEnc paramEnc);

    /**
     * -gh更新医保交易信息
     * @param paramEnc 传yb_mz_jyxx yb_mz_mxxx patient_map(待定)
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/inter/mzgh/updateBackJyxx")
    VoResultEnc updateBackJyxxGh(@RequestBody VoParamEnc paramEnc);

    /**
     * -mz更新医保交易信息
     * @param paramEnc
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/inter/mzsf/updateBackJyxx")
    VoResultEnc updateBackJyxxMz(@RequestBody VoParamEnc paramEnc);

    /**
     * 门诊退号
     * @param paramEnc
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/inter/mzgh/strikeBackJyxx")
    VoResultEnc strikeBackJyxxGh(@RequestBody VoParamEnc paramEnc);

    /**
     * 门诊退费
     * @param paramEnc
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/inter/mzsf/strikeBackJyxx")
    VoResultEnc strikeBackJyxxMz(@RequestBody VoParamEnc paramEnc);

    /**
     * 自助机服务(全景预约)
     * @param queryParam
     * @return
     */
    @PostMapping(value = "/yyzx/services")
    String callApcService(@RequestBody MultiValueMap queryParam);

    /**
     * 自助机服务(HTTP)
     * @param xml
     * @return
     */
    @PostMapping(value = "/home/services")
    String callWsService(String xml);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy