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
6cf429d4
Commit
6cf429d4
authored
Jan 11, 2020
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
积分排序
parent
1648bee6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
edu_modify_table.sql
sql/edu_modify_table.sql
+4
-0
BPersonValueRepository.java
...oft/business/bpersonvalue/dao/BPersonValueRepository.java
+2
-2
No files found.
sql/edu_modify_table.sql
View file @
6cf429d4
...
@@ -41,3 +41,7 @@ ALTER table b_lesson modify column value_consume VARCHAR (16) DEFAULT 0;
...
@@ -41,3 +41,7 @@ ALTER table b_lesson modify column value_consume VARCHAR (16) DEFAULT 0;
-- 修改blesson表中 积分是null的值 20-1-6 10:39
-- 修改blesson表中 积分是null的值 20-1-6 10:39
update
b_lesson
set
value_gain
=
'0'
where
value_gain
is
null
;
update
b_lesson
set
value_gain
=
'0'
where
value_gain
is
null
;
update
b_lesson
set
value_consume
=
'0'
where
value_consume
is
null
;
update
b_lesson
set
value_consume
=
'0'
where
value_consume
is
null
;
-- 改变考试详情表中 字段字符集支持表情 20-1-10 20:20
alter
table
tm_examdata
modify
column
`e_data`
longtext
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
;
src/main/java/org/rcisoft/business/bpersonvalue/dao/BPersonValueRepository.java
View file @
6cf429d4
...
@@ -33,8 +33,8 @@ public interface BPersonValueRepository extends BaseMapper<BPersonValue> {
...
@@ -33,8 +33,8 @@ public interface BPersonValueRepository extends BaseMapper<BPersonValue> {
"<if test=\"event !=null and event != '' \"> and ((`event` like concat('%',#{event},'%')) or (ss like concat('%',#{event},'%')) ) </if> "
+
"<if test=\"event !=null and event != '' \"> and ((`event` like concat('%',#{event},'%')) or (ss like concat('%',#{event},'%')) ) </if> "
+
" ORDER BY T.person_id "
+
" 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 == '1'.toString() \"> ,T.type asc,
,CAST(if(T.type = 0,`value`,-`value`)
AS UNSIGNED) desc </if> "
+
"<if test=\" valueSort !=null and valueSort != '' and valueSort == '0'.toString() \"> ,T.type desc,CAST(
`value` AS UNSIGNED) a
sc </if> "
+
"<if test=\" valueSort !=null and valueSort != '' and valueSort == '0'.toString() \"> ,T.type desc,CAST(
if(T.type = 1,`value`,-`value`) AS UNSIGNED) de
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 == '1'.toString() \"> ,T.create_date asc</if> "
+
"<if test=\" dateSort !=null and dateSort != '' and dateSort == '0'.toString() \"> ,T.create_date desc</if> "
+
"<if test=\" dateSort !=null and dateSort != '' and dateSort == '0'.toString() \"> ,T.create_date desc</if> "
+
"</script>"
)
"</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