|
|
@@ -0,0 +1,187 @@
|
|
|
+package com.jzg.commons.entity.finance.vo;
|
|
|
+
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import com.jzg.commons.core.base.PageRequest;
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.util.List;
|
|
|
+import java.util.Objects;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author tz
|
|
|
+ * @description 应收查询VO
|
|
|
+ * @createDate 2024-06-26 10:49:31
|
|
|
+ */
|
|
|
+@Data
|
|
|
+public class ReceivableExportExcelVo {
|
|
|
+
|
|
|
+ @Schema(description = "选中类型")
|
|
|
+ @ExcelIgnore
|
|
|
+ // 1 全部数据选中 2 选中部分数据
|
|
|
+ private String selectedType;
|
|
|
+
|
|
|
+ @Schema(description = "协议类型")
|
|
|
+ @ExcelProperty(value = "协议类型", index = 13)
|
|
|
+ private String agreementType;
|
|
|
+
|
|
|
+ @Schema(description = "id")
|
|
|
+ @ExcelIgnore
|
|
|
+ private String id;
|
|
|
+
|
|
|
+ @Schema(description = "查询类型")
|
|
|
+ @ExcelProperty(value = "查询类型", index = 14)
|
|
|
+ private String queryType;
|
|
|
+
|
|
|
+ @Schema(description = "车牌号")
|
|
|
+ @ExcelProperty(value = "车牌号", index = 0)
|
|
|
+ private String licenseNo;
|
|
|
+
|
|
|
+ @Schema(description = "险种信息")
|
|
|
+ @ExcelProperty(value = "险种信息", index = 15)
|
|
|
+ private String productId;
|
|
|
+
|
|
|
+ @Schema(description = "保险公司")
|
|
|
+ @ExcelIgnore
|
|
|
+ private String companyId;
|
|
|
+
|
|
|
+ @Schema(description = "签单时间开始时间")
|
|
|
+ @ExcelProperty(value = "签单时间开始时间", index = 11)
|
|
|
+ private String signingTimeStart;
|
|
|
+
|
|
|
+ @Schema(description = "签单时间结束时间")
|
|
|
+ @ExcelProperty(value = "签单时间结束时间", index = 12)
|
|
|
+ private String signingTimeEnd;
|
|
|
+
|
|
|
+ @Schema(description = "订单号")
|
|
|
+ @ExcelProperty(value = "订单号", index = 16)
|
|
|
+ private String orderNo;
|
|
|
+
|
|
|
+ @Schema(description = "协议id")
|
|
|
+ @ExcelIgnore
|
|
|
+ private String agreementId;
|
|
|
+
|
|
|
+ @Schema(description = "出单机构")
|
|
|
+ @ExcelIgnore
|
|
|
+ private String deptId;
|
|
|
+
|
|
|
+ @Schema(description = "险种")
|
|
|
+ @ExcelProperty(value = "险种", index = 17)
|
|
|
+ private String riskCode;
|
|
|
+
|
|
|
+ @Schema(description = "订单类型")
|
|
|
+ @ExcelProperty(value = "订单类型", index = 18)
|
|
|
+ private String orderType;
|
|
|
+
|
|
|
+ @Schema(description = "被保人")
|
|
|
+ @ExcelProperty(value = "被保人", index = 19)
|
|
|
+ private String insuredName;
|
|
|
+
|
|
|
+ @Schema(description = "交强险保单号")
|
|
|
+ @ExcelProperty(value = "交强险保单号", index = 1)
|
|
|
+ private String jqPolicyNo;
|
|
|
+
|
|
|
+ @Schema(description = "交强险手续费比例")
|
|
|
+ @ExcelProperty(value = "交强险手续费比例(%)", index = 2)
|
|
|
+ private String jqSuperviseCostsProportion;
|
|
|
+
|
|
|
+ @Schema(description = "交强险跟单费比例")
|
|
|
+ @ExcelProperty(value = "交强险跟单费比例(%)", index = 3)
|
|
|
+ private String jqOtherCostsProportion;
|
|
|
+
|
|
|
+ @Schema(description = "商业险保单号")
|
|
|
+ @ExcelProperty(value = "商业险保单号", index = 4)
|
|
|
+ private String syPolicyNo;
|
|
|
+
|
|
|
+ @Schema(description = "商业险手续费比例")
|
|
|
+ @ExcelProperty(value = "商业险手续费比例(%)", index = 5)
|
|
|
+ private String sySuperviseCostsProportion;
|
|
|
+
|
|
|
+ @Schema(description = "商业险跟单费比例")
|
|
|
+ @ExcelProperty(value = "商业险跟单费比例(%)", index = 6)
|
|
|
+ private String syOtherCostsProportion;
|
|
|
+
|
|
|
+ @Schema(description = "驾意险保单号")
|
|
|
+ @ExcelProperty(value = "驾意险保单号", index = 7)
|
|
|
+ private String jyPolicyNo;
|
|
|
+
|
|
|
+ @Schema(description = "驾意险手续费比例")
|
|
|
+ @ExcelProperty(value = "驾意险手续费比例(%)", index = 8)
|
|
|
+ private String jySuperviseCostsProportion;
|
|
|
+
|
|
|
+ @Schema(description = "驾意险跟单费比例")
|
|
|
+ @ExcelProperty(value = "驾意险跟单费比例(%)", index = 9)
|
|
|
+ private String jyOtherCostsProportion;
|
|
|
+
|
|
|
+ @Schema(description = "对接人")
|
|
|
+ @ExcelProperty(value = "对接人", index = 10)
|
|
|
+ private String dockingPerson;
|
|
|
+
|
|
|
+ @Schema(description = "交强起保时间")
|
|
|
+ @ExcelProperty(value = "交强起保时间", index = 20)
|
|
|
+ private String jqStartDate;
|
|
|
+
|
|
|
+ @Schema(description = "交强到期时间")
|
|
|
+ @ExcelProperty(value = "交强到期时间", index = 21)
|
|
|
+ private String jqEndDate;
|
|
|
+
|
|
|
+ @Schema(description = "商业起保时间")
|
|
|
+ @ExcelProperty(value = "商业起保时间", index = 22)
|
|
|
+ private String syStartDate;
|
|
|
+
|
|
|
+ @Schema(description = "商业到期时间")
|
|
|
+ @ExcelProperty(value = "商业到期时间", index = 23)
|
|
|
+ private String syEndDate;
|
|
|
+
|
|
|
+ @Schema(description = "产品名称")
|
|
|
+ @ExcelProperty(value = "产品名称", index = 24)
|
|
|
+ private String productName;
|
|
|
+
|
|
|
+ @Schema(description = "错误信息")
|
|
|
+ private String errorMessage;
|
|
|
+
|
|
|
+ public ImportResultVo checkEmpty(){
|
|
|
+ ImportResultVo resultVo = new ImportResultVo();
|
|
|
+ resultVo.setSuccess(false);
|
|
|
+ if(Objects.isNull(this.licenseNo) || Objects.equals(this.licenseNo,"")){
|
|
|
+ resultVo.setMessage("车牌号不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.jqPolicyNo) || Objects.equals(this.jqPolicyNo,"")){
|
|
|
+ resultVo.setMessage("交强险保单号不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.jqSuperviseCostsProportion) || Objects.equals(this.jqSuperviseCostsProportion,"")){
|
|
|
+ resultVo.setMessage("交强险手续费比例不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.jqOtherCostsProportion) || Objects.equals(this.jqOtherCostsProportion,"")){
|
|
|
+ resultVo.setMessage("交强险跟单费比例不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.syPolicyNo) || Objects.equals(this.syPolicyNo,"")){
|
|
|
+ resultVo.setMessage("商业险保单号不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.sySuperviseCostsProportion) || Objects.equals(this.sySuperviseCostsProportion,"")){
|
|
|
+ resultVo.setMessage("商业险手续费比例不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.syOtherCostsProportion) || Objects.equals(this.syOtherCostsProportion,"")){
|
|
|
+ resultVo.setMessage("商业险跟单费比例不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.jyPolicyNo) || Objects.equals(this.jyPolicyNo,"")){
|
|
|
+ resultVo.setMessage("驾意险保单号不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.jySuperviseCostsProportion) || Objects.equals(this.jySuperviseCostsProportion,"")){
|
|
|
+ resultVo.setMessage("驾意险手续费比例不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.jyOtherCostsProportion) || Objects.equals(this.jyOtherCostsProportion,"")){
|
|
|
+ resultVo.setMessage("驾意险跟单费比例不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(this.dockingPerson) || Objects.equals(this.dockingPerson,"")){
|
|
|
+ resultVo.setMessage("对接人不能为空");
|
|
|
+ }
|
|
|
+ if(Objects.isNull(resultVo.getMessage())){
|
|
|
+ resultVo.setSuccess(true);
|
|
|
+ }
|
|
|
+ return resultVo;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|