فهرست منبع

无车优化,自有车接口返回

Administrator 3 سال پیش
والد
کامیت
dc68e9943f
25فایلهای تغییر یافته به همراه0 افزوده شده و 1891 حذف شده
  1. 0 74
      src/main/java/com/jkcredit/invoice/model/entity/B2bInvoiceApply.java
  2. 0 74
      src/main/java/com/jkcredit/invoice/model/entity/B2bInvoicePackage.java
  3. 0 167
      src/main/java/com/jkcredit/invoice/model/entity/B2bInvoiceQuery.java
  4. 0 35
      src/main/java/com/jkcredit/invoice/model/entity/Batch.java
  5. 0 76
      src/main/java/com/jkcredit/invoice/model/entity/BillEstimate.java
  6. 0 46
      src/main/java/com/jkcredit/invoice/model/entity/BillEstimateResult.java
  7. 0 103
      src/main/java/com/jkcredit/invoice/model/entity/BillRelationEstimate.java
  8. 0 91
      src/main/java/com/jkcredit/invoice/model/entity/CarEtcCard.java
  9. 0 89
      src/main/java/com/jkcredit/invoice/model/entity/CarFreeCarrierBillEnd.java
  10. 0 193
      src/main/java/com/jkcredit/invoice/model/entity/CarFreeCarrierBillStart.java
  11. 0 71
      src/main/java/com/jkcredit/invoice/model/entity/CarFreeCarrierRegister.java
  12. 0 15
      src/main/java/com/jkcredit/invoice/model/entity/Card.java
  13. 0 86
      src/main/java/com/jkcredit/invoice/model/entity/CardTrade.java
  14. 0 26
      src/main/java/com/jkcredit/invoice/model/entity/Charge.java
  15. 0 40
      src/main/java/com/jkcredit/invoice/model/entity/ConsumeQueue.java
  16. 0 83
      src/main/java/com/jkcredit/invoice/model/entity/Invoice.java
  17. 0 44
      src/main/java/com/jkcredit/invoice/model/entity/NumInvoice.java
  18. 0 17
      src/main/java/com/jkcredit/invoice/model/entity/Plate.java
  19. 0 36
      src/main/java/com/jkcredit/invoice/model/entity/RealCharge.java
  20. 0 39
      src/main/java/com/jkcredit/invoice/model/entity/Recharge.java
  21. 0 100
      src/main/java/com/jkcredit/invoice/model/entity/SearchInvoiceData.java
  22. 0 47
      src/main/java/com/jkcredit/invoice/model/entity/SearchInvoiceMsg.java
  23. 0 116
      src/main/java/com/jkcredit/invoice/model/entity/SearchInvoiceResult.java
  24. 0 116
      src/main/java/com/jkcredit/invoice/model/entity/SearchInvoiceResultTemp.java
  25. 0 107
      src/test/java/com/jkcredit/invoice/PlateNumberTest.java

+ 0 - 74
src/main/java/com/jkcredit/invoice/model/entity/B2bInvoiceApply.java

@@ -1,74 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description: 申请开票实体
- * @author: sunzhaoning
- * @create: 2019-06-19 11:56
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "申请开票实体")
-public class B2bInvoiceApply extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = 3455083280482203836L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 企业编号
-     */
-    @ApiModelProperty(value = "企业编号")
-    private String companyNum;
-
-    /**
-     * 卡号
-     */
-    @ApiModelProperty(value = "卡号")
-    private String cardId;
-
-    /**
-     * 车牌号
-     */
-    @ApiModelProperty(value = "车牌号")
-    private String plateNum;
-
-    /**
-     *申请 ID
-     */
-    @ApiModelProperty(value = "申请 ID")
-    private String applyId;
-
-    /**
-     *发票数量
-     */
-    @ApiModelProperty(value = "发票数量")
-    private Integer invoiceCount;
-
-    /**
-     * 发票金额
-     */
-    @ApiModelProperty(value = "发票金额")
-    private Long invoiceAmount;
-
-    /**
-     * 发票税额
-     */
-    @ApiModelProperty(value = "发票税额")
-    private Long invoiceTaxAmount;
-
-    /**
-     * 接收时间
-     */
-    @ApiModelProperty(value = "接收时间")
-    private String receiveTime;
-}

+ 0 - 74
src/main/java/com/jkcredit/invoice/model/entity/B2bInvoicePackage.java

@@ -1,74 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-06-21 10:03
- * @version: V1.0
- **/
-@Data
-@ApiModel("发票打包下载实体类")
-public class B2bInvoicePackage extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = 4525265651071975642L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 企业编号
-     */
-    @ApiModelProperty(value = "企业编号")
-    private String companyNum;
-
-    /**
-     * 企业名
-     */
-    @ApiModelProperty(value = "企业名")
-    private String companyName;
-
-    /**
-     * 发票开具月
-     */
-    @ApiModelProperty(value = "发票开具月")
-    private String makeMonth;
-
-    /**
-     * 发票明细下载链接
-     */
-    @ApiModelProperty(value = "发票明细下载链接")
-    private String csvUrl;
-
-    /**
-     * 发票打包pdf下载链接
-     */
-    @ApiModelProperty(value = "发票打包pdf下载链接")
-    private String pdfUrl;
-
-    /**
-     * 明细下载状态
-     */
-    @ApiModelProperty(value = "明细下载状态")
-    private Integer csvStatus;
-
-    /**
-     * 发票pdf打包状态
-     */
-    @ApiModelProperty(value = "发票pdf打包状态")
-    private Integer pdfStatus;
-
-    /**
-     * 发票打包批次
-     */
-    @ApiModelProperty(value = "发票打包批次")
-    private Integer type;
-}

+ 0 - 167
src/main/java/com/jkcredit/invoice/model/entity/B2bInvoiceQuery.java

@@ -1,167 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableField;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-06-19 16:04
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "已开票查询实体")
-public class B2bInvoiceQuery extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = -40568929592199065L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 企业编号
-     */
-    @ApiModelProperty(value = "企业编号")
-    private String companyNum;
-
-    /**
-     * 开始时间
-     */
-    @TableField(exist = false)
-    @ApiModelProperty(value = "开始时间")
-    private String startInvoiceMakeTime;
-
-    /**
-     * 结束时间
-     */
-    @TableField(exist = false)
-    @ApiModelProperty(value = "结束时间")
-    private String endInvoiceMakeTime;
-
-    /**
-     * etc卡号
-     */
-    @ApiModelProperty(value = "etc卡号")
-    private String cardId;
-
-    /**
-     * 车牌号
-     */
-    @ApiModelProperty(value = "车牌号")
-    private String plateNum;
-
-    /**
-     * 销方名称
-     */
-    @ApiModelProperty(value = "销方名称")
-    private String sellerName;
-
-    /**
-     * 销方税号
-     */
-    @ApiModelProperty(value = "销方税号")
-    private String sellerTaxpayerCode;
-
-    /**
-     * 发票号码
-     */
-    @ApiModelProperty(value = "发票号码")
-    private String invoiceNum;
-
-    /**
-     * 发票代码
-     */
-    @ApiModelProperty(value = "发票代码")
-    private String invoiceCode;
-
-    /**
-     * 发票类型
-     */
-    @ApiModelProperty(value = "发票类型")
-    private String invoiceType;
-
-    /**
-     * 发票 url
-     */
-    @ApiModelProperty(value = "发票 url")
-    private String invoiceUrl;
-
-    /**
-     * 开票时间
-     */
-    @ApiModelProperty(value = "开票时间")
-    private String invoiceMakeTime;
-
-    /**
-     * 发票板式文件 url
-     */
-    @ApiModelProperty(value = "发票板式文件url")
-    private String invoiceHtmlUrl;
-
-    /**
-     * 发票金额
-     */
-    @ApiModelProperty(value = "发票金额")
-    private Long amount;
-
-    /**
-     * 发票价税合计
-     */
-    @ApiModelProperty(value = "发票价税合计")
-    private Long totalAmount;
-
-    /**
-     * 发票税额
-     */
-    @ApiModelProperty(value = "发票税额")
-    private Long totalTaxAmount;
-
-    /**
-     * 税率
-     */
-    @ApiModelProperty(value = "税率")
-    private String taxRate;
-
-    /**
-     * 入口收费站
-     */
-    @ApiModelProperty(value = "入口收费站")
-    private String enStationName;
-
-    /**
-     * 出口收费站
-     */
-    @ApiModelProperty(value = "出口收费站")
-    private String exStationName;
-
-    /**
-     * 交易时间
-     */
-    @ApiModelProperty(value = "交易时间")
-    private String exTime;
-
-    /**
-     * 交易金额
-     */
-    @ApiModelProperty(value = "交易金额")
-    private Long fee;
-
-    /**
-     * 交易 Id
-     */
-    @ApiModelProperty(value = "交易 Id")
-    private String tradeId;
-
-    /**
-     * 车型
-     */
-    @ApiModelProperty(value = "车型")
-    private Integer vehicleType;
-}

+ 0 - 35
src/main/java/com/jkcredit/invoice/model/entity/Batch.java

@@ -1,35 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-05-30 11:46
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "批次实体")
-public class Batch extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = 4114952449282051115L;
-
-    private String id;
-
-    /**
-     * 批次号
-     */
-    @ApiModelProperty(value = "批次号")
-    private String batchNumber;
-
-    /**
-     * 类型
-     */
-    @ApiModelProperty(value = "类型")
-    private Integer type;
-}

+ 0 - 76
src/main/java/com/jkcredit/invoice/model/entity/BillEstimate.java

@@ -1,76 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import cn.afterturn.easypoi.excel.annotation.Excel;
-import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-import java.util.Date;
-
-/**
- * @description: 运单预估
- * @author: sunzhaoning
- * @create: 2019-07-18 16:37
- * @version: V1.0
- **/
-@Data
-@ExcelTarget("BillEstimate")
-public class BillEstimate implements Serializable {
-
-    private static final long serialVersionUID = 4069610954703329530L;
-
-    /**
-     * 运单编号
-     */
-    @Excel(name = "运单编号")
-    private String num;
-
-    /**
-     * 车牌号
-     */
-    @Excel(name = "车牌号码")
-    private String plateNum;
-
-    /**
-     * 车牌颜色
-     */
-    @Excel(name = "车牌颜色")
-    private String plateColor;
-
-    /**
-     * 运单开始地址
-     */
-    @Excel(name = "运单开始地址")
-    private String sourceAddr;
-
-    /**
-     * 运单目的地址
-     */
-    @Excel(name = "运单目的地址")
-    private String destAddr;
-
-    /**
-     * 开始时间
-     */
-    @Excel(name = "运单开始时间")
-    private Date startTime;
-
-    /**
-     * 结束时间
-     */
-    @Excel(name = "运单预计完成时间")
-    private Date endTime;
-
-    /**
-      * 运单费用
-     */
-    @Excel(name = "运单费用")
-    private Double fee;
-
-    /**
-     * 税号
-     */
-    @Excel(name = "税号")
-    private String taxPlayerCode;
-}

+ 0 - 46
src/main/java/com/jkcredit/invoice/model/entity/BillEstimateResult.java

