From 46898bbf94063b368d52ac2bd3ba624e4a9f77e6 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期二, 12 九月 2023 17:36:58 +0800 Subject: [PATCH] #bug修复,双红*问题 --- src/main/java/com/zy/crm/manager/entity/PriOnline2.java | 42 +++++++++++++++++++++++++++++++++++++++++- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/crm/manager/entity/PriOnline2.java b/src/main/java/com/zy/crm/manager/entity/PriOnline2.java index 244d26b..3e17c27 100644 --- a/src/main/java/com/zy/crm/manager/entity/PriOnline2.java +++ b/src/main/java/com/zy/crm/manager/entity/PriOnline2.java @@ -100,13 +100,37 @@ @TableField("check_data_file") private String checkDataFile; + /** + * hostId + */ + @ApiModelProperty(value= "hostId") + @TableField("host_id") + private Long hostId; + + /** + * 杩涘害 + */ + @ApiModelProperty(value= "杩涘害") + private Integer settle; + + /** + * 娴佺▼杩涘害 + */ + @ApiModelProperty(value= "娴佺▼杩涘害") + @TableField("settle_msg") + private String settleMsg; + + @ApiModelProperty(value= "") + private String form; + public PriOnline2() {} - public PriOnline2(String title, String sheetData, Date createTime, String filepath) { + public PriOnline2(String title, String sheetData, Date createTime, String filepath,Integer settle) { this.title = title; this.sheetData = sheetData; this.createTime = createTime; this.filepath = filepath; + this.settle = settle; } // PriOnline priOnline = new PriOnline( @@ -115,6 +139,22 @@ // null // 鍒涘缓鏃堕棿 // ); + public String getSettle$(){ + if (null == this.settle){ return null; } + switch (this.settle){ + case 0: + return "绛夊緟鎻愪氦"; + case 1: + return "绛夊緟瀹℃壒"; + case 2: + return "绛夊緟纭"; + case 3: + return "瀹℃壒閫氳繃"; + default: + return String.valueOf(this.settle); + } + } + public String getCreateTime$(){ if (Cools.isEmpty(this.createTime)){ return ""; -- Gitblit v1.9.1