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
d2c889aa
Commit
d2c889aa
authored
Sep 27, 2019
by
王淑君
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改备注
parent
cdb6dfe6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
BCourseRepository.java
...a/org/rcisoft/business/bcourse/dao/BCourseRepository.java
+1
-1
BDiscussController.java
...soft/business/bdiscuss/controller/BDiscussController.java
+1
-1
BDiscussService.java
...rg/rcisoft/business/bdiscuss/service/BDiscussService.java
+0
-1
No files found.
src/main/java/org/rcisoft/business/bcourse/dao/BCourseRepository.java
View file @
d2c889aa
...
@@ -15,7 +15,7 @@ import java.util.Map;
...
@@ -15,7 +15,7 @@ import java.util.Map;
public
interface
BCourseRepository
extends
BaseMapper
<
BCourse
>
{
public
interface
BCourseRepository
extends
BaseMapper
<
BCourse
>
{
@Select
(
"<script>SELECT * FROM b_course where del_flag != 1 and flag = 1 "
+
@Select
(
"<script>SELECT
DISTINCT
* FROM b_course where del_flag != 1 and flag = 1 "
+
"<if test=\"cName!=null and cName != ''\"> and c_name like CONCAT('%',#{cName},'%') </if>"
+
"<if test=\"cName!=null and cName != ''\"> and c_name like CONCAT('%',#{cName},'%') </if>"
+
"ORDER BY sort</script>"
)
"ORDER BY sort</script>"
)
@ResultMap
(
value
=
"ChildListResultMap"
)
@ResultMap
(
value
=
"ChildListResultMap"
)
...
...
src/main/java/org/rcisoft/business/bdiscuss/controller/BDiscussController.java
View file @
d2c889aa
...
@@ -30,7 +30,7 @@ import java.util.List;
...
@@ -30,7 +30,7 @@ import java.util.List;
/**
/**
* Created by on 2019-9-25 9:03:09.
* Created by on 2019-9-25 9:03:09.
*/
*/
@Api
(
tags
=
"8
章节
"
)
@Api
(
tags
=
"8
课程评论
"
)
@RestController
@RestController
@RequestMapping
(
"bdiscuss"
)
@RequestMapping
(
"bdiscuss"
)
public
class
BDiscussController
extends
PaginationController
<
BDiscuss
>
{
public
class
BDiscussController
extends
PaginationController
<
BDiscuss
>
{
...
...
src/main/java/org/rcisoft/business/bdiscuss/service/BDiscussService.java
View file @
d2c889aa
...
@@ -52,5 +52,4 @@ public interface BDiscussService {
...
@@ -52,5 +52,4 @@ public interface BDiscussService {
List
<
BDiscussDto
>
getDiscussByLessonId
(
String
lessonId
,
String
corpId
);
List
<
BDiscussDto
>
getDiscussByLessonId
(
String
lessonId
,
String
corpId
);
}
}
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