111
k94314517
2024-01-24 e7f3835c7ffb0de6747c7c496c590f7f42e455fc
server/service/src/main/java/com/doumee/dao/business/model/InsuranceApply.java
@@ -3,6 +3,7 @@
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;
@@ -86,7 +87,6 @@
    @ApiModelProperty(value = "实际保险生效起期")
    @ExcelColumn(name="实际保险生效起期")
    private Date startTime;
    @ApiModelProperty(value = "最近操作时间")
@@ -144,6 +144,9 @@
    @TableField(exist = false)
    private Date taxesLast;
    @ApiModelProperty(value = "失效剩余天数")
    @TableField(exist = false)
    private Integer loseEfficacyDays;
    @ApiModelProperty(value = "服务天数")
    @TableField(exist = false)
@@ -164,4 +167,17 @@
    @ApiModelProperty(value = "处理企业申请状态  0同意 1驳回")
    @TableField(exist = false)
    private int dealBackApply;
    public TaxesInvoicingVO getTaxesInvoicingVO(){
        TaxesInvoicingVO taxesInvoicingVO = new TaxesInvoicingVO();
        taxesInvoicingVO.setId(this.getId());
        taxesInvoicingVO.setSolutionsName(this.getSolutionsName());
        taxesInvoicingVO.setInsuranceCode(this.getCode());
        taxesInvoicingVO.setInsuranceNum(this.getInsureNum());
        taxesInvoicingVO.setStartTime(this.getStartTime());
        taxesInvoicingVO.setAmount(this.getFee());
        taxesInvoicingVO.setType(Constants.ZERO);
        return taxesInvoicingVO;
    }
}