Commit a165acf1 by danmo

修复活码详情字段未显示问题

1 parent 29bb7cb2
...@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.annotation.IdType; ...@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.linkwechat.common.core.domain.BaseEntity; import com.linkwechat.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
...@@ -28,7 +29,7 @@ import lombok.Data; ...@@ -28,7 +29,7 @@ import lombok.Data;
@Data @Data
@SuppressWarnings("serial") @SuppressWarnings("serial")
@TableName("we_qr_scope") @TableName("we_qr_scope")
public class WeQrScope extends BaseEntity implements Serializable { public class WeQrScope implements Serializable {
private static final long serialVersionUID = 1L; //1 private static final long serialVersionUID = 1L; //1
...@@ -96,6 +97,15 @@ public class WeQrScope extends BaseEntity implements Serializable { ...@@ -96,6 +97,15 @@ public class WeQrScope extends BaseEntity implements Serializable {
@TableField("work_cycle") @TableField("work_cycle")
private String workCycle; private String workCycle;
/** 开始时间 */
@ApiModelProperty("开始时间")
private String beginTime;
/** 结束时间 */
@ApiModelProperty("结束时间")
private String endTime;
/** /**
* 删除标识 0 有效 1删除 * 删除标识 0 有效 1删除
*/ */
......
package com.linkwechat.wecom.domain.vo.qr; package com.linkwechat.wecom.domain.vo.qr;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
...@@ -18,6 +19,9 @@ public class WeQrScopeVo { ...@@ -18,6 +19,9 @@ public class WeQrScopeVo {
@ApiModelProperty(value = "活码id") @ApiModelProperty(value = "活码id")
private Long qrId; private Long qrId;
@ApiModelProperty(value = "排期分组id")
private String scopeId;
@ApiModelProperty(value = "消息类型 0 默认排期 1 自定义排期") @ApiModelProperty(value = "消息类型 0 默认排期 1 自定义排期")
private Integer type; private Integer type;
......
...@@ -15,15 +15,12 @@ ...@@ -15,15 +15,12 @@
<result property="workCycle" column="work_cycle" jdbcType="VARCHAR"/> <result property="workCycle" column="work_cycle" jdbcType="VARCHAR"/>
<result property="beginTime" column="begin_time" jdbcType="TIMESTAMP"/> <result property="beginTime" column="begin_time" jdbcType="TIMESTAMP"/>
<result property="endTime" column="end_time" jdbcType="TIMESTAMP"/> <result property="endTime" column="end_time" jdbcType="TIMESTAMP"/>
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
</resultMap> </resultMap>
<resultMap id="QrScopeResult" type="com.linkwechat.wecom.domain.vo.qr.WeQrScopeVo"> <resultMap id="QrScopeResult" type="com.linkwechat.wecom.domain.vo.qr.WeQrScopeVo">
<result property="qrId" column="qr_id" jdbcType="INTEGER"/> <result property="qrId" column="qr_id" jdbcType="INTEGER"/>
<result property="type" column="type" jdbcType="INTEGER"/> <result property="type" column="type" jdbcType="INTEGER"/>
<result property="scopeId" column="scope_id" jdbcType="VARCHAR"/>
<result property="beginTime" column="begin_time" jdbcType="VARCHAR"/> <result property="beginTime" column="begin_time" jdbcType="VARCHAR"/>
<result property="endTime" column="end_time" jdbcType="VARCHAR"/> <result property="endTime" column="end_time" jdbcType="VARCHAR"/>
<result property="workCycle" column="work_cycle" jdbcType="VARCHAR"/> <result property="workCycle" column="work_cycle" jdbcType="VARCHAR"/>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!