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
ce6ed6a5
Commit
ce6ed6a5
authored
Jul 10, 2020
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改平台推荐
parent
0db857f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
17 deletions
+14
-17
BChapterRepository.java
...org/rcisoft/business/bchapter/dao/BChapterRepository.java
+14
-17
No files found.
src/main/java/org/rcisoft/business/bchapter/dao/BChapterRepository.java
View file @
ce6ed6a5
...
@@ -52,23 +52,20 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
...
@@ -52,23 +52,20 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
* @param param
* @param param
* @return
* @return
*/
*/
@Select
(
"<script>SELECT\n"
+
@Select
(
"<script>SELECT "
+
"\tbc.*,\n"
+
" bc.*, "
+
"\tbf.file_size AS fileSize \n"
+
" bf.file_size AS fileSize "
+
"FROM\n"
+
"FROM "
+
"\tb_chapter bc\n"
+
" b_chapter bc "
+
"\tLEFT JOIN b_file bf ON bf.chapter_id = bc.business_id \n"
+
" LEFT JOIN b_file bf ON bf.chapter_id = bc.business_id "
+
"WHERE\n"
+
"WHERE "
+
"\tbc.del_flag = 0 \n"
+
" bc.del_flag = 0 "
+
"\tAND bc.flag = 1 \n"
+
" AND bc.flag = 1 "
+
"\tAND bc.pid = - 1 \n"
+
" AND bc.pid = - 1 "
+
"\tAND bc.lesson_id = #{lessonId}\n"
+
" AND bc.lesson_id = #{lessonId} "
+
"\t\n"
+
// " <if test=\"corpId !=null and corpId != ''\">and bc.corp_id = #{corpId}</if>" +
" <if test=\"corpId !=null and corpId != ''\">and bc.corp_id = #{corpId}</if>"
+
"ORDER BY "
+
// "\tAND bc.corp_id = #{corpId}\n" +
" sort ASC</script>"
)
"\t\n"
+
"ORDER BY\n"
+
"\tsort ASC</script>"
)
@ResultMap
(
value
=
"SupperChildListResultMap"
)
@ResultMap
(
value
=
"SupperChildListResultMap"
)
List
<
QueryChapterListResDTO
>
queryBChapters
(
Map
<
String
,
Object
>
param
);
List
<
QueryChapterListResDTO
>
queryBChapters
(
Map
<
String
,
Object
>
param
);
...
...
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