feature: 不动产销售改为多行明细

beta-prop-all
dongxiaoke 7 months ago
parent 550d8a1d82
commit 3934ab3d57
  1. 19
      jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ByInspurServiceImpl.java
  2. 19
      jianshui-invoice/src/main/java/com/jianshui/invoice/service/impl/api/ElephantInvoiceApiV6ServiceImpl.java

@ -36,6 +36,7 @@ import com.jianshui.invoice.domain.*;
import com.jianshui.invoice.domain.dto.*; import com.jianshui.invoice.domain.dto.*;
import com.jianshui.invoice.domain.dto.api.*; import com.jianshui.invoice.domain.dto.api.*;
import com.jianshui.invoice.domain.dto.api.elephant.*; import com.jianshui.invoice.domain.dto.api.elephant.*;
import com.jianshui.invoice.domain.dto.api.elephant.addInvoice.Bdcxsxx;
import com.jianshui.invoice.domain.dto.api.elephant.sd.GetRpaAuthStatusDTO; 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.HZQRDMXLIST;
import com.jianshui.invoice.domain.dto.api.elephant.sd.RedDownload; import com.jianshui.invoice.domain.dto.api.elephant.sd.RedDownload;
@ -224,7 +225,14 @@ public class ElephantInvoiceApiV6ByInspurServiceImpl implements IInvoiceApiServi
if(billInfo.getBdcxsxxList() != null && !billInfo.getBdcxsxxList().isEmpty()){ if(billInfo.getBdcxsxxList() != null && !billInfo.getBdcxsxxList().isEmpty()){
qdtxx.setBDCXSXXLIST(billInfo.getBdcxsxxList()); // 不动产销售信息 List<Bdcxsxx> bdcxsxxList = billInfo.getBdcxsxxList();
int bdcXh = 1;
for (Bdcxsxx bdcxsxx : bdcxsxxList) {
bdcxsxx.setXH(String.valueOf(bdcXh));
bdcXh ++;
}
qdtxx.setBDCXSXXLIST(bdcxsxxList); // 不动产销售信息
} }
if(billInfo.getJzfwList() != null && !billInfo.getJzfwList().isEmpty()){ if(billInfo.getJzfwList() != null && !billInfo.getJzfwList().isEmpty()){
qdtxx.setJZFWXX(billInfo.getJzfwList().get(0));// 建筑服务信息 qdtxx.setJZFWXX(billInfo.getJzfwList().get(0));// 建筑服务信息
@ -3645,7 +3653,14 @@ public class ElephantInvoiceApiV6ByInspurServiceImpl implements IInvoiceApiServi
qdtxx.setHWYSLIST(billInfo.getHwysList()); // 货物运输 qdtxx.setHWYSLIST(billInfo.getHwysList()); // 货物运输
if(billInfo.getBdcxsxxList() != null && !billInfo.getBdcxsxxList().isEmpty()){ if(billInfo.getBdcxsxxList() != null && !billInfo.getBdcxsxxList().isEmpty()){
qdtxx.setBDCXSXXLIST(billInfo.getBdcxsxxList()); // 不动产销售信息 List<Bdcxsxx> bdcxsxxList = billInfo.getBdcxsxxList();
int bdcXh = 1;
for (Bdcxsxx bdcxsxx : bdcxsxxList) {
bdcxsxx.setXH(String.valueOf(bdcXh));
bdcXh ++;
}
qdtxx.setBDCXSXXLIST(bdcxsxxList); // 不动产销售信息
} }
if(billInfo.getJzfwList() != null && !billInfo.getJzfwList().isEmpty()){ if(billInfo.getJzfwList() != null && !billInfo.getJzfwList().isEmpty()){
qdtxx.setJZFWXX(billInfo.getJzfwList().get(0));// 建筑服务信息 qdtxx.setJZFWXX(billInfo.getJzfwList().get(0));// 建筑服务信息

@ -37,6 +37,7 @@ import com.jianshui.invoice.domain.*;
import com.jianshui.invoice.domain.dto.*; import com.jianshui.invoice.domain.dto.*;
import com.jianshui.invoice.domain.dto.api.*; import com.jianshui.invoice.domain.dto.api.*;
import com.jianshui.invoice.domain.dto.api.elephant.*; import com.jianshui.invoice.domain.dto.api.elephant.*;
import com.jianshui.invoice.domain.dto.api.elephant.addInvoice.Bdcxsxx;
import com.jianshui.invoice.domain.dto.api.elephant.addInvoice.Jzfwxx; import com.jianshui.invoice.domain.dto.api.elephant.addInvoice.Jzfwxx;
import com.jianshui.invoice.domain.dto.api.elephant.sd.GetRpaAuthStatusDTO; 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.HZQRDMXLIST;
@ -265,7 +266,14 @@ public class ElephantInvoiceApiV6ServiceImpl implements IInvoiceApiService {
qdtxx.setHWYSLIST(billInfo.getHwysList()); // 货物运输 qdtxx.setHWYSLIST(billInfo.getHwysList()); // 货物运输
if (billInfo.getBdcxsxxList() != null && !billInfo.getBdcxsxxList().isEmpty()) { if (billInfo.getBdcxsxxList() != null && !billInfo.getBdcxsxxList().isEmpty()) {
qdtxx.setBDCXSXXLIST(billInfo.getBdcxsxxList()); // 不动产销售信息 List<Bdcxsxx> bdcxsxxList = billInfo.getBdcxsxxList();
int bdcXh = 1;
for (Bdcxsxx bdcxsxx : bdcxsxxList) {
bdcxsxx.setXH(String.valueOf(bdcXh));
bdcXh ++;
}
qdtxx.setBDCXSXXLIST(bdcxsxxList); // 不动产销售信息
} }
if (billInfo.getJzfwList() != null && !billInfo.getJzfwList().isEmpty()) { if (billInfo.getJzfwList() != null && !billInfo.getJzfwList().isEmpty()) {
qdtxx.setJZFWXX(billInfo.getJzfwList().get(0));// 建筑服务信息 qdtxx.setJZFWXX(billInfo.getJzfwList().get(0));// 建筑服务信息
@ -3734,7 +3742,14 @@ public class ElephantInvoiceApiV6ServiceImpl implements IInvoiceApiService {
qdtxx.setHWYSLIST(billInfo.getHwysList()); // 货物运输 qdtxx.setHWYSLIST(billInfo.getHwysList()); // 货物运输
if (billInfo.getBdcxsxxList() != null && !billInfo.getBdcxsxxList().isEmpty()) { if (billInfo.getBdcxsxxList() != null && !billInfo.getBdcxsxxList().isEmpty()) {
qdtxx.setBDCXSXXLIST(billInfo.getBdcxsxxList()); // 不动产销售信息 List<Bdcxsxx> bdcxsxxList = billInfo.getBdcxsxxList();
int bdcXh = 1;
for (Bdcxsxx bdcxsxx : bdcxsxxList) {
bdcxsxx.setXH(String.valueOf(bdcXh));
bdcXh ++;
}
qdtxx.setBDCXSXXLIST(bdcxsxxList); // 不动产销售信息
} }
if (billInfo.getJzfwList() != null && !billInfo.getJzfwList().isEmpty()) { if (billInfo.getJzfwList() != null && !billInfo.getJzfwList().isEmpty()) {
qdtxx.setJZFWXX(billInfo.getJzfwList().get(0));// 建筑服务信息 qdtxx.setJZFWXX(billInfo.getJzfwList().get(0));// 建筑服务信息

Loading…
Cancel
Save