Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李丛阳
education
Commits
11f40560
Commit
11f40560
authored
Jul 15, 2020
by
liuyuanjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改标签查不到的bug'
parent
cc1ebdda
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
BLessonRepository.java
...a/org/rcisoft/business/blesson/dao/BLessonRepository.java
+1
-1
BLesson.java
...ain/java/org/rcisoft/business/blesson/entity/BLesson.java
+2
-2
BLessonServiceImpl.java
...oft/business/blesson/service/impl/BLessonServiceImpl.java
+2
-2
No files found.
src/main/java/org/rcisoft/business/blesson/dao/BLessonRepository.java
View file @
11f40560
...
...
@@ -1340,7 +1340,7 @@ public interface BLessonRepository extends BaseMapper<BLesson> {
* @param type
* @return
*/
@Select
(
"select count(0) from b_user_lesson_look where user_id = #{userId} and lesson_id = #{lessonId}
and type = #{type}
"
)
@Select
(
"select count(0) from b_user_lesson_look where user_id = #{userId} and lesson_id = #{lessonId}"
)
int
getCountByUserAndLesson
(
@Param
(
"userId"
)
String
userId
,
@Param
(
"lessonId"
)
String
lessonId
,
@Param
(
"type"
)
String
type
);
/**
...
...
src/main/java/org/rcisoft/business/blesson/entity/BLesson.java
View file @
11f40560
...
...
@@ -168,6 +168,8 @@ public class BLesson extends IdEntity<BLesson> {
@Transient
private
String
trainType
;
@ApiModelProperty
(
value
=
"平台推荐自带标签"
)
private
String
pushLabel
;
//-------------------------------------
...
...
@@ -292,8 +294,6 @@ public class BLesson extends IdEntity<BLesson> {
@ApiModelProperty
(
value
=
"数据来源企业"
)
private
String
fromCorp
;
@ApiModelProperty
(
value
=
"平台推荐自带标签"
)
private
String
pushLable
;
public
void
initModel
(){
...
...
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonServiceImpl.java
View file @
11f40560
...
...
@@ -232,8 +232,8 @@ public class BLessonServiceImpl implements BLessonService {
bLessonRepository
.
hotNumberReCount2
(
bLesson
.
getBusinessId
());
}
//添加 推送至企业信息 标签信息
if
(
StringUtils
.
isNotEmpty
(
bLesson
.
getPushLab
le
()))
{
String
[]
labels
=
bLesson
.
getPushLab
le
().
split
(
","
);
if
(
StringUtils
.
isNotEmpty
(
bLesson
.
getPushLab
el
()))
{
String
[]
labels
=
bLesson
.
getPushLab
el
().
split
(
","
);
List
<
QueryLabelResDTO
>
dto
=
bLabelRepository
.
queryPushLabel
(
labels
);
bLesson
.
setLabelList
(
dto
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment