Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aserver
Project
Project
Details
Activity
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
15所TongWeb
aserver
Commits
cf4c602d
Commit
cf4c602d
authored
Mar 23, 2021
by
成亚卿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
適配sql
parent
abd4d84d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
ST-dialect.sql
src/main/resources/ST-dialect.sql
+16
-0
No files found.
src/main/resources/ST-dialect.sql
View file @
cf4c602d
...
...
@@ -23,3 +23,18 @@ set errorcount = decode(trunc(last_login_time), trunc(sysdate),
last_login_time
=
sysdate
where
id
=#
para
(
id
)
#
end
###
当密码正确时查询错误次数
###
xiaoying
20200406
缺陷
YZJ
-
2598
修改登录成功问题
#
sql
(
"checkWhenPwdOk"
)
select
case
when
trunc
(
last_login_time
)
!=
trunc
(
sysdate
)
then
0
when
#
(
hour
)
/
24
<
to_number
((
sysdate
-
to_date
(
last_login_time
,
'yyyy-MM-dd HH24:mi:ss'
)))
>=
#
(
permitLoginTimes
)
then
errorcount
else
0
end
"flag"
from
as_user
where
id
=#
(
id
)
#
end
\ No newline at end of file
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