Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a165acf1
authored
Nov 22, 2021
by
danmo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复活码详情字段未显示问题
1 parent
29bb7cb2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeQrScope.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/vo/qr/WeQrScopeVo.java
linkwe-wecom/src/main/resources/mapper/wecom/WeQrScopeMapper.xml
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeQrScope.java
View file @
a165acf
...
...
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
com.linkwechat.common.core.domain.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
...
...
@@ -28,7 +29,7 @@ import lombok.Data;
@Data
@SuppressWarnings
(
"serial"
)
@TableName
(
"we_qr_scope"
)
public
class
WeQrScope
extends
BaseEntity
implements
Serializable
{
public
class
WeQrScope
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
//1
...
...
@@ -96,6 +97,15 @@ public class WeQrScope extends BaseEntity implements Serializable {
@TableField
(
"work_cycle"
)
private
String
workCycle
;
/** 开始时间 */
@ApiModelProperty
(
"开始时间"
)
private
String
beginTime
;
/** 结束时间 */
@ApiModelProperty
(
"结束时间"
)
private
String
endTime
;
/**
* 删除标识 0 有效 1删除
*/
...
...
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/vo/qr/WeQrScopeVo.java
View file @
a165acf
package
com
.
linkwechat
.
wecom
.
domain
.
vo
.
qr
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
@@ -18,6 +19,9 @@ public class WeQrScopeVo {
@ApiModelProperty
(
value
=
"活码id"
)
private
Long
qrId
;
@ApiModelProperty
(
value
=
"排期分组id"
)
private
String
scopeId
;
@ApiModelProperty
(
value
=
"消息类型 0 默认排期 1 自定义排期"
)
private
Integer
type
;
...
...
linkwe-wecom/src/main/resources/mapper/wecom/WeQrScopeMapper.xml
View file @
a165acf
...
...
@@ -15,15 +15,12 @@
<result
property=
"workCycle"
column=
"work_cycle"
jdbcType=
"VARCHAR"
/>
<result
property=
"beginTime"
column=
"begin_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
id=
"QrScopeResult"
type=
"com.linkwechat.wecom.domain.vo.qr.WeQrScopeVo"
>
<result
property=
"qrId"
column=
"qr_id"
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=
"endTime"
column=
"end_time"
jdbcType=
"VARCHAR"
/>
<result
property=
"workCycle"
column=
"work_cycle"
jdbcType=
"VARCHAR"
/>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment