字段修改

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.setZCPXH(snInvoice.getBrandModel());
info.setZMHFZJJ(snInvoice.getCaacDevelopmentFund());
info.setZGFDH(snInvoice.getPurchaserAddressPhone());
if (snInvoice.getPurchaserAddressPhone() == "nullnull"){
info.setZGFDH("");
if ("nullnull".equals(snInvoice.getPurchaserAddressPhone())){
info.setZGFDH(snInvoice.getPurchaserAddressPhone());
// info.setZGFDH("");
}
info.setZXFZH(snInvoice.getSalesBank());
info.setZJYM(snInvoice.getCheckCode());
info.setZSJDH(snInvoice.getInspectionListNo());
// info.setZYGC("");
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());
}

Loading…
Cancel
Save