纸质发票(数电纸质发票) 机动车销售统一发票(修改产地不存在补丁)适配2312_V2
This commit is contained in:
		
							parent
							
								
									cd69de508d
								
							
						
					
					
						commit
						4e603a5e86
					
				| 
						 | 
					@ -11,6 +11,7 @@ import nc.imag.basefactory.router.Sm4Util;
 | 
				
			||||||
import nc.imag.common.util.IJsonUtil;
 | 
					import nc.imag.common.util.IJsonUtil;
 | 
				
			||||||
import nc.impl.imag.taxfactory.einvoice.EInvoiceRequest;
 | 
					import nc.impl.imag.taxfactory.einvoice.EInvoiceRequest;
 | 
				
			||||||
import nc.itf.imag.basefactory.IFactoryRequest;
 | 
					import nc.itf.imag.basefactory.IFactoryRequest;
 | 
				
			||||||
 | 
					import nc.vo.imag.verify.InvoiceTypeEnum;
 | 
				
			||||||
import nc.vo.pub.BusinessException;
 | 
					import nc.vo.pub.BusinessException;
 | 
				
			||||||
import nc.vo.pub.BusinessRuntimeException;
 | 
					import nc.vo.pub.BusinessRuntimeException;
 | 
				
			||||||
import nccloud.commons.collections.MapUtils;
 | 
					import nccloud.commons.collections.MapUtils;
 | 
				
			||||||
