k94314517
2025-05-19 cdd6551b190b981b807a3b95e9635c559ccc769d
server/service/src/main/java/com/doumee/dao/business/model/ApplyChange.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;
@@ -9,6 +11,7 @@
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;
@@ -83,13 +86,20 @@
    @ExcelColumn(name="批单生效时间")
    private Date applyStartTime;
    @ApiModelProperty(value = "状态 0待签署 1已签章 2已上传批单 3退回申请 4平台同意 5平台驳回")
    @ExcelColumn(name="状态 0待签署 1已签章 2已上传批单 3退回申请 4平台同意 5平台驳回")
    @ApiModelProperty(value = "状态 0待签署 1已签章 2已上传批单 3退回申请 (待签署) 4退回申请 (已签章)  5平台同意(已退回) 6已关闭 ")
    @ExcelColumn(name="状态 0待签署 1已签章 2已上传批单 3退回申请 (待签署) 4退回申请 (已签章)  5平台同意(已退回) 6已关闭 ")
    private Integer status;
    @ApiModelProperty(value = "合并单编码(关联union_change)", example = "1")
    @ExcelColumn(name="合并单编码(关联union_change)")
    private Integer unionChangeId;
    @ApiModelProperty(value = "在线签章合同号")
    private String signApplyNo;
    @ApiModelProperty(value = "期望保险生效起期")
    @ExcelColumn(name="期望保险生效起期")
    private Date validTime;
    @ApiModelProperty(value = "实际减保生效起期")
    @ExcelColumn(name="实际减保生效起期")
    private Date delValidTime;
    @ApiModelProperty(value = "批单号")
    @ExcelColumn(name="批单号")
@@ -102,6 +112,14 @@
    @ApiModelProperty(value = "变更金额")
    @ExcelColumn(name="变更金额")
    private BigDecimal fee;
    @ApiModelProperty(value = "合并单-投保单状态 0=未上传;1=已上传;2=已签署", example = "1")
    private Integer unionChangeTbdStatus;
    @ApiModelProperty(value = "人员名单签署合同号")
    @ExcelColumn(name="人员名单签署合同号")
    private String signMemberListNo;
    @ApiModelProperty(value = "保单号")
    @TableField(exist = false)
    private String applyCode;
@@ -132,6 +150,10 @@
    @TableField(exist = false)
    private Integer changeNum;
    @ApiModelProperty(value = "最后一次加减保/换厂日期")
    @TableField(exist = false)
    private Date lastChangeDate;
    @ApiModelProperty(value = "提交日期开始 yyyy-MM-dd ")
    @TableField(exist = false)
    private String createDateS;
@@ -140,9 +162,39 @@
    @TableField(exist = false)
    private String createDateE;
    @ApiModelProperty(value = "批单生效起期时间")
    @TableField(exist = false)
    private String applyStartS;
    @ApiModelProperty(value = "批单止效时间")
    @TableField(exist = false)
    private String applyStartE;
    @ApiModelProperty(value = "保险方案主键")
    @TableField(exist = false)
    private Integer solutionsId;
    @ApiModelProperty(value = "保险方案主键(基表)")
    @TableField(exist = false)
    private Integer baseSolutionsId;
    @ApiModelProperty(value = "申请单附件")
    @TableField(exist = false)
    private Multifile applyFile;
    @ApiModelProperty(value = "申请单换厂附件")
    @TableField(exist = false)
    private Multifile applyUnitFile;
    @ApiModelProperty(value = "批单附件")
    @TableField(exist = false)
    private Multifile pidanFile;
    @ApiModelProperty(value = "批单附件列表")
    @TableField(exist = false)
    private List<Multifile> pidanFileList;
    @ApiModelProperty(value = "批减是否仅支持替换 0否 1是", example = "1")
    @TableField(exist = false)
    private Integer delOnlyReplace;
    @ApiModelProperty(value = "加保明细数据")
    @TableField(exist = false)
@@ -161,9 +213,6 @@
    @TableField(exist = false)
    private Integer companyId;
    @ApiModelProperty(value = "批单附件对象")
    @TableField(exist = false)
    private Multifile pidanFile;
    @ApiModelProperty(value = "处理企业申请状态  0同意 1驳回")
    @TableField(exist = false)
    private int dealBackApply;
@@ -174,6 +223,44 @@
    @ApiModelProperty(value = "保险生效止期")
    @TableField(exist = false)
    private Date endTime;
    @ApiModelProperty(value = "方案邮件")
    @TableField(exist = false)
    private String solutionEmail;
    @ApiModelProperty(value = "日志记录")
    @TableField(exist = false)
    private List<ApplyLog> applyLogList;
    @ApiModelProperty(value = "方案类型 0直保 1委托投保")
    @TableField(exist = false)
    private Integer solutionType;
    @ApiModelProperty(value = "是否有派遣单位 0有 1无", example = "1")
    @TableField(exist = false)
    private Integer hasDispatchUnit;
    @ApiModelProperty(value = "合并单主键(保单)")
    @TableField(exist = false)
    private Integer unionApplyId;
    @ApiModelProperty(value = "年份")
    @TableField(exist = false)
    private Integer year;
    @ApiModelProperty(value = "统计条目数")
    @TableField(exist = false)
    private Integer countNum;
    @ApiModelProperty(value = "提交日期开始 yyyy-MM ")
    @TableField(exist = false)
    private String month;
    public TaxesInvoicingVO toTaxesInvoicingVO(){
        TaxesInvoicingVO taxesInvoicingVO = new TaxesInvoicingVO();
        taxesInvoicingVO.setId(this.getId());
        taxesInvoicingVO.setSolutionsName(this.getSolutionsName());
        taxesInvoicingVO.setValidCode(this.getValidCode());
        taxesInvoicingVO.setAddNum(this.getAddNum());
        taxesInvoicingVO.setDelNum(this.getDelNum());
        taxesInvoicingVO.setAmount(this.getFee());
        taxesInvoicingVO.setType(Constants.ONE);
        return taxesInvoicingVO;
    }
    @ApiModelProperty(value = "是否获取附件信息 0不需要 1需要")
    @TableField(exist = false)
    private Integer getFiles;
}