package thyyxxk.webserver.service.externalhttp;

import com.alibaba.fastjson.JSONObject;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Var;
import thyyxxk.webserver.entity.ResultVo;
import thyyxxk.webserver.entity.inpatient.chargelist.BriefPatInfo;
import thyyxxk.webserver.entity.inpatient.patient.Overview;

import java.util.List;

public interface SiZySrvc {

    @Post("{url}/zyFee/upload")
    ResultVo<String> uploadFeeDetail(@Var("url") String url, @JSONBody Overview o);

    @Post("{url}/zyFee/uploadMultiplePatientFees")
    ResultVo<String> uploadMultiplePatientFees(@Var("url") String url, @JSONBody List<Overview> overviews);

    @Post("{url}/zyFee/uploadWorkInjuryFees")
    ResultVo<String> uploadWorkInjuryFees(@Var("url") String url, @JSONBody List<Overview> overviews);

    @Post("{url}/selfpay/uploadSelfpayMedfee")
    JSONObject uploadSelfpayFees(@Var("url") String url, @JSONBody BriefPatInfo patInfo);
}
