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
b6b4f765
Commit
b6b4f765
authored
Jan 10, 2020
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排序
parent
2d8cd3c4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
BDiscussController.java
...soft/business/bdiscuss/controller/BDiscussController.java
+1
-2
BPersonValueRepository.java
...oft/business/bpersonvalue/dao/BPersonValueRepository.java
+1
-1
No files found.
src/main/java/org/rcisoft/business/bdiscuss/controller/BDiscussController.java
View file @
b6b4f765
...
...
@@ -41,8 +41,7 @@ public class BDiscussController extends PaginationController<BDiscuss> {
@ApiOperation
(
value
=
"801 添加"
,
notes
=
"添加"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"businessId"
,
value
=
"课程id 修改章节时传入"
,
required
=
true
,
dataType
=
"varchar"
),
@ApiImplicitParam
(
name
=
"lessonId"
,
value
=
"课程ID"
,
required
=
true
,
dataType
=
"varchar"
),
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"lessonId"
,
value
=
"课程ID"
,
required
=
true
,
dataType
=
"varchar"
),
@ApiImplicitParam
(
name
=
"content"
,
value
=
"评论内容"
,
required
=
true
,
dataType
=
"varchar"
),
@ApiImplicitParam
(
name
=
"pid"
,
value
=
"上一级(评论别人的评论需要)"
,
required
=
true
,
dataType
=
"varchar"
),
@ApiImplicitParam
(
name
=
"studentId"
,
value
=
"评论人id"
,
required
=
true
,
dataType
=
"varchar"
)})
...
...
src/main/java/org/rcisoft/business/bpersonvalue/dao/BPersonValueRepository.java
View file @
b6b4f765
...
...
@@ -34,7 +34,7 @@ public interface BPersonValueRepository extends BaseMapper<BPersonValue> {
" ORDER BY T.person_id "
+
"<if test=\" valueSort !=null and valueSort != '' and valueSort == '1'.toString() \"> ,T.type asc,CAST(`value` AS UNSIGNED) desc </if> "
+
"<if test=\" valueSort !=null and valueSort != '' and valueSort == '0'.toString() \"> ,T.type desc,CAST(`value` AS UNSIGNED)
de
sc </if> "
+
"<if test=\" valueSort !=null and valueSort != '' and valueSort == '0'.toString() \"> ,T.type desc,CAST(`value` AS UNSIGNED)
a
sc </if> "
+
"<if test=\" dateSort !=null and dateSort != '' and dateSort == '1'.toString() \"> ,T.create_date asc</if> "
+
"<if test=\" dateSort !=null and dateSort != '' and dateSort == '0'.toString() \"> ,T.create_date desc</if> "
+
"</script>"
)
...
...
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