@@ -1,46 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import cn.afterturn.easypoi.excel.annotation.Excel;
-import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description: 运单预估结果
- * @author: sunzhaoning
- * @create: 2019-07-18 16:37
- * @version: V1.0
- **/
-@Data
-@ExcelTarget("BillEstimateResult")
-public class BillEstimateResult implements Serializable {
-
-    private static final long serialVersionUID = 5117145893747517818L;
-
-    private Long id;
-
-    /**
-     * 车牌号
-     */
-    @Excel(name = "车牌号")
-    private String plateNum;
-
-    /**
-     * 交易时间
-     */
-    @Excel(name = "交易时间")
-    private String exTime;
-
-    /**
-     * 税额
-     */
-    @Excel(name = "税额")
-    private Double totalTaxAmount;
-
-    /**
-     * 价税合计
-     */
-    @Excel(name = "价税合计")
-    private Double totalAmount;
-}

+ 0 - 103
src/main/java/com/jkcredit/invoice/model/entity/BillRelationEstimate.java

@@ -1,103 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import cn.afterturn.easypoi.excel.annotation.Excel;
-import lombok.Data;
-
-import java.io.Serializable;
-import java.math.BigDecimal;
-
-/**
- * @description: 运单关联预估
- * @author: sunzhaoning
- * @create: 2019-07-18 16:38
- * @version: V1.0
- **/
-@Data
-public class BillRelationEstimate implements Serializable {
-
-    private static final long serialVersionUID = -8589216617299856414L;
-
-    private Long id;
-
-    /**
-     * 运单编号
-     */
-    @Excel(name = "运单编号")
-    private String num;
-
-    /**
-     * 车牌号
-     */
-    @Excel(name = "车牌号码")
-    private String plateNum;
-
-    /**
-     * 车牌颜色
-     */
-    @Excel(name = "车牌颜色")
-    private String plateColor;
-
-    /**
-     * 运单开始地址
-     */
-    @Excel(name = "运单开始地址")
-    private String sourceAddr;
-
-    /**
-     * 运单目的地址
-     */
-    @Excel(name = "运单目的地址")
-    private String destAddr;
-
-    /**
-     * 开始时间
-     */
-    @Excel(name = "运单开始时间")
-    private String startTime;
-
-    /**
-     * 结束时间
-     */
-    @Excel(name = "运单预计完成时间")
-    private String endTime;
-
-    /**
-     * 交易时间
-     */
-    @Excel(name = "交易时间")
-    private String exTime;
-
-    /**
-     * 税额
-     */
-    @Excel(name = "税额")
-    private Double totalTaxAmount;
-
-    /**
-     * 价税合计
-     */
-    @Excel(name = "价税合计")
-    private Double totalAmount;
-
-    /**
-     * 运单费用
-     */
-    @Excel(name = "运单费用")
-    private Double fee;
-
-    /**
-     * 税号
-     */
-    @Excel(name = "税号")
-    private String taxPlayerCode;
-
-    /**
-     * 重复的条数
-     */
-    private int totalCount = 1;
-
-    /**
-     * 重复的条数的税率相加的和
-     */
-    private BigDecimal all;
-}

+ 0 - 91
src/main/java/com/jkcredit/invoice/model/entity/CarEtcCard.java

@@ -1,91 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-import java.util.List;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-06-17 14:08
- * @version: V1.0
- **/
-@Data
-@ApiModel("ect卡信息表")
-public class CarEtcCard extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = -1173191789389501238L;
-
-    @TableId(type = IdType.AUTO)
-    private String id;
-
-    /**
-     * 企业编号
-     */
-    @ApiModelProperty(value = "企业编号")
-    private String companyNum;
-
-    /**
-     * 绑定手机号
-     */
-    @ApiModelProperty(value = "绑定手机号")
-    private String mobile;
-
-    /**
-     * 省份
-     */
-    @ApiModelProperty(value = "省份")
-    private Integer province;
-
-    /**
-     * 卡类型
-     */
-    @ApiModelProperty(value = "卡类型")
-    private Integer cardType;
-
-    /**
-     * 车辆类型
-     */
-    @ApiModelProperty(value = "车辆类型")
-    private Integer vehicleType;
-
-    /**
-     * 车牌号
-     */
-    @ApiModelProperty(value = "车牌号")
-    private String plateNum;
-
-    /**
-     * 车牌颜色
-     */
-    @ApiModelProperty(value = "车牌颜色")
-    private Integer plateColor;
-
-    /**
-     * 卡号
-     */
-    @ApiModelProperty(value = "卡号id")
-    private String cardId;
-
-    /**
-     * ETC卡号
-     */
-    @ApiModelProperty(value = "ETC卡号")
-    private String etcCardId;
-
-    /**
-     * 绑定时间
-     */
-    @ApiModelProperty(value = "绑定时间")
-    private String bindTime;
-
-    private List<Plate> vehicleList;
-
-    private List<Card> cardList;
-}

+ 0 - 89
src/main/java/com/jkcredit/invoice/model/entity/CarFreeCarrierBillEnd.java

@@ -1,89 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import cn.afterturn.easypoi.excel.annotation.Excel;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-import java.util.Date;
-
-/**
- * @description: 运单结束实体
- * @author: sunzhaoning
- * @create: 2019-05-31 10:19
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "运单结束实体类")
-public class CarFreeCarrierBillEnd  extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = -6567386776965435129L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 运单编号
-     */
-    @Excel(name = "运单编号")
-    @ApiModelProperty(value = "运单编号")
-    private String num;
-
-    /**
-     * 运单实际目的地址
-     */
-    @Excel(name = "运单目的地址")
-    @ApiModelProperty(value = "运单实际目的地址")
-    private String realDestAddr;
-
-    /**
-     * 运单实际结束时间
-     */
-    @Excel(name = "运单实际结束时间",format="yyyy-MM-dd HH:mm:ss",databaseFormat = "yyyy-MM-dd HH:mm:ss")
-    @ApiModelProperty(value = "运单实际结束时间")
-    private Date billEndTime;
-
-    /**
-     * 结束时间
-     */
-    @Excel(name = "结束时间")
-    @ApiModelProperty(value = "结束时间")
-    private String endTime;
-
-    /**
-     * 开票时长
-     */
-    @Excel(name = "开票时长")
-    @ApiModelProperty(value = "开票时长")
-    private Integer invoiceTime;
-
-    /**
-     * 是否成功
-     */
-    @ApiModelProperty(value = "是否成功")
-    private Integer isSuccess;
-
-    /**
-     * 批次号
-     */
-    @ApiModelProperty(value = "批次号")
-    private String batchNumber;
-
-    /**
-     * 批次id
-     */
-    @ApiModelProperty(value = "批次id")
-    private String batchId;
-
-    /**
-     * 是否为历史运单
-     */
-    @ApiModelProperty(value = "是否为历史运单")
-    private Integer isHistory;
-
-    private String errorMsg;
-}

