|
|
|
@ -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);
|
|
|
|
|