|
|
@@ -8,6 +8,7 @@ import com.ydtech.modules.order.components.gouren.GuorenRequestApiComponent;
|
|
|
import com.ydtech.modules.order.components.huatai.HuaTaiRequestApiComponents;
|
|
|
import com.ydtech.modules.order.components.yongcheng.YongchengRequestApiComponents;
|
|
|
import com.ydtech.modules.order.components.zijin.ZijinRequestApiComponents;
|
|
|
+import com.ydtech.modules.order.service.*;
|
|
|
import com.ydtech.modules.protocol.service.PtlAgreementAttributionService;
|
|
|
import com.ydtech.modules.protocol.service.PtlCrawlerApiService;
|
|
|
import com.ydtech.modules.xxl.service.BaseQueryStatusService;
|
|
|
@@ -24,37 +25,44 @@ public class QueryStatusFactory {
|
|
|
return new YongChengQueryStatusService(
|
|
|
(ConfigureParametersComponents) map.get("configureParametersComponents"),
|
|
|
(YongchengRequestApiComponents) map.get("yongchengRequestApiComponents"),
|
|
|
- (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"));
|
|
|
+ (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"),
|
|
|
+ (YongchengOrderApiService) map.get("yongchengOrderApiService"));
|
|
|
} else if (companyId.startsWith("DJPC1000000")) {
|
|
|
return new DaJiaQueryStatusService(
|
|
|
(ConfigureParametersComponents) map.get("configureParametersComponents"),
|
|
|
(DaJiaRequestApiComponents) map.get("daJiaRequestApiComponents"),
|
|
|
- (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"));
|
|
|
+ (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"),
|
|
|
+ (DaJiaOrderService) map.get("daJiaOrderService"));
|
|
|
} else if (companyId.startsWith("XDCX1000000")){
|
|
|
return new GuoRenQueryStatusService(
|
|
|
(ConfigureParametersComponents) map.get("configureParametersComponents"),
|
|
|
(GuorenRequestApiComponent) map.get("guorenRequestApiComponent"),
|
|
|
- (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"));
|
|
|
+ (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"),
|
|
|
+ (GuorenOrderApiService) map.get("guorenOrderApiService"));
|
|
|
} else if(companyId.startsWith("HTIC1000000")){
|
|
|
return new HuaTaiQueryStatusService(
|
|
|
(ConfigureParametersComponents) map.get("configureParametersComponents"),
|
|
|
(HuaTaiRequestApiComponents) map.get("huaTaiRequestApiComponents"),
|
|
|
- (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"));
|
|
|
+ (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"),
|
|
|
+ (HuaTaiOrderApiService) map.get("huaTaiOrderApiService"));
|
|
|
} else if(companyId.startsWith("ZMBX1000000")){
|
|
|
return new ZhongMeiQueryStatusService(
|
|
|
(ConfigureParametersComponents) map.get("configureParametersComponents"),
|
|
|
(ZhongmeiRequestApiComponents) map.get("zhongmeiRequestApiComponents"),
|
|
|
- (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"));
|
|
|
+ (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"),
|
|
|
+ (ZhongMeiOrderApiService) map.get("zhongMeiOrderApiService"));
|
|
|
} else if(companyId.startsWith("ZKIC1000000")){
|
|
|
return new ZijinQueryStatusService(
|
|
|
(ConfigureParametersComponents) map.get("configureParametersComponents"),
|
|
|
(ZijinRequestApiComponents) map.get("zijinRequestApiComponents"),
|
|
|
- (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"));
|
|
|
+ (PtlAgreementAttributionService) map.get("ptlAgreementAttributionService"),
|
|
|
+ (ZijinOrderApiService) map.get("zijinOrderApiService"));
|
|
|
} else if(companyId.startsWith("TPBX1000000") || companyId.startsWith("TPIC1000000") || companyId.startsWith("HBIC1000000") || companyId.startsWith("GPIC1000000") ||
|
|
|
companyId.startsWith("HNIC1000000") || companyId.startsWith("ZAPA1000000")){
|
|
|
- return new ReptileQueryStatusService(
|
|
|
+ return new InsCrawlerQueryStatusService(
|
|
|
(ConfigureParametersComponents) map.get("configureParametersComponents"),
|
|
|
(PtlCrawlerApiService) map.get("ptlCrawlerApiService"),
|
|
|
+ (InsCrawlerOrderComponents) map.get("insCrawlerOrderComponents"),
|
|
|
(InsCrawlerOrderComponents) map.get("insCrawlerOrderComponents"));
|
|
|
} else {
|
|
|
return null;
|