+ 0 - 193
src/main/java/com/jkcredit/invoice/model/entity/CarFreeCarrierBillStart.java

@@ -1,193 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import cn.afterturn.easypoi.excel.annotation.Excel;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description: 运单结束
- * @author: sunzhaoning
- * @create: 2019-05-31 09:50
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "运单开始实体类")
-public class CarFreeCarrierBillStart extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = 5874389369371443058L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 运单编号
-     */
-    @Excel(name = "运单编号")
-    @ApiModelProperty(value = "运单编号")
-    private String num;
-    /**
-     * 车牌号
-     */
-    @Excel(name = "车牌号码")
-    @ApiModelProperty(value = "车牌号码")
-    private String plateNumber;
-
-    /**
-     * 车牌颜色
-     */
-    @Excel(name = "车牌颜色")
-    @ApiModelProperty(value = "车牌颜色")
-    private String plateColor;
-
-    /**
-     * 运单开始时间
-     */
-    @Excel(name = "运单开始时间")
-    @ApiModelProperty(value = "运单开始时间")
-    private String startTime;
-
-    /**
-     * 运单开始地址
-     */
-    @Excel(name = "运单开始地址")
-    @ApiModelProperty(value = "运单开始地址")
-    private String sourceAddr;
-
-    /**
-     * 运单目的地址
-     */
-    @Excel(name = "运单目的地址")
-    @ApiModelProperty(value = "运单目的地址")
-    private String destAddr;
-
-    /**
-     * 运单预计完成时间
-     */
-    @Excel(name = "运单预计完成时间")
-    @ApiModelProperty(value = "运单预计完成时间")
-    private String predictEndTime;
-
-    /**
-     * 运单费用
-     */
-    @Excel(name = "运单费用")
-    @ApiModelProperty(value = "运单费用")
-    private Long fee;
-
-    /**
-     * 发票抬头类型
-     */
-    @ApiModelProperty(value = "发票抬头类型")
-    private Integer titleType;
-
-    /**
-     * 税号
-     */
-    @Excel(name = "税号")
-    @ApiModelProperty(value = "税号")
-    private String taxPlayerCode;
-
-    /**
-     * 发票抬头名称
-     */
-    @ApiModelProperty(value = "发票抬头名称")
-    private String name;
-
-    /**
-     * 单位地址
-     */
-    @ApiModelProperty(value = "单位地址")
-    private String address;
-
-    /**
-     * 电话
-     */
-    @ApiModelProperty(value = "电话")
-    private String tel;
-
-    /**
-     * 开户行
-     */
-    @ApiModelProperty(value = "开户行")
-    private String bank;
-
-    /**
-     * 开户行账号
-     */
-    @ApiModelProperty(value = "开户行账号")
-    private String bankAccount;
-
-    /**
-     * 是否成功
-     */
-    @ApiModelProperty(value = "是否成功")
-    private Integer isSuccess;
-
-    /**
-     * 批次号
-     */
-    @ApiModelProperty(value = "批次号")
-    private String batchNumber;
-
-    /**
-     * 批次id
-     */
-    @ApiModelProperty(value = "批次id")
-    private String batchId;
-
-    /**
-     * 运单状态
-     */
-    @Excel(name = "运单状态(1:未结束,2:已结束运单,3:已开发票,4:开票中)")
-    @ApiModelProperty(value = "运单状态")
-    private Integer status;
-
-    /**
-     * 是否为历史运单
-     */
-    @ApiModelProperty(value = "是否为历史运单")
-    private Integer isHistory;
-
-    /**
-     * 是否导出
-     */
-    @ApiModelProperty(value = "是否导出 1已导出,2未导出")
-    private Integer isExport;
-
-    /**
-     * 创建时间开始区间
-     */
-    private String createStartTime;
-    /**
-     * 创建时间结束区间
-     */
-    private String createEndTime;
-
-    /**
-     * 运单查询开始时间区间
-     */
-    private String billStartTime;
-    /**
-     * 运单查询结束时间区间
-     */
-    private String billEndTime;
-
-    /**
-     * 是否自动开票标记
-     */
-    private Integer autoFlag;
-
-    /**
-     * 是否遗留数据:1(不是遗留数据)2(是遗留数据)
-     */
-    @ApiModelProperty(value = "是否遗留数据:1(不是遗留数据)2(是遗留数据)")
-    private Integer isLegacyData;
-
-    private String errorMsg;
-}

+ 0 - 71
src/main/java/com/jkcredit/invoice/model/entity/CarFreeCarrierRegister.java

