MrShi
2024-04-02 22271e641e4505ba906c3770905b7e84e3ad8d85
server/service/src/main/java/com/doumee/dao/business/model/Taxes.java
@@ -2,6 +2,8 @@
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.core.utils.Constants;
import com.doumee.dao.business.vo.TaxesInvoicingVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
@@ -61,12 +63,13 @@
    private String remark;
    @ApiModelProperty(value = "状态 0待处理 1已开票 2平台撤回 3已冲红", example = "1")
    @ExcelColumn(name="状态 0待处理 1已开票 2平台撤回3已冲红")
    @ExcelColumn(name="状态 0待处理 1已开票 2平台撤回 3已冲红")
    private Integer status;
    @ApiModelProperty(value = "企业编码(关联company)", example = "1")
    @ExcelColumn(name="企业编码(关联company)")
    private Integer companyId;
    @ApiModelProperty(value = "方案编码(关联solutions)", example = "1")
    @ExcelColumn(name="方案编码(solutions)")
    private Integer solutionId;
@@ -121,7 +124,6 @@
    @ApiModelProperty(value = "平台撤回时间")
    @ExcelColumn(name="平台撤回时间")
    private Date cancelDate;
    @ApiModelProperty(value = "撤回备注")
@@ -137,12 +139,15 @@
    @ApiModelProperty(value = "冲红备注")
    @ExcelColumn(name="冲红备注")
    private String delIInfo;
    private String delInfo;
    @ApiModelProperty(value = "冲红操作人员编码", example = "1")
    @ExcelColumn(name="冲红操作人员编码")
    private Integer  delUserId;
    private Integer  delUerId;
    @ApiModelProperty(value = "单据申请编码(关联insurance_apply)", example = "1")
    @ExcelColumn(name="单据申请编码(关联insurance_apply)")
    private Integer insuranceApplyId;
    @ApiModelProperty(value = "申请人")
    @TableField(exist = false)
@@ -154,6 +159,9 @@
    @TableField(exist = false)
    private String imgurlFull;
    @ApiModelProperty(value = "保单号")
    @TableField(exist = false)
    private String insuranceCode;
    @ApiModelProperty(value = "查询开始时间")
    @TableField(exist = false)
    private Date startDate;
@@ -167,4 +175,26 @@
    @ApiModelProperty(value = "冲红单列表")
    @TableField(exist = false)
    List<TaxDetial> delTaxList ;//
    @ApiModelProperty(value = "保单主键 - 查询保单的开票历史记录")
    @TableField(exist = false)
    private Integer applyId;
    @ApiModelProperty(value = "撤回操作人")
    @TableField(exist = false)
    private String cancelUserName;
    public TaxesInvoicingVO getTaxesInvoicingVO(){
        TaxesInvoicingVO taxesInvoicingVO = new TaxesInvoicingVO();
        taxesInvoicingVO.setId(this.getId());
        taxesInvoicingVO.setSolutionsName(this.getSolutionName());
        taxesInvoicingVO.setInsuranceCode(this.getInsuranceCode());
        taxesInvoicingVO.setDownCode(this.getDoneCode());
        taxesInvoicingVO.setCreateTime(this.getCreateDate());
        taxesInvoicingVO.setAmount(this.getPrice());
        taxesInvoicingVO.setType(Constants.TWO);
        return taxesInvoicingVO;
    }
}