Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-strategy
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 83c90e14
authored
Jan 16, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
202601月底版本 策略中心:bean提交
1 parent
adcfce9b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
164 additions
and
0 deletions
rpc-dj-strategy-api/src/main/java/cn/com/glsx/dj/strategy/model/StrategyStaffMessage.java
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/mapper/StrategyStaffMessageMapper.java
rpc-dj-strategy/src/main/resources/META-INF/orm/StrategyStaffMessageMapper.xml
rpc-dj-strategy-api/src/main/java/cn/com/glsx/dj/strategy/model/StrategyStaffMessage.java
0 → 100644
View file @
83c90e1
package
cn
.
com
.
glsx
.
dj
.
strategy
.
model
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
import
javax.persistence.*
;
/**
* 策略-人员-消息关联表
*/
@Data
@Table
(
name
=
"dj_car_life_strategy_staff_message"
)
public
class
StrategyStaffMessage
implements
Serializable
{
/**
* 主键ID
*/
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Integer
id
;
/**
* 策略ID,关联dj_car_life_strategy_info表
*/
@ApiModelProperty
(
notes
=
"策略ID,关联dj_car_life_strategy_info表"
)
@Column
(
name
=
"strategy_id"
)
private
Integer
strategyId
;
/**
* 人员UUID
*/
@ApiModelProperty
(
notes
=
"人员UUID"
)
@Column
(
name
=
"uuid"
)
private
String
uuid
;
/**
* 人员手机号
*/
@ApiModelProperty
(
notes
=
"人员手机号"
)
@Column
(
name
=
"phone"
)
private
String
phone
;
/**
* 人员姓名
*/
@ApiModelProperty
(
notes
=
"人员姓名"
)
@Column
(
name
=
"staff_name"
)
private
String
staffName
;
/**
* 消息ID,关联pad_message_box表
*/
@ApiModelProperty
(
notes
=
"消息ID,关联pad_message_box表"
)
@Column
(
name
=
"message_id"
)
private
Integer
messageId
;
/**
* 推送状态,0-推送失败,1-已推送
*/
@ApiModelProperty
(
notes
=
"推送状态,0-推送失败,1-已推送"
)
@Column
(
name
=
"push_status"
)
private
Integer
pushStatus
;
/**
* 阅读状态,0-未读,1-已读
*/
@ApiModelProperty
(
notes
=
"阅读状态,0-未读,1-已读"
)
@Column
(
name
=
"read_status"
)
private
Integer
readStatus
;
/**
* 阅读时间
*/
@ApiModelProperty
(
notes
=
"阅读时间"
)
@Column
(
name
=
"read_time"
)
private
Date
readTime
;
/**
* 阅读次数
*/
@ApiModelProperty
(
notes
=
"阅读次数"
)
@Column
(
name
=
"read_count"
)
private
Integer
readCount
;
/**
* 最新阅读时间
*/
@ApiModelProperty
(
notes
=
"最新阅读时间"
)
@Column
(
name
=
"latest_read_time"
)
private
Date
latestReadTime
;
/**
* 创建人
*/
@Column
(
name
=
"created_by"
)
private
String
createdBy
;
/**
* 创建时间
*/
@Column
(
name
=
"created_date"
)
private
Date
createdDate
;
/**
* 修改人
*/
@Column
(
name
=
"updated_by"
)
private
String
updatedBy
;
/**
* 修改时间
*/
@Column
(
name
=
"updated_date"
)
private
Date
updatedDate
;
/**
* 删除标识(D:已删除;N:未删除)
*/
@Column
(
name
=
"deleted_flag"
)
private
String
deletedFlag
;
}
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/mapper/StrategyStaffMessageMapper.java
0 → 100644
View file @
83c90e1
package
cn
.
com
.
glsx
.
dj
.
strategy
.
mapper
;
import
cn.com.glsx.dj.strategy.model.StrategyStaffMessage
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.oreframework.datasource.mybatis.mapper.OreMapper
;
@Mapper
public
interface
StrategyStaffMessageMapper
extends
OreMapper
<
StrategyStaffMessage
>
{
}
rpc-dj-strategy/src/main/resources/META-INF/orm/StrategyStaffMessageMapper.xml
0 → 100644
View file @
83c90e1
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"cn.com.glsx.dj.strategy.mapper.StrategyStaffMessageMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.com.glsx.dj.strategy.model.StrategyStaffMessage"
>
<!--
WARNING - @mbg.generated
-->
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"strategy_id"
property=
"strategyId"
jdbcType=
"INTEGER"
/>
<result
column=
"uuid"
property=
"uuid"
jdbcType=
"VARCHAR"
/>
<result
column=
"phone"
property=
"phone"
jdbcType=
"VARCHAR"
/>
<result
column=
"staff_name"
property=
"staffName"
jdbcType=
"VARCHAR"
/>
<result
column=
"message_id"
property=
"messageId"
jdbcType=
"INTEGER"
/>
<result
column=
"push_status"
property=
"pushStatus"
jdbcType=
"INTEGER"
/>
<result
column=
"read_status"
property=
"readStatus"
jdbcType=
"INTEGER"
/>
<result
column=
"read_time"
property=
"readTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"read_count"
property=
"readCount"
jdbcType=
"INTEGER"
/>
<result
column=
"latest_read_time"
property=
"latestReadTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"created_by"
property=
"createdBy"
jdbcType=
"VARCHAR"
/>
<result
column=
"created_date"
property=
"createdDate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"updated_by"
property=
"updatedBy"
jdbcType=
"VARCHAR"
/>
<result
column=
"updated_date"
property=
"updatedDate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"deleted_flag"
property=
"deletedFlag"
jdbcType=
"CHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
-->
id, strategy_id, uuid, phone, staff_name, message_id, push_status, read_status,
read_time, read_count, latest_read_time, created_by, created_date, updated_by,
updated_date, deleted_flag
</sql>
</mapper>
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