@@ -1,71 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import cn.afterturn.easypoi.excel.annotation.Excel;
-import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-05-30 11:47
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "车辆备案")
-@ExcelTarget("carFreeCarrierRegister")
-public class CarFreeCarrierRegister extends BaseEntity implements Serializable {
-    private static final long serialVersionUID = -2043980490661881979L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 车牌号
-     */
-    @Excel(name = "车牌号码")
-    @ApiModelProperty(value = "车牌号")
-    private String plateNumber;
-
-    /**
-     * 车牌颜色
-     */
-    @Excel(name = "车牌颜色")
-    @ApiModelProperty(value = "车牌颜色")
-    private String plateColor;
-
-    /**
-     * 是否备案成功
-     */
-    @ApiModelProperty(value = "是否备案成功")
-    private Integer isSuccess;
-
-    /**
-     * 错误信息
-     */
-    @Excel(name = "备案结果")
-    @ApiModelProperty(value = "错误信息")
-    private String errorMsg;
-
-    /**
-     * 批次号
-     */
-    @ApiModelProperty(value = "批次号")
-    private String batchNumber;
-
-    /**
-     * 批次id
-     */
-    @ApiModelProperty(value = "批次id")
-    private String batchId;
-
-    private Long startTime;
-
-    private Long endTime;
-}

+ 0 - 15
src/main/java/com/jkcredit/invoice/model/entity/Card.java

@@ -1,15 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import lombok.Data;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-06-20 11:08
- * @version: V1.0
- **/
-@Data
-public class Card {
-
-    private String cardId;
-}

+ 0 - 86
src/main/java/com/jkcredit/invoice/model/entity/CardTrade.java

@@ -1,86 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description: 交易信息实体
- * @author: sunzhaoning
- * @create: 2019-06-19 09:51
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "交易信息实体")
-public class CardTrade extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = -8605072741219029942L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 企业编号
-     */
-    @ApiModelProperty(value = "企业编号")
-    private String companyNum;
-
-    /**
-     * 卡号
-     */
-    @ApiModelProperty(value = "卡号")
-    private String cardId;
-
-    /**
-     * 车牌号
-     */
-    @ApiModelProperty(value = "车牌号")
-    private String plateNum;
-
-    /**
-     * 状态
-     */
-    @ApiModelProperty(value = "状态")
-    private Integer tradeStatus;
-
-    /**
-     * 开始时间
-     */
-    @ApiModelProperty(value = "开始时间")
-    private String startExTime;
-
-    /**
-     * 结束时间
-     */
-    @ApiModelProperty(value = "结束时间")
-    private String endExTime;
-
-    /**
-     * 交易id
-     */
-    @ApiModelProperty(value = "交易id")
-    private String tradeId;
-
-    /**
-     * 交易时间
-     */
-    @ApiModelProperty(value = "交易时间")
-    private String exTime;
-
-    /**
-     * 交易金额
-     */
-    @ApiModelProperty(value = "交易金额")
-    private Long fee;
-
-    /**
-     * 是否成功
-     */
-    @ApiModelProperty(value = "是否请求成功")
-    private Integer isSuccess;
-}

+ 0 - 26
src/main/java/com/jkcredit/invoice/model/entity/Charge.java

@@ -1,26 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-/**
- * @description:
- * @author: xusonglin
- * @create: 2019/12/11 13:44
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "消息队列扣款列表")
-public class Charge {
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 用户id
-     */
-    @ApiModelProperty(value = "用户id")
-    private String userId;
-}

+ 0 - 40
src/main/java/com/jkcredit/invoice/model/entity/ConsumeQueue.java

@@ -1,40 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-/**
- * @description:
- * @author: xusonglin
- * @create: 2019/12/11 11:52
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "消息队列消费列表")
-public class ConsumeQueue {
-    private static final long serialVersionUID = -526324944915280489L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 用户id
-     */
-    @ApiModelProperty(value = "用户id")
-    private String userId;
-
-    /**
-     * 发票流水号
-     */
-    @ApiModelProperty(value = "用户id")
-    private String transactionId;
-
-    /**
-     * 运单号
-     */
-    @ApiModelProperty(value = "运单号")
-    private String wayBillNum;
-}

+ 0 - 83
src/main/java/com/jkcredit/invoice/model/entity/Invoice.java

@@ -1,83 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description: 发票实体
- * @author: sunzhaoning
- * @create: 2019-05-30 08:55
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "发票实体")
-public class Invoice extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = 2287864395092918879L;
-
-    /**
-     * 标识id
-     */
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 发票抬头
-     */
-    @ApiModelProperty(value = "发票抬头")
-    private String company;
-
-    /**
-     * 税号
-     */
-    @ApiModelProperty(value = "税号")
-    private String dutyParagraph;
-
-    /**
-     * 银行账号
-     */
-    @ApiModelProperty(value = "银行账号")
-    private String bankNumber;
-
-    /**
-     * 开户行
-     */
-    @ApiModelProperty(value = "开户行")
-    private String bankAddress;
-
-    /**
-     * 公司地址
-     */
-    @ApiModelProperty(value = "公司地址")
-    private String address;
-
-    /**
-     * 经营范围
-     */
-    @ApiModelProperty(value = "经营范围")
-    private String operatingRangeType;
-
-    /**
-     * 购方电话
-     */
-    @ApiModelProperty(value = "购方电话")
-    private String buyerTel;
-
-    /**
-     * 联系人
-     */
-    @ApiModelProperty(value = "联系人")
-    private String contact;
-
-    /**
-     * 联系人电话
-     */
-    @ApiModelProperty(value = "联系人电话")
-    private String contactTel;
-}

+ 0 - 44
src/main/java/com/jkcredit/invoice/model/entity/NumInvoice.java

@@ -1,44 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import cn.afterturn.easypoi.excel.annotation.Excel;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-06-03 08:57
- * @version: V1.0
- **/
-@Data
-public class NumInvoice extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = 1077775202676468049L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    @Excel(name = "运单编号")
-    @ApiModelProperty(value = "运单号")
-    private String num;
-
-    @ApiModelProperty(value = "是否请求成功")
-    private Integer isSuccess;
-
-    /**
-     * 批次号
-     */
-    @ApiModelProperty(value = "批次号")
-    private String batchNumber;
-
-    /**
-     * 批次id
-     */
-    @ApiModelProperty(value = "批次id")
-    private String batchId;
-}

