Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
6014962b
Commit
6014962b
authored
Apr 03, 2023
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并华颐 审批流程 代码
parent
62693996
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
src/main/java/cn/timer/api/controller/LoginController.java
+24
-24
No files found.
src/main/java/cn/timer/api/controller/LoginController.java
View file @
6014962b
...
@@ -152,7 +152,7 @@ public class LoginController {
...
@@ -152,7 +152,7 @@ public class LoginController {
@Value
(
"${config-8timer.authentication-code}"
)
@Value
(
"${config-8timer.authentication-code}"
)
public
String
authentication_code
;
public
String
authentication_code
;
//2020/0517 redis缓存taoxy
//2020/0517 redis缓存taoxy
@Autowired
@Autowired
private
HttpSession
session
;
private
HttpSession
session
;
...
@@ -1059,16 +1059,16 @@ public class LoginController {
...
@@ -1059,16 +1059,16 @@ public class LoginController {
}
else
{
}
else
{
return
ResultUtil
.
error
(
"登录失败"
);
return
ResultUtil
.
error
(
"登录失败"
);
}
}
}
else
{
}
else
{
return
ResultUtil
.
error
(
"登录有误"
);
return
ResultUtil
.
error
(
"登录有误"
);
}
}
}
else
{
}
else
{
return
ResultUtil
.
error
(
"验证失败"
);
return
ResultUtil
.
error
(
"验证失败"
);
}
}
}
else
{
}
else
{
// return ResultUtil.error("二维码已过期");
// return ResultUtil.error("二维码已过期");
return
ResultUtil
.
success
(
"4"
);
return
ResultUtil
.
success
(
"4"
);
}
}
}
}
...
@@ -1138,14 +1138,14 @@ public class LoginController {
...
@@ -1138,14 +1138,14 @@ public class LoginController {
//
//
QyzxEmpLogin
.
builder
().
orgId
(
orgcodeid
).
build
().
update
(
new
QueryWrapper
<
QyzxEmpLogin
>().
lambda
().
eq
(
QyzxEmpLogin:
:
getPhone
,
userBean
.
getQyzxEmpLogin
().
getPhone
()));
QyzxEmpLogin
.
builder
().
orgId
(
orgcodeid
).
build
().
update
(
new
QueryWrapper
<
QyzxEmpLogin
>().
lambda
().
eq
(
QyzxEmpLogin:
:
getPhone
,
userBean
.
getQyzxEmpLogin
().
getPhone
()));
QyzxEmpLogin
qyzxEmpLogin1
=
new
LambdaQueryChainWrapper
<
QyzxEmpLogin
>(
qyzxEmpLoginMapper
)
QyzxEmpLogin
qyzxEmpLogin1
=
new
LambdaQueryChainWrapper
<
QyzxEmpLogin
>(
qyzxEmpLoginMapper
)
.
eq
(
QyzxEmpLogin:
:
getPhone
,
userBean
.
getQyzxEmpLogin
().
getPhone
()).
one
();
.
eq
(
QyzxEmpLogin:
:
getPhone
,
userBean
.
getQyzxEmpLogin
().
getPhone
()).
one
();
if
(
qyzxEmpLogin1
!=
null
)
{
if
(
qyzxEmpLogin1
!=
null
)
{
return
loginhan
(
qyzxEmpLogin1
,
request
);
return
loginhan
(
qyzxEmpLogin1
,
request
);
}
else
{
}
else
{
return
ResultUtil
.
error
(
"切换失败!!"
);
return
ResultUtil
.
error
(
"切换失败!!"
);
}
}
}
}
...
@@ -1153,14 +1153,14 @@ public class LoginController {
...
@@ -1153,14 +1153,14 @@ public class LoginController {
@ApiOperation
(
value
=
"刷新纪录"
,
httpMethod
=
"GET"
,
notes
=
"是否有账号"
)
@ApiOperation
(
value
=
"刷新纪录"
,
httpMethod
=
"GET"
,
notes
=
"是否有账号"
)
public
Result
<
QyzxEmpLogin
>
RecordBreaking
(
@CurrentUser
UserBean
userBean
,
HttpServletRequest
request
)
{
public
Result
<
QyzxEmpLogin
>
RecordBreaking
(
@CurrentUser
UserBean
userBean
,
HttpServletRequest
request
)
{
QyzxEmpLogin
qyzxEmpLogin1
=
new
LambdaQueryChainWrapper
<
QyzxEmpLogin
>(
qyzxEmpLoginMapper
)
QyzxEmpLogin
qyzxEmpLogin1
=
new
LambdaQueryChainWrapper
<
QyzxEmpLogin
>(
qyzxEmpLoginMapper
)
.
eq
(
QyzxEmpLogin:
:
getPhone
,
userBean
.
getQyzxEmpLogin
().
getPhone
()).
eq
(
QyzxEmpLogin:
:
getOrgId
,
userBean
.
getOrgCode
()).
one
();
.
eq
(
QyzxEmpLogin:
:
getPhone
,
userBean
.
getQyzxEmpLogin
().
getPhone
()).
eq
(
QyzxEmpLogin:
:
getOrgId
,
userBean
.
getOrgCode
()).
one
();
if
(
qyzxEmpLogin1
!=
null
)
{
if
(
qyzxEmpLogin1
!=
null
)
{
return
loginhan
(
qyzxEmpLogin1
,
request
);
return
loginhan
(
qyzxEmpLogin1
,
request
);
}
else
{
}
else
{
return
ResultUtil
.
error
(
"刷新失败!!"
);
return
ResultUtil
.
error
(
"刷新失败!!"
);
}
}
}
}
...
...
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