Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
d0b7dc3a
Commit
d0b7dc3a
authored
Jan 13, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.4-salary代发户4次上传代码-优化
parent
c7d2638e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
TCheckBankNoServiceImpl.java
...d/plus/v1/check/service/impl/TCheckBankNoServiceImpl.java
+2
-5
TSalaryStandardIssueServiceImpl.java
.../salary/service/impl/TSalaryStandardIssueServiceImpl.java
+1
-1
No files found.
yifu-check/yifu-check-biz/src/main/java/com/yifu/cloud/plus/v1/check/service/impl/TCheckBankNoServiceImpl.java
View file @
d0b7dc3a
...
@@ -46,9 +46,6 @@ public class TCheckBankNoServiceImpl extends ServiceImpl<TCheckBankNoMapper, TCh
...
@@ -46,9 +46,6 @@ public class TCheckBankNoServiceImpl extends ServiceImpl<TCheckBankNoMapper, TCh
@Override
@Override
public
R
<
TCheckBankNo
>
checkBankNo
(
String
name
,
String
cardNo
)
{
public
R
<
TCheckBankNo
>
checkBankNo
(
String
name
,
String
cardNo
)
{
if
(
Common
.
isEmpty
(
name
)
||
Common
.
isEmpty
(
cardNo
)){
R
.
failed
(
MsgUtils
.
getMessage
(
ErrorCodes
.
CHECKS_BANK_NO_REQUEST_PARAM_ERROR
));
}
synchronized
(
this
){
synchronized
(
this
){
TCheckBankNo
checkBankNo
=
baseMapper
.
selectOne
(
Wrappers
.<
TCheckBankNo
>
query
().
lambda
()
TCheckBankNo
checkBankNo
=
baseMapper
.
selectOne
(
Wrappers
.<
TCheckBankNo
>
query
().
lambda
()
.
eq
(
TCheckBankNo:
:
getBankNo
,
cardNo
)
.
eq
(
TCheckBankNo:
:
getBankNo
,
cardNo
)
...
@@ -56,9 +53,9 @@ public class TCheckBankNoServiceImpl extends ServiceImpl<TCheckBankNoMapper, TCh
...
@@ -56,9 +53,9 @@ public class TCheckBankNoServiceImpl extends ServiceImpl<TCheckBankNoMapper, TCh
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
checkBankNo
)){
if
(
Common
.
isNotNull
(
checkBankNo
)){
if
(
"01"
.
equals
(
checkBankNo
.
getResult
()))
{
if
(
"01"
.
equals
(
checkBankNo
.
getResult
()))
{
R
.
ok
(
checkBankNo
);
return
R
.
ok
(
checkBankNo
);
}
else
{
}
else
{
R
.
failed
(
checkBankNo
);
return
R
.
failed
(
checkBankNo
);
}
}
}
}
R
<
TCheckBankNo
>
resR
=
ChecksUtil
.
checkBankNoTwo
(
name
,
cardNo
,
canCheckService
.
getCanCheck
());
R
<
TCheckBankNo
>
resR
=
ChecksUtil
.
checkBankNoTwo
(
name
,
cardNo
,
canCheckService
.
getCanCheck
());
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryStandardIssueServiceImpl.java
View file @
d0b7dc3a
...
@@ -153,7 +153,7 @@ public class TSalaryStandardIssueServiceImpl extends ServiceImpl<TSalaryStandard
...
@@ -153,7 +153,7 @@ public class TSalaryStandardIssueServiceImpl extends ServiceImpl<TSalaryStandard
}
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TSalaryStandardIssueSearchVo
entity
)
{
private
LambdaQueryWrapper
buildQueryWrapper
(
TSalaryStandardIssueSearchVo
entity
)
{
LambdaQueryWrapper
<
TSalaryStandardIssue
>
wrapper
=
Wrappers
.
lambdaQuery
();
LambdaQueryWrapper
<
TSalaryStandardIssue
>
wrapper
=
Wrappers
.
lambdaQuery
(
entity
);
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
wrapper
.
ge
(
TSalaryStandardIssue:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
wrapper
.
ge
(
TSalaryStandardIssue:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
.
le
(
TSalaryStandardIssue:
:
getCreateTime
,
.
le
(
TSalaryStandardIssue:
:
getCreateTime
,
...
...
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