+ 0 - 17
src/main/java/com/jkcredit/invoice/model/entity/Plate.java

@@ -1,17 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import lombok.Data;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-06-20 10:08
- * @version: V1.0
- **/
-@Data
-public class Plate {
-
-    private String plateNum;
-
-    private Integer plateColor;
-}

+ 0 - 36
src/main/java/com/jkcredit/invoice/model/entity/RealCharge.java

@@ -1,36 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import io.swagger.annotations.ApiModel;
-import lombok.Data;
-import lombok.ToString;
-
-import java.io.Serializable;
-
-/**
- * @description:
- * @author: xusonglin
- * @create: 2020/5/25 9:39
- * @version: V1.0
- **/
-@Data
-@ToString
-@ApiModel(value = "实际计费记录")
-public class RealCharge implements Serializable {
-
-    private static final long serialVersionUID = -315611646175785315L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    private Integer userId;
-
-    private String num;
-
-    private Long price;
-
-    private String transactionId;
-
-    private Long createTime;
-}

+ 0 - 39
src/main/java/com/jkcredit/invoice/model/entity/Recharge.java

@@ -1,39 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-05-30 10:39
- * @version: V1.0
- **/
-@Data
-@ApiModel(value = "充值记录实体")
-public class Recharge extends BaseEntity implements Serializable {
-
-    private static final long serialVersionUID = -2368035888962889457L;
-
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    /**
-     * 充值余额
-     */
-    @ApiModelProperty(value = "充值前余额")
-    private Long beforeMoney;
-
-    /**
-     * 充值金额
-     */
-    @ApiModelProperty(value = "充值金额")
-    private Long money;
-
-}

+ 0 - 100
src/main/java/com/jkcredit/invoice/model/entity/SearchInvoiceData.java

@@ -1,100 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-@Data
-public class SearchInvoiceData extends BaseEntity implements Serializable {
-    private static final long serialVersionUID = 2287864395092918879L;
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    @ApiModelProperty(value = "发票号码")
-    private String invoiceNum;
-
-    @ApiModelProperty(value = "发票代码")
-    private String invoiceCode;
-
-    @ApiModelProperty(value = "开票时间")
-    private String invoiceMakeTime;
-
-    @ApiModelProperty(value = "发票url")
-    private String invoiceUrl;
-
-    @ApiModelProperty(value = "发票模板url")
-    private String invoiceHtmlUrl;
-
-    @ApiModelProperty(value = "入口收费站")
-    private String enStation;
-
-    @ApiModelProperty(value = "出口收费站")
-    private String exStation;
-
-    @ApiModelProperty(value = "交易时间")
-    private String exTime;
-
-    @ApiModelProperty(value = "交易金额")
-    private int fee;
-
-    @ApiModelProperty(value = "税额")
-    private int totalTaxAmount;
-
-    @ApiModelProperty(value = "车牌号")
-    private String plateNum;
-
-    @ApiModelProperty(value = "车型")
-    private int vehicleType;
-
-    @ApiModelProperty(value = "运单编号")
-    private String waybillNum;
-
-    @ApiModelProperty(value = "运单状态")
-    private int waybillStatus;
-
-    @ApiModelProperty(value = "运单开始时间")
-    private String waybillStartTime;
-
-    @ApiModelProperty(value = "运单结束时间")
-    private String waybillEndTime;
-
-    @ApiModelProperty(value = "价税合计")
-    private int totalAmount;
-
-    @ApiModelProperty(value = "税率")
-    private double taxRate;
-
-    @ApiModelProperty(value = "发票种类")
-    private String invoiceType;
-
-    @ApiModelProperty(value = "金额")
-    private int amount;
-
-    @ApiModelProperty(value = "销方名称")
-    private String sellerName;
-
-    @ApiModelProperty(value = "销方税号")
-    private String sellerTaxpayerCode;
-
-    @ApiModelProperty(value = "交易id")
-    private String transactionId;
-
-    @ApiModelProperty(value = "id")
-    private Integer numInvoiceId;
-
-    @ApiModelProperty(value = "运单号")
-    private String num;
-
-    @ApiModelProperty(value = "是否请求成功")
-    private Integer isSuccess;
-
-    @ApiModelProperty(value = "批次号")
-    private String batchNumber;
-
-    @ApiModelProperty(value = "批次id")
-    private String batchId;
-}

+ 0 - 47
src/main/java/com/jkcredit/invoice/model/entity/SearchInvoiceMsg.java

@@ -1,47 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-import java.util.List;
-
-@Data
-@ApiModel(value = "运单号查询发票数据")
-public class SearchInvoiceMsg extends BaseEntity implements Serializable {
-    private static final long serialVersionUID = 2287864395092918879L;
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    @ApiModelProperty(value = "信息")
-    private String info;
-
-    @ApiModelProperty(value = "接收时间")
-    private String receiveTime;
-
-    @ApiModelProperty(value = "数据列表")
-    private List<SearchInvoiceResult> result;
-
-    @ApiModelProperty(value = "车牌")
-    private String plateNum;
-
-    @ApiModelProperty(value = "车型")
-    private int vehicleType;
-
-    @ApiModelProperty(value = "运单编号")
-    private String waybillNum;
-
-    @ApiModelProperty(value = "运单状态")
-    private int waybillStatus;
-
-    @ApiModelProperty(value = "运单开始时间")
-    private String waybillStartTime;
-
-    @ApiModelProperty(value = "运单结束时间")
-    private String waybillEndTime;
-
-}

