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/InsuranceApply.java | 30 +++++++++++++++++++++++++++++-
1 files changed, 29 insertions(+), 1 deletions(-)
diff --git a/server/service/src/main/java/com/doumee/dao/business/model/InsuranceApply.java b/server/service/src/main/java/com/doumee/dao/business/model/InsuranceApply.java
index 3ea5d97..fa76347 100644
--- a/server/service/src/main/java/com/doumee/dao/business/model/InsuranceApply.java
+++ b/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;
@@ -10,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;
@@ -85,7 +87,6 @@
@ApiModelProperty(value = "瀹為檯淇濋櫓鐢熸晥璧锋湡")
@ExcelColumn(name="瀹為檯淇濋櫓鐢熸晥璧锋湡")
-
private Date startTime;
@ApiModelProperty(value = "鏈�杩戞搷浣滄椂闂�")
@@ -133,6 +134,20 @@
@TableField(exist = false)
private Integer insureNum;
+ @ApiModelProperty(value = "寮�绁ㄩ噾棰�")
+ @TableField(exist = false)
+ private BigDecimal taxesMoney;
+
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
+ @ApiModelProperty(value = "鏈�鍚庝竴娆″紑绁ㄦ椂闂�")
+ @TableField(exist = false)
+ private Date taxesLast;
+
+ @ApiModelProperty(value = "澶辨晥鍓╀綑澶╂暟")
+ @TableField(exist = false)
+ private Integer loseEfficacyDays;
+
@ApiModelProperty(value = "鏈嶅姟澶╂暟")
@TableField(exist = false)
private Integer serviceDays;
@@ -152,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;
+ }
}
--
Gitblit v1.9.3