From c740ca8adee39cf8ab0df70594b938a93a6d8afc Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 23 五月 2022 10:09:21 +0800
Subject: [PATCH] 花城E+bug更新
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActActSignExcelVO.java | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActActSignExcelVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActActSignExcelVO.java
index 7fb74fa..981bc6a 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActActSignExcelVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActActSignExcelVO.java
@@ -32,11 +32,11 @@
@ExcelProperty(value = "报名时间", index = 0)
private Date createAt;
- @ExcelProperty(value = "人群标签", index = 3)
+ @ExcelProperty(value = "人员标签", index = 3)
private String tags;
@ExcelProperty(value = "报名状态",index = 5)
- private Integer status;
+ private String status;
@ExcelProperty(value = "取消原因", index = 6)
private String reason;
@@ -44,17 +44,16 @@
@ExcelProperty(value = "参与情况", index = 7)
private String condition;
- @ExcelProperty(value = "获得奖励", index = 7)
+ @ExcelProperty(value = "获得奖励", index = 8)
private String award;
@ExcelIgnore
private Integer times;
@ExcelIgnore
private Integer limit;
- public void setCondition(String condition) {
+ public void generateCondition() {
if(this.times!=null&&this.limit!=null){
- this.condition = "("+times+"/"+limit+")";
+ this.condition = "("+times+"/"+ (limit.equals(-1) ? "无限" : limit) +")";
}
-
}
}
\ No newline at end of file
--
Gitblit v1.7.1