+ 0 - 116
src/main/java/com/jkcredit/invoice/model/entity/SearchInvoiceResult.java

@@ -1,116 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import cn.afterturn.easypoi.excel.annotation.Excel;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-@Data
-@ApiModel(value = "运单号查询发票数据")
-public class SearchInvoiceResult extends BaseEntity implements Serializable {
-    private static final long serialVersionUID = 2287864395092918879L;
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    @Excel(name = "发票号码")
-    @ApiModelProperty(value = "发票号码")
-    private String invoiceNum;
-
-    @Excel(name = "发票代码")
-    @ApiModelProperty(value = "发票代码")
-    private String invoiceCode;
-
-    @Excel(name = "开票时间")
-    @ApiModelProperty(value = "开票时间")
-    private String invoiceMakeTime;
-
-    @Excel(name = "下载地址")
-    @ApiModelProperty(value = "发票url")
-    private String invoiceUrl;
-
-    @ApiModelProperty(value = "发票模板url")
-    private String invoiceHtmlUrl;
-
-    @Excel(name = "入口收费站")
-    @ApiModelProperty(value = "入口收费站")
-    private String enStation;
-
-    @Excel(name = "出口收费站")
-    @ApiModelProperty(value = "出口收费站")
-    private String exStation;
-
-    @Excel(name = "交易时间")
-    @ApiModelProperty(value = "交易时间")
-    private String exTime;
-
-    @Excel(name = "交易金额")
-    @ApiModelProperty(value = "交易金额")
-    private Long fee;
-
-    @Excel(name = "税额")
-    @ApiModelProperty(value = "税额")
-    private Long totalTaxAmount;
-
-    @Excel(name = "车牌号")
-    @ApiModelProperty(value = "车牌号")
-    private String plateNum;
-
-    @Excel(name = "车型")
-    @ApiModelProperty(value = "车型")
-    private int vehicleType;
-
-    @Excel(name = "运单编号")
-    @ApiModelProperty(value = "运单编号")
-    private String waybillNum;
-
-    @Excel(name = "运单状态")
-    @ApiModelProperty(value = "运单状态")
-    private int waybillStatus;
-
-    @Excel(name = "运单开始时间")
-    @ApiModelProperty(value = "运单开始时间")
-    private String waybillStartTime;
-
-    @Excel(name = "运单结束时间")
-    @ApiModelProperty(value = "运单结束时间")
-    private String waybillEndTime;
-
-    @Excel(name = "价税合计")
-    @ApiModelProperty(value = "价税合计")
-    private Long totalAmount;
-
-    @Excel(name = "税率")
-    @ApiModelProperty(value = "税率")
-    private double taxRate;
-
-    @Excel(name = "发票种类")
-    @ApiModelProperty(value = "发票种类")
-    private String invoiceType;
-
-    @Excel(name = "金额")
-    @ApiModelProperty(value = "金额")
-    private Long amount;
-
-    @Excel(name = "销方名称")
-    @ApiModelProperty(value = "销方名称")
-    private String sellerName;
-
-    @Excel(name = "销方税号")
-    @ApiModelProperty(value = "销方税号")
-    private String sellerTaxpayerCode;
-
-    @Excel(name = "交易id")
-    @ApiModelProperty(value = "交易id")
-    private String transactionId;
-
-    private Long startTime;
-
-    private Long endTime;
-
-    private String taxPlayerCode;
-}

+ 0 - 116
src/main/java/com/jkcredit/invoice/model/entity/SearchInvoiceResultTemp.java

@@ -1,116 +0,0 @@
-package com.jkcredit.invoice.model.entity;
-
-import cn.afterturn.easypoi.excel.annotation.Excel;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.jkcredit.invoice.common.BaseEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-
-import java.io.Serializable;
-
-@Data
-@ApiModel(value = "运单号查询发票数据")
-public class SearchInvoiceResultTemp extends BaseEntity implements Serializable {
-    private static final long serialVersionUID = 2287864395092918879L;
-    @TableId(type = IdType.AUTO)
-    private Integer id;
-
-    @Excel(name = "发票号码")
-    @ApiModelProperty(value = "发票号码")
-    private String invoiceNum;
-
-    @Excel(name = "发票代码")
-    @ApiModelProperty(value = "发票代码")
-    private String invoiceCode;
-
-    @Excel(name = "开票时间")
-    @ApiModelProperty(value = "开票时间")
-    private String invoiceMakeTime;
-
-    @Excel(name = "下载地址")
-    @ApiModelProperty(value = "发票url")
-    private String invoiceUrl;
-
-    @ApiModelProperty(value = "发票模板url")
-    private String invoiceHtmlUrl;
-
-    @Excel(name = "入口收费站")
-    @ApiModelProperty(value = "入口收费站")
-    private String enStation;
-
-    @Excel(name = "出口收费站")
-    @ApiModelProperty(value = "出口收费站")
-    private String exStation;
-
-    @Excel(name = "交易时间")
-    @ApiModelProperty(value = "交易时间")
-    private String exTime;
-
-    @Excel(name = "交易金额")
-    @ApiModelProperty(value = "交易金额")
-    private Long fee;
-
-    @Excel(name = "税额")
-    @ApiModelProperty(value = "税额")
-    private Long totalTaxAmount;
-
-    @Excel(name = "车牌号")
-    @ApiModelProperty(value = "车牌号")
-    private String plateNum;
-
-    @Excel(name = "车型")
-    @ApiModelProperty(value = "车型")
-    private int vehicleType;
-
-    @Excel(name = "运单编号")
-    @ApiModelProperty(value = "运单编号")
-    private String waybillNum;
-
-    @Excel(name = "运单状态")
-    @ApiModelProperty(value = "运单状态")
-    private int waybillStatus;
-
-    @Excel(name = "运单开始时间")
-    @ApiModelProperty(value = "运单开始时间")
-    private String waybillStartTime;
-
-    @Excel(name = "运单结束时间")
-    @ApiModelProperty(value = "运单结束时间")
-    private String waybillEndTime;
-
-    @Excel(name = "价税合计")
-    @ApiModelProperty(value = "价税合计")
-    private Long totalAmount;
-
-    @Excel(name = "税率")
-    @ApiModelProperty(value = "税率")
-    private double taxRate;
-
-    @Excel(name = "发票种类")
-    @ApiModelProperty(value = "发票种类")
-    private String invoiceType;
-
-    @Excel(name = "金额")
-    @ApiModelProperty(value = "金额")
-    private Long amount;
-
-    @Excel(name = "销方名称")
-    @ApiModelProperty(value = "销方名称")
-    private String sellerName;
-
-    @Excel(name = "销方税号")
-    @ApiModelProperty(value = "销方税号")
-    private String sellerTaxpayerCode;
-
-    @Excel(name = "交易id")
-    @ApiModelProperty(value = "交易id")
-    private String transactionId;
-
-    private Long startTime;
-
-    private Long endTime;
-
-    private String taxPlayerCode;
-}

