Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-mindworkplate
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 74654553
authored
Jan 16, 2026
by
春觉晓
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加消息类型枚举
1 parent
cf73fd7d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/enums/messagebox/ModuleTypeEnums.java
rpc-dj-mindworkplate/pom.xml
rpc-dj-mindworkplate/src/main/resources/META-INF/orm/PadMessageBoxMapper.xml
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/enums/messagebox/ModuleTypeEnums.java
View file @
7465455
...
@@ -12,7 +12,7 @@ import lombok.Getter;
...
@@ -12,7 +12,7 @@ import lombok.Getter;
@AllArgsConstructor
@AllArgsConstructor
@Getter
@Getter
public
enum
ModuleTypeEnums
{
public
enum
ModuleTypeEnums
{
//模块分类:0-系统通知,1-优秀话术,2-话术预警,3-AI导师(短课程),4-学习任务(长课程)
//模块分类:0-系统通知,1-优秀话术,2-话术预警,3-AI导师(短课程),4-学习任务(长课程)
, 6-学习类策略,7-优秀案例分享策略,8-任务型策略
SYSTEM_NOTICE
(
0
,
"系统通知"
),
SYSTEM_NOTICE
(
0
,
"系统通知"
),
SCRIPT_EXCELLENT
(
1
,
"优秀话术"
),
SCRIPT_EXCELLENT
(
1
,
"优秀话术"
),
SCRIPT_WARN
(
2
,
"话术预警"
),
SCRIPT_WARN
(
2
,
"话术预警"
),
...
@@ -20,6 +20,12 @@ public enum ModuleTypeEnums {
...
@@ -20,6 +20,12 @@ public enum ModuleTypeEnums {
STUDY_TASK
(
4
,
"学习任务"
),
STUDY_TASK
(
4
,
"学习任务"
),
/** 活动中心 */
/** 活动中心 */
ACTIVITY_CENTER
(
5
,
"活动中心"
),
ACTIVITY_CENTER
(
5
,
"活动中心"
),
/** 学习类策略 */
LEARNING_POLICY
(
6
,
"学习类策略"
),
/** 优秀案例分享策略 */
EXCELLENT_CASE_POLICY
(
7
,
"优秀案例分享策略"
),
/** 任务型策略 */
TASK_POLICY
(
8
,
"任务型策略"
)
;
;
private
final
Integer
code
;
private
final
Integer
code
;
...
...
rpc-dj-mindworkplate/pom.xml
View file @
7465455
...
@@ -41,12 +41,12 @@
...
@@ -41,12 +41,12 @@
<dependency>
<dependency>
<groupId>
cn.com.glsx
</groupId>
<groupId>
cn.com.glsx
</groupId>
<artifactId>
rpc-dj-mindworkplate-api
</artifactId>
<artifactId>
rpc-dj-mindworkplate-api
</artifactId>
<version>
5.
5
.1-SNAPSHOT
</version>
<version>
5.
6
.1-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.com.glsx.dj
</groupId>
<groupId>
cn.com.glsx.dj
</groupId>
<artifactId>
rpc-dj-smartcarlife-api
</artifactId>
<artifactId>
rpc-dj-smartcarlife-api
</artifactId>
<version>
5.
5
.1-SNAPSHOT
</version>
<version>
5.
6
.1-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.com.glsx.dj
</groupId>
<groupId>
cn.com.glsx.dj
</groupId>
...
...
rpc-dj-mindworkplate/src/main/resources/META-INF/orm/PadMessageBoxMapper.xml
View file @
7465455
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
FROM pad_message_box
FROM pad_message_box
WHERE phone = #{phone}
WHERE phone = #{phone}
AND del_flag='N'
AND del_flag='N'
and module_type in(1,2,3,4)
and module_type in(1,2,3,4
,6,7,8
)
<if
test=
"status != null"
>
<if
test=
"status != null"
>
AND status = #{status}
AND status = #{status}
</if>
</if>
...
...
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