|
|
|
@ -742,7 +742,8 @@ public class ElephantInvoiceApiServiceImpl implements IInvoiceApiService { |
|
|
|
|
redinfo.setRedInfoStatus("0"); |
|
|
|
|
redinfo.setSellerName(companyservice.getSellername()); |
|
|
|
|
redinfo.setSellerTaxnum(companyservice.getSellertax()); |
|
|
|
|
redinfo.setBillInputTime(TimeUtil.dateFormat(new Date(), "yyyyMMddHHmmss")); |
|
|
|
|
// redinfo.setBillInputTime(TimeUtil.dateFormat(new Date(), "yyyyMMddHHmmss"));
|
|
|
|
|
redinfo.setBillInputTime(TimeUtil.dateFormat(new Date(), "yyyyMMdd")); |
|
|
|
|
List<Redinfodetail> redinfodetailList = redinfo.getRedinfodetailList(); |
|
|
|
|
BigDecimal taxfreeamt = new BigDecimal(0); // 不含税金额
|
|
|
|
|
BigDecimal tax = new BigDecimal(0); // 税额
|
|
|
|
@ -991,11 +992,17 @@ public class ElephantInvoiceApiServiceImpl implements IInvoiceApiService { |
|
|
|
|
queryJson.put("TKRQZ", downloadRedInfoDTO.getBillTimeEnd()); // 填开日期止,可空",
|
|
|
|
|
queryJson.put("GMFSBH", redInfoResult.getBuyerTaxnum()); // 购买方税号,可空",
|
|
|
|
|
queryJson.put("XHFSBH", redInfoResult.getSellerTaxnum()); // 销货方税号,可空",
|
|
|
|
|
queryJson.put("XXBBH", ""); // 信息表编号,可空",
|
|
|
|
|
|
|
|
|
|
queryJson.put("XXBBH", redinfo.getRedInfoNo()); // 信息表编号,可空",
|
|
|
|
|
// if (StringUtils.isNotEmpty(redInfoResult.getRedInfoNo())) {
|
|
|
|
|
// queryJson.put("XXBBH", redInfoResult.getRedInfoNo()); // 信息表编号,可空",
|
|
|
|
|
// }
|
|
|
|
|
queryJson.put("XXBFW", 0); // 信息表下载范围:0 全部;1 本企业申请;2 其它企业申请",
|
|
|
|
|
|
|
|
|
|
//kk TODO : 2023/9/6 V6新加字段
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int page = 1; |
|
|
|
|
queryJson.put("GS", 10); // 个数"
|
|
|
|
|
List<RedInfoDTO> resultDTO = new ArrayList<>(); |
|
|
|
|