+ 0 - 107
src/test/java/com/jkcredit/invoice/PlateNumberTest.java

@@ -1,107 +0,0 @@
-package com.jkcredit.invoice;
-
-import cn.afterturn.easypoi.excel.ExcelExportUtil;
-import cn.afterturn.easypoi.excel.entity.TemplateExportParams;
-import com.alibaba.fastjson.JSONObject;
-import com.jkcredit.invoice.model.entity.SearchInvoiceResult;
-import com.jkcredit.invoice.util.PlateCheckUtil;
-import org.apache.poi.ss.usermodel.Workbook;
-import org.junit.Test;
-
-import java.io.*;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * @description:
- * @author: sunzhaoning
- * @create: 2019-07-10 16:45
- * @version: V1.0
- **/
-
-public class PlateNumberTest {
-
-    public static void test() {
-
-        String pathname = "/Users/sunzhaoning/ftp/1";
-
-        try {
-            File filename = new File(pathname);
-            InputStreamReader reader = new InputStreamReader(new FileInputStream(filename));
-            BufferedReader br = new BufferedReader(reader);
-            String line;
-            int i = 0;
-            while ((line = br.readLine()) != null) {
-               boolean is = PlateCheckUtil.isPlateNumber(line);
-               if(!is){
-                   System.out.println(line);
-               }
-            }
-            reader.close();
-            br.close();
-        } catch (
-                IOException e) {
-            e.printStackTrace();
-        }
-    }
-
-    @Test
-    public void fe_map() throws Exception {
-        SearchInvoiceResult searchInvoiceResult = new SearchInvoiceResult();
-        searchInvoiceResult.setWaybillNum("1234567856432");
-        SearchInvoiceResult searchInvoiceResult1 = new SearchInvoiceResult();
-        searchInvoiceResult1.setWaybillNum("asfasfsghgfdssfdg");
-        List<SearchInvoiceResult> list = new ArrayList<>();
-        list.add(searchInvoiceResult);
-        list.add(searchInvoiceResult1);
-        TemplateExportParams params = new TemplateExportParams(
-                "/Users/sunzhaoning/Downloads/发票列表.xls");
-        Map<String, Object> map = new HashMap<>();
-        map.put("amount", "2014-12-25");
-        map.put("taxAmount", 2000000.00);
-        map.put("count", "贰佰万");
-        map.put("money", "执笔潜行科技有限公司");
-
-        List<Map<String, String>> listMap = new ArrayList<>();
-        for (int i = 0; i < list.size(); i++) {
-            Map<String, String> lm = new HashMap<>();
-            lm.put("invoiceNum", list.get(i).getInvoiceNum());
-            lm.put("invoiceCode", list.get(i).getInvoiceCode());
-            lm.put("invoiceMakeTime", list.get(i).getInvoiceMakeTime());
-            lm.put("invoiceUrl", list.get(i).getInvoiceUrl());
-            lm.put("enStation", list.get(i).getEnStation());
-            lm.put("exStation", list.get(i).getExStation());
-            lm.put("exTime", list.get(i).getExTime());
-            lm.put("fee", list.get(i).getFee().toString());
-            lm.put("totalTaxAmount", list.get(i).getTotalTaxAmount().toString());
-            lm.put("plateNum", list.get(i).getPlateNum());
-            lm.put("waybillNum", list.get(i).getWaybillNum());
-            lm.put("waybillStartTime",list.get(i).getWaybillStartTime());
-            lm.put("waybillEndTime", list.get(i).getWaybillEndTime());
-            lm.put("totalAmount",list.get(i).getTotalTaxAmount().toString());
-            lm.put("taxRate", String.valueOf(list.get(i).getTaxRate()));
-            lm.put("amount", list.get(i).getAmount().toString());
-            lm.put("sellerName", list.get(i).getSellerName());
-            lm.put("sellerTaxpayerCode", list.get(i).getSellerTaxpayerCode());
-            lm.put("transactionId", list.get(i).getTransactionId());
-
-            listMap.add(lm);
-        }
-        map.put("maplist", listMap);
-
-        Workbook workbook = ExcelExportUtil.exportExcel(params, map);
-        File savefile = new File("/Users/sunzhaoning/Downloads/");
-        if (!savefile.exists()) {
-            savefile.mkdirs();
-        }
-        FileOutputStream fos = new FileOutputStream("/Users/sunzhaoning/Downloads/专项支出用款申请书_map.xls");
-        workbook.write(fos);
-        fos.close();
-    }
-
-    public static void main(String[] args) {
-        test();
-    }
-}