字段修改

release
yishiqihuasheng 2 years ago
parent 946d1eead8
commit ae10da597b
  1. 9
      dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java

@ -679,16 +679,17 @@ public class SDNYMainProcessController extends AbstractController {
info.setZCCRZH(snInvoice.getIdcardNo()); info.setZCCRZH(snInvoice.getIdcardNo());
info.setZCPXH(snInvoice.getBrandModel()); info.setZCPXH(snInvoice.getBrandModel());
info.setZMHFZJJ(snInvoice.getCaacDevelopmentFund()); info.setZMHFZJJ(snInvoice.getCaacDevelopmentFund());
info.setZGFDH(snInvoice.getPurchaserAddressPhone());
if (snInvoice.getPurchaserAddressPhone() == "nullnull"){ if ("nullnull".equals(snInvoice.getPurchaserAddressPhone())){
info.setZGFDH(""); info.setZGFDH(snInvoice.getPurchaserAddressPhone());
// info.setZGFDH("");
} }
info.setZXFZH(snInvoice.getSalesBank()); info.setZXFZH(snInvoice.getSalesBank());
info.setZJYM(snInvoice.getCheckCode()); info.setZJYM(snInvoice.getCheckCode());
info.setZSJDH(snInvoice.getInspectionListNo()); info.setZSJDH(snInvoice.getInspectionListNo());
// info.setZYGC(""); // info.setZYGC("");
info.setZJSHJ(snInvoice.getAmountTax()); info.setZJSHJ(snInvoice.getAmountTax());
if (snInvoice.getAmountTax() == null && (info.getZFPLX() == "17"|| info.getZFPLX() == "18")){ if (snInvoice.getAmountTax() == null && ("17".equals(info.getZFPLX()) || "18".equals(info.getZFPLX()))){
info.setZJSHJ(snInvoice.getTotalAmount()); info.setZJSHJ(snInvoice.getTotalAmount());
} }

Loading…
Cancel
Save