|
|
|
@@ -1,6 +1,8 @@ |
|
|
|
package com.iformall.domain.po; |
|
|
|
|
|
|
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.aliyun.openservices.shade.org.apache.commons.lang3.StringUtils; |
|
|
|
import com.baomidou.mybatisplus.annotation.IdType; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableId; |
|
|
|
@@ -196,6 +198,7 @@ public class WxLegionActivityOrder extends TenantEntity { |
|
|
|
* 审核时间 |
|
|
|
*/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="审核时间",name="auditTime") |
|
|
|
@Excel(name = "审核时间", format = "yyyy-MM-dd HH:mm:ss", width = 20, orderNum = "12") |
|
|
|
@TableField(value = "audit_time") |
|
|
|
private Date auditTime; |
|
|
|
|
|
|
|
@@ -203,4 +206,35 @@ public class WxLegionActivityOrder extends TenantEntity { |
|
|
|
private Date auditTimeBegin; |
|
|
|
@TableField(exist = false) |
|
|
|
private Date auditTimeEnd; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 抽奖券编码 |
|
|
|
*/ |
|
|
|
@TableField(exist = false) |
|
|
|
private String lotteryNum; |
|
|
|
@TableField(exist = false) |
|
|
|
private List<String> lotteryNumList; |
|
|
|
public List<String> getLotteryNumList() { |
|
|
|
if(StringUtils.isNotBlank(lotteryNum)){ |
|
|
|
try { |
|
|
|
List<String> stringList = JSON.parseArray(lotteryNum, String.class); |
|
|
|
stringList.removeIf(String::isEmpty); |
|
|
|
lotteryNumList = stringList.isEmpty() ? null : stringList; |
|
|
|
}catch(Exception e){} |
|
|
|
} |
|
|
|
return lotteryNumList; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 抽奖券数量 |
|
|
|
*/ |
|
|
|
@TableField(exist = false) |
|
|
|
private Integer lotteryCount; |
|
|
|
|
|
|
|
/** |
|
|
|
* 周年庆抽奖编码 |
|
|
|
*/ |
|
|
|
@TableField(exist = false) |
|
|
|
private String anniversaryLotteryNum; |
|
|
|
} |