云霄医保上传问题

yxfydrug
qiuyt 6 months ago
parent 7b8e347032
commit 0c9049e021

@ -81,7 +81,7 @@ import java.util.stream.Collectors;
@Service(value = "100011HttpClient")
public class CtqyyClient extends CommonHttpClient {
private final String[] buyType_3501 = {"24"};
private final String[] buyType_3502 = {"SC72889572632899", "6", "5", "4", "1", "16", "12", "28", "35"};
private final String[] buyType_3502 = {"YPCF002","YPCF003","SC72889572632899", "6", "5", "4", "1", "16", "12", "28", "35"};
private final String[] buyType_3505 = {"QXCF001", "YPCF002"};
private final String[] buyType_3506 = {"YPTH001"};
@Resource
@ -1684,11 +1684,13 @@ public class CtqyyClient extends CommonHttpClient {
public BaseResponse uploadCollectOrder(PostCollectOrderRequest postCollectOrderRequest) {
List<IoCollectOrder> collectOrderList = postCollectOrderRequest.getCollectOrderList();
if (CollUtil.isNotEmpty(collectOrderList)) {
log.error("collectOrderList"+collectOrderList);
for (IoCollectOrder ioCollectOrder : collectOrderList) {
String busType = ioCollectOrder.getBusType();
if (matchBusType(busType, buyType_3501)) {
optionUploadCollectOrder3501(ioCollectOrder);
} else if (matchBusType(busType, buyType_3502)) {
log.error("开始上传医保");
return optionUploadCollectOrder3502(ioCollectOrder);
} else if (matchBusType(busType, buyType_3505)) {
optionUploadCollectOrder3505(ioCollectOrder);

@ -75,9 +75,9 @@ public class YbClient {
req.setInput(data);
req.setSignNo(thrYbSetup.getSignNo());
log.info("【" + apiNo + "】医保接口请求参数:" + JSONObject.toJSONString(req));
log.error("【" + apiNo + "】医保接口请求参数:" + JSONObject.toJSONString(req));
ChsMedicalResponse resp = client.execute(req);
log.info("【" + apiNo + "】医保接口返回结果:" + JSONObject.toJSONString(resp));
log.error("【" + apiNo + "】医保接口返回结果:" + JSONObject.toJSONString(resp));
if(resp.getIsSuccess() == true
&& org.apache.commons.lang3.StringUtils.isNotEmpty(resp.getAppid())
&& "0".equals(resp.getInfCode())

Loading…
Cancel
Save