| 
						 | 
					@ -165,7 +166,12 @@ class ApplyRequest extends EInvoiceRequest implements IFactoryRequest {
 | 
				
			||||||
            a.setJEHJ(getUFDoubleValue(p.getJehj()));
 | 
					            a.setJEHJ(getUFDoubleValue(p.getJehj()));
 | 
				
			||||||
            a.setCJH(p.getCjh());
 | 
					            a.setCJH(p.getCjh());
 | 
				
			||||||
            a.setKQYSSSXBGGLBM(p.getKqysssxbgglbm());
 | 
					            a.setKQYSSSXBGGLBM(p.getKqysssxbgglbm());
 | 
				
			||||||
 | 
					            //@特殊票种电子凭证@ end
 | 
				
			||||||
 | 
					            //机动车专票特殊处理
 | 
				
			||||||
 | 
					            if(String.valueOf(InvoiceTypeEnum.JDCZYFP.getTypeCode()).equals(p.getFplx())){
 | 
				
			||||||
 | 
					                a.setFPLX(imagToEInvoice(String.valueOf(InvoiceTypeEnum.ZZSZYFP.getTypeCode())));
 | 
				
			||||||
 | 
					                a.setTSPZ("12");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
            ApplyInvoiceDetail[] details = new ApplyInvoiceDetail[p.getItems().length];
 | 
					            ApplyInvoiceDetail[] details = new ApplyInvoiceDetail[p.getItems().length];
 | 
				
			||||||
            for (int j = 0; j < details.length; j++) {
 | 
					            for (int j = 0; j < details.length; j++) {
 | 
				
			||||||
                PInvoiceDetail pd = p.getItems()[j];
 | 
					                PInvoiceDetail pd = p.getItems()[j];
 | 
				
			||||||
| 
						 | 
					@ -196,6 +202,18 @@ class ApplyRequest extends EInvoiceRequest implements IFactoryRequest {
 | 
				
			||||||
                    motor.setCQZSBH(psd.getCqzsbh());
 | 
					                    motor.setCQZSBH(psd.getCqzsbh());
 | 
				
			||||||
                    motor.setJZFWFSD(psd.getJzfwfsd());
 | 
					                    motor.setJZFWFSD(psd.getJzfwfsd());
 | 
				
			||||||
                    motor.setJZXMMC(psd.getJzxmmc());
 | 
					                    motor.setJZXMMC(psd.getJzxmmc());
 | 
				
			||||||
 | 
					//					**************************************2024-07-11 新增 (增加数电纸质发票(机动车销售统一发票))
 | 
				
			||||||
 | 
					                    motor.setCD(psd.getCd());
 | 
				
			||||||
 | 
					                    motor.setCJHM(psd.getCjhm());
 | 
				
			||||||
 | 
					                    motor.setCLLX(psd.getCllx());
 | 
				
			||||||
 | 
					                    motor.setCPXH(psd.getCpxh());
 | 
				
			||||||
 | 
					                    motor.setSCQYMC(psd.getScqymc());
 | 
				
			||||||
 | 
					                    motor.setXCRS(psd.getXcrs());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                    motor.setHGZH(psd.getHgzh());
 | 
				
			||||||
 | 
					                    motor.setFDJHM(psd.getFdjhm());
 | 
				
			||||||
 | 
					                    motor.setDUWEI(psd.getDunwei());
 | 
				
			||||||
 | 
					//					***********************************************************************
 | 
				
			||||||
                    ad.setDetailMotor(motor);
 | 
					                    ad.setDetailMotor(motor);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                details[j] = ad;
 | 
					                details[j] = ad;
 | 
				
			||||||
| 
						 | 
					@ -1332,6 +1350,109 @@ class ApplyRequest extends EInvoiceRequest implements IFactoryRequest {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        //½¨Öþ·þÎñ·¢ÉúµØ
 | 
					        //½¨Öþ·þÎñ·¢ÉúµØ
 | 
				
			||||||
        private String JZFWFSD;
 | 
					        private String JZFWFSD;
 | 
				
			||||||
 | 
					        // 产地
 | 
				
			||||||
 | 
					        private String CD;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // 车架号码
 | 
				
			||||||
 | 
					        private String CJHM;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // 车辆类型
 | 
				
			||||||
 | 
					        private String CLLX;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // 产牌型号
 | 
				
			||||||
 | 
					        private String CPXH;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // 生产企业名称
 | 
				
			||||||
 | 
					        private String SCQYMC;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // 限乘人数
 | 
				
			||||||
 | 
					        private String XCRS;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        //合格证号
 | 
				
			||||||
 | 
					        private String HGZH;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        //发动机号码
 | 
				
			||||||
 | 
					        private String FDJHM;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        //吨位
 | 
				
			||||||
 | 
					        private String DUWEI;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public String getHGZH() {
 | 
				
			||||||
 | 
					            return HGZH;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void setHGZH(String HGZH) {
 | 
				
			||||||
 | 
					            this.HGZH = HGZH;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public String getFDJHM() {
 | 
				
			||||||
 | 
					            return FDJHM;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void setFDJHM(String FDJHM) {
 | 
				
			||||||
 | 
					            this.FDJHM = FDJHM;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public String getDUWEI() {
 | 
				
			||||||
 | 
					            return DUWEI;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void setDUWEI(String DUWEI) {
 | 
				
			||||||
 | 
					            this.DUWEI = DUWEI;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public String getCD() {
 | 
				
			||||||
 | 
					            return CD;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void setCD(String CD) {
 | 
				
			||||||
 | 
					            this.CD = CD;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public String getCJHM() {
 | 
				
			||||||
 | 
					            return CJHM;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void setCJHM(String CJHM) {
 | 
				
			||||||
 | 
					            this.CJHM = CJHM;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public String getCLLX() {
 | 
				
			||||||
 | 
					            return CLLX;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void setCLLX(String CLLX) {
 | 
				
			||||||
 | 
					            this.CLLX = CLLX;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public String getCPXH() {
 | 
				
			||||||
 | 
					            return CPXH;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void setCPXH(String CPXH) {
 | 
				
			||||||
 | 
					            this.CPXH = CPXH;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public String getSCQYMC() {
 | 
				
			||||||
 | 
					            return SCQYMC;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void setSCQYMC(String SCQYMC) {
 | 
				
			||||||
 | 
					            this.SCQYMC = SCQYMC;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public String getXCRS() {
 | 
				
			||||||
 | 
					            return XCRS;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void setXCRS(String XCRS) {
 | 
				
			||||||
 | 
					            this.XCRS = XCRS;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public String getCQZSBH() {
 | 
					        public String getCQZSBH() {
 | 
				
			||||||
            return CQZSBH;
 | 
					            return CQZSBH;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue