From 731962cc137d3204c52c132ed6280bef25d6dff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=98=8E=E6=85=A7?= <1191093413@qq.com> Date: Fri, 3 Nov 2023 16:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B5=B7=E5=A7=8B=E6=97=A5?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/api/ElephantInvoiceApiV6ServiceImpl.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ServiceImpl.java b/jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ServiceImpl.java index 1949c80..8832042 100644 --- a/jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ServiceImpl.java +++ b/jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ServiceImpl.java @@ -41,6 +41,8 @@ import com.jianshui.invoice.domain.dto.api.elephant.sd.GetRpaAuthStatusDTO; import com.jianshui.invoice.domain.dto.api.elephant.sd.HZQRDMXLIST; import com.jianshui.invoice.domain.dto.api.elephant.sd.RedDownload; import com.jianshui.invoice.domain.dto.api.elephant.sd.RedUpload; +import com.jianshui.invoice.domain.dto.api.jcsk.CxhzJsonDataTwoDTO; +import com.jianshui.invoice.domain.dto.api.jcsk.CxhzTwoDTO; import com.jianshui.invoice.domain.ele.*; import com.jianshui.invoice.domain.vo.InvoiceAllQycodeResultElEVO; import com.jianshui.invoice.domain.vo.jcsk.*; @@ -2060,12 +2062,23 @@ public class ElephantInvoiceApiV6ServiceImpl implements IInvoiceApiService { }else if (WebServiceConstant.CXHZFPXXQRD.equals(finalServiceId)) { // 查询红字信息表 + CxhzJsonDataTwoDTO cxhzJsonDataTwoDTO = null; + try { + String sendMsg = allApiLog.getSendMsg(); + cxhzJsonDataTwoDTO= JSONObject.parseObject(sendMsg, CxhzTwoDTO.class).getJsonData(); + + }catch (Exception e){ + log.error("反序列化失败异常",e); + } JSONObject param = new JSONObject(); param.put(ElephantConstants.YHJSLX,ElephantConstants.STRING_0); param.put(ElephantConstants.XSFNSRSBH,companyservice.getSellertax()); param.put(ElephantConstants.XSFMC,companyservice.getSellername()); param.put(ElephantConstants.LRFSF,ElephantConstants.STRING_0); - //录入日期起始值 + param.put(ElephantConstants.LRRQQ,cxhzJsonDataTwoDTO.getKprqq()); + param.put(ElephantConstants.LRRQZ,cxhzJsonDataTwoDTO.getKprqz()); + + HXResponse hxResponse = queryRedConfirmationList(param, companyservice); HZXXLIST hzxxlist = JSONObject.parseObject(JSONObject.toJSONString(hxResponse.getData()), HZXXLIST.class);