|
|
|
@ -1,17 +1,17 @@ |
|
|
|
|
package com.dxhy.order.consumer.handle;//package com.dxhy.order.consumer.handle;
|
|
|
|
|
//package com.dxhy.order.consumer.handle;
|
|
|
|
|
//
|
|
|
|
|
//import cn.hutool.core.util.ObjectUtil;
|
|
|
|
|
//import cn.hutool.core.util.RandomUtil;
|
|
|
|
|
//import com.dxhy.order.baseservice.config.BaseServiceConfig;
|
|
|
|
|
//import com.dxhy.order.baseservice.module.base.model.InvoiceWarningInfo;
|
|
|
|
|
//import com.dxhy.order.baseservice.module.base.service.YpWarningService;
|
|
|
|
|
//import com.dxhy.order.baseservice.module.thirdservice.itaxmsg.service.ItaxMsgService;
|
|
|
|
|
//import com.dxhy.order.baseservice.module.thirdservice.simsback.service.SimsBackService;
|
|
|
|
|
//import com.dxhy.order.baseservice.utils.HttpInvoiceRequestUtil;
|
|
|
|
|
//import com.dxhy.order.constant.ConfigureConstant;
|
|
|
|
|
//import com.dxhy.order.constant.OrderInfoEnum;
|
|
|
|
|
//import com.dxhy.order.constant.RedisConstant;
|
|
|
|
|
//import com.dxhy.order.invoice.config.InvoiceConfig;
|
|
|
|
|
//import com.dxhy.order.invoice.module.invoice.service.EmailService;
|
|
|
|
|
//import com.dxhy.order.invoice.utils.HttpInvoiceRequestUtil;
|
|
|
|
|
//import com.dxhy.order.model.sk.sld.SldKcByFjhResponseExtend;
|
|
|
|
|
//import com.dxhy.order.model.sk.sld.SldKcRequest;
|
|
|
|
|
//import com.dxhy.order.model.sk.sld.SldKcmxByFjh;
|
|
|
|
@ -36,7 +36,6 @@ package com.dxhy.order.consumer.handle;//package com.dxhy.order.consumer.handle; |
|
|
|
|
//import java.util.stream.Collectors;
|
|
|
|
|
//
|
|
|
|
|
///**
|
|
|
|
|
// * todo 转为基础服务提供服务
|
|
|
|
|
// * @Description 余票预警定时任务
|
|
|
|
|
// * @Author xieyuanqiang
|
|
|
|
|
// * @Date 11:09 2018-09-19
|
|
|
|
@ -56,7 +55,7 @@ package com.dxhy.order.consumer.handle;//package com.dxhy.order.consumer.handle; |
|
|
|
|
// @Resource
|
|
|
|
|
// private SimsBackService simsBackService;
|
|
|
|
|
// @Resource
|
|
|
|
|
// private InvoiceConfig invoiceConfig;
|
|
|
|
|
// private BaseServiceConfig baseServiceConfig;
|
|
|
|
|
//
|
|
|
|
|
// @Override
|
|
|
|
|
// public ReturnT<String> execute(String s) {
|
|
|
|
@ -109,9 +108,9 @@ package com.dxhy.order.consumer.handle;//package com.dxhy.order.consumer.handle; |
|
|
|
|
// kccxRequest.setFjh(request.split(ConfigureConstant.STRING_UNDERLINE)[1]);
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// String kcxxUrl = invoiceConfig.configQuerykcxxByFjh();
|
|
|
|
|
// String kcxxUrl = baseServiceConfig.configQuerykcxxByFjh();
|
|
|
|
|
// if (CommonUtils.judgeNewInterface(terminalCode)) {
|
|
|
|
|
// kcxxUrl = invoiceConfig.configQueryTaxpayerStockInfo();
|
|
|
|
|
// kcxxUrl = baseServiceConfig.configQueryTaxpayerStockInfo();
|
|
|
|
|
// }
|
|
|
|
|
// SldKcByFjhResponseExtend sldKcByFjhResponseExtend = HttpInvoiceRequestUtil.queryKcxxByFjh(kcxxUrl, kccxRequest, terminalCode);
|
|
|
|
|
// sldKcByFjhResponseExtendMap.put(request, sldKcByFjhResponseExtend);
|
|
|
|
|