From c8965cf6279f231c849e2c7c913bd7ff066d5794 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期五, 03 十二月 2021 17:45:13 +0800 Subject: [PATCH] 修改活动bug --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActActSignExcelVO.java | 5 ++--- 1 files changed, 2 insertions(+), 3 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 4a6667a..4989ec7 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 @@ -51,10 +51,9 @@ @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