添加起始日期

beta-prop-all^2
路明慧 2 years ago
parent c6c88f56c2
commit 731962cc13
  1. 15
      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);