From e7f3835c7ffb0de6747c7c496c590f7f42e455fc Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期三, 24 一月 2024 15:05:33 +0800 Subject: [PATCH] 111 --- server/service/src/main/java/com/doumee/dao/business/model/Taxes.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/server/service/src/main/java/com/doumee/dao/business/model/Taxes.java b/server/service/src/main/java/com/doumee/dao/business/model/Taxes.java index fe5f9fe..a676f7c 100644 --- a/server/service/src/main/java/com/doumee/dao/business/model/Taxes.java +++ b/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; @@ -67,6 +69,7 @@ @ApiModelProperty(value = "浼佷笟缂栫爜锛堝叧鑱攃ompany锛�", example = "1") @ExcelColumn(name="浼佷笟缂栫爜锛堝叧鑱攃ompany锛�") private Integer companyId; + @ApiModelProperty(value = "鏂规缂栫爜锛堝叧鑱攕olutions锛�", example = "1") @ExcelColumn(name="鏂规缂栫爜锛坰olutions锛�") private Integer solutionId; @@ -156,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; @@ -169,4 +175,18 @@ @ApiModelProperty(value = "鍐茬孩鍗曞垪琛�") @TableField(exist = false) List<TaxDetial> delTaxList ;// + + + + public TaxesInvoicingVO getTaxesInvoicingVO(){ + TaxesInvoicingVO taxesInvoicingVO = new TaxesInvoicingVO(); + taxesInvoicingVO.setId(this.getId()); + taxesInvoicingVO.setSolutionsName(this.getSolutionName()); + taxesInvoicingVO.setInsuranceCode(this.getInsuranceCode()); + taxesInvoicingVO.setAmount(this.getPrice()); + taxesInvoicingVO.setType(Constants.TWO); + return taxesInvoicingVO; + } + + } -- Gitblit v1.9.3