diff --git a/dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java b/dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java index 617373ac..3af388eb 100644 --- a/dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java +++ b/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()); }