Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
涂亚平
/
subsidy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f973e2ad
authored
Mar 15, 2022
by
涂亚平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022.03.15 疫情备份
加了个按照学员排序 签到时间加了时分秒
1 parent
aeb159d0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/main/java/com/subsidy/service/impl/AdministerServiceImpl.java
src/main/resources/mapper/ClassMemberMappingMapper.xml
src/main/java/com/subsidy/service/impl/AdministerServiceImpl.java
View file @
f973e2a
...
...
@@ -666,7 +666,7 @@ public class AdministerServiceImpl extends ServiceImpl<AdministerMapper, Adminis
for
(
SignInRecordDO
signInRecordDO
:
signInRecordDOS
)
{
//String[] array = signInRecordDO.split(":");
//时间戳转时间
stringBuilder
.
append
(
signInRecordDO
.
getSignInDate
().
toString
().
replace
(
"T"
,
" "
)
.
split
(
" "
)[
0
]
).
append
(
";"
);
stringBuilder
.
append
(
signInRecordDO
.
getSignInDate
().
toString
().
replace
(
"T"
,
" "
)).
append
(
";"
);
}
if
(
StringUtils
.
isNotBlank
(
stringBuilder
.
toString
()))
{
String
signInDate
=
stringBuilder
.
toString
().
substring
(
0
,
stringBuilder
.
length
()
-
1
);
...
...
@@ -726,7 +726,7 @@ public class AdministerServiceImpl extends ServiceImpl<AdministerMapper, Adminis
for
(
SignInRecordDO
signInRecordDO
:
signInRecordDOS
)
{
//String[] array = signInRecordDO.split(":");
//时间戳转时间
stringBuilder
.
append
(
signInRecordDO
.
getSignInDate
().
toString
().
replace
(
"T"
,
" "
)
.
split
(
" "
)[
0
]
).
append
(
";"
);
stringBuilder
.
append
(
signInRecordDO
.
getSignInDate
().
toString
().
replace
(
"T"
,
" "
)).
append
(
";"
);
}
if
(
StringUtils
.
isNotBlank
(
stringBuilder
.
toString
()))
{
String
signInDate
=
stringBuilder
.
toString
().
substring
(
0
,
stringBuilder
.
length
()
-
1
);
...
...
src/main/resources/mapper/ClassMemberMappingMapper.xml
View file @
f973e2a
...
...
@@ -59,6 +59,7 @@
<if
test=
"userName !=null and userName !=''"
>
and t2.user_name like concat('%',#{userName} ,'%')
</if>
order by t2.id
</select>
<select
id=
"getMemberClassCount"
parameterType=
"long"
resultType=
"long"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment