Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-riskmanage
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 b13f033a
authored
Nov 26, 2025
by
杨卫
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:1047115:学习中心人员推送课程实体添加阅读状态
1 parent
cd1bccea
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
19 deletions
rpc-dj-riskmanage-api/src/main/java/cn/com/glsx/dj/riskmanage/model/learningcenter/LearningCenterPersonCourse.java
rpc-dj-riskmanage/src/main/java/cn/com/glsx/dj/riskmanage/mapper/learningcenter/LearningCenterPersonCourseMapper.java
rpc-dj-riskmanage/src/main/resources/META-INF/orm/LearningCenterPersonCourseMapper.xml
rpc-dj-riskmanage-api/src/main/java/cn/com/glsx/dj/riskmanage/model/learningcenter/LearningCenterPersonCourse.java
View file @
b13f033
...
@@ -43,6 +43,12 @@ public class LearningCenterPersonCourse {
...
@@ -43,6 +43,12 @@ public class LearningCenterPersonCourse {
private
String
coursePushSource
;
private
String
coursePushSource
;
/**
/**
* 阅读状态(0:未读,1:已读)
*/
@Column
(
name
=
"look_status"
)
private
String
lookStatus
;
/**
* 课程类型 (1:必修, 2:选修)
* 课程类型 (1:必修, 2:选修)
*/
*/
@Column
(
name
=
"plan_course_type"
)
@Column
(
name
=
"plan_course_type"
)
...
@@ -187,6 +193,24 @@ public class LearningCenterPersonCourse {
...
@@ -187,6 +193,24 @@ public class LearningCenterPersonCourse {
}
}
/**
/**
* 获取阅读状态(0:未读,1:已读)
*
* @return look_status - 阅读状态(0:未读,1:已读)
*/
public
String
getLookStatus
()
{
return
lookStatus
;
}
/**
* 设置阅读状态(0:未读,1:已读)
*
* @param lookStatus 阅读状态(0:未读,1:已读)
*/
public
void
setLookStatus
(
String
lookStatus
)
{
this
.
lookStatus
=
lookStatus
==
null
?
null
:
lookStatus
.
trim
();
}
/**
* 获取课程类型 (1:必修, 2:选修)
* 获取课程类型 (1:必修, 2:选修)
*
*
* @return plan_course_type - 课程类型 (1:必修, 2:选修)
* @return plan_course_type - 课程类型 (1:必修, 2:选修)
...
...
rpc-dj-riskmanage/src/main/java/cn/com/glsx/dj/riskmanage/mapper/learningcenter/LearningCenterPersonCourseMapper.java
View file @
b13f033
package
cn
.
com
.
glsx
.
dj
.
riskmanage
.
mapper
.
learningcenter
;
package
cn
.
com
.
glsx
.
dj
.
riskmanage
.
mapper
.
learningcenter
;
import
cn.com.glsx.dj.riskmanage.model.learningcenter.LearningCenterPersonCourse
;
import
cn.com.glsx.dj.riskmanage.model.learningcenter.LearningCenterPersonCourse
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.oreframework.datasource.mybatis.mapper.OreMapper
;
import
org.oreframework.datasource.mybatis.mapper.OreMapper
;
@Mapper
public
interface
LearningCenterPersonCourseMapper
extends
OreMapper
<
LearningCenterPersonCourse
>
{
public
interface
LearningCenterPersonCourseMapper
extends
OreMapper
<
LearningCenterPersonCourse
>
{
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-riskmanage/src/main/resources/META-INF/orm/LearningCenterPersonCourseMapper.xml
View file @
b13f033
<?xml version="1.0" encoding="UTF-8"
?>
<?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"
>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.com.glsx.dj.riskmanage.mapper.learningcenter.LearningCenterPersonCourseMapper"
>
<mapper
namespace=
"cn.com.glsx.dj.riskmanage.mapper.learningcenter.LearningCenterPersonCourseMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.com.glsx.dj.riskmanage.model.learningcenter.LearningCenterPersonCourse"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.com.glsx.dj.riskmanage.model.learningcenter.LearningCenterPersonCourse"
>
<!--
<!--
WARNING - @mbg.generated
WARNING - @mbg.generated
-->
-->
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"person_id"
property=
"personId"
jdbcType=
"INTEGER"
/>
<result
column=
"person_id"
jdbcType=
"INTEGER"
property=
"personId"
/>
<result
column=
"plan_id"
property=
"planId"
jdbcType=
"INTEGER"
/>
<result
column=
"plan_id"
jdbcType=
"INTEGER"
property=
"planId"
/>
<result
column=
"person_name"
property=
"personName"
jdbcType=
"VARCHAR"
/>
<result
column=
"person_name"
jdbcType=
"VARCHAR"
property=
"personName"
/>
<result
column=
"course_id"
property=
"courseId"
jdbcType=
"VARCHAR"
/>
<result
column=
"course_id"
jdbcType=
"VARCHAR"
property=
"courseId"
/>
<result
column=
"course_push_source"
property=
"coursePushSource"
jdbcType=
"CHAR"
/>
<result
column=
"course_push_source"
jdbcType=
"CHAR"
property=
"coursePushSource"
/>
<result
column=
"plan_course_type"
property=
"planCourseType"
jdbcType=
"TINYINT"
/>
<result
column=
"look_status"
jdbcType=
"CHAR"
property=
"lookStatus"
/>
<result
column=
"created_by"
property=
"createdBy"
jdbcType=
"VARCHAR"
/>
<result
column=
"plan_course_type"
jdbcType=
"TINYINT"
property=
"planCourseType"
/>
<result
column=
"created_date"
property=
"createdDate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"created_by"
jdbcType=
"VARCHAR"
property=
"createdBy"
/>
<result
column=
"updated_by"
property=
"updatedBy"
jdbcType=
"VARCHAR"
/>
<result
column=
"created_date"
jdbcType=
"TIMESTAMP"
property=
"createdDate"
/>
<result
column=
"updated_date"
property=
"updatedDate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"updated_by"
jdbcType=
"VARCHAR"
property=
"updatedBy"
/>
<result
column=
"deleted_flag"
property=
"deletedFlag"
jdbcType=
"CHAR"
/>
<result
column=
"updated_date"
jdbcType=
"TIMESTAMP"
property=
"updatedDate"
/>
<result
column=
"deleted_flag"
jdbcType=
"CHAR"
property=
"deletedFlag"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--
<!--
WARNING - @mbg.generated
WARNING - @mbg.generated
-->
-->
id, person_id, plan_id, person_name, course_id, course_push_source,
plan_course_type
,
id, person_id, plan_id, person_name, course_id, course_push_source,
look_status
,
created_by, created_date, updated_by, updated_date, deleted_flag
plan_course_type,
created_by, created_date, updated_by, updated_date, deleted_flag
</sql>
</sql>
</mapper>
</mapper>
\ No newline at end of file
\ No newline at end of file
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