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
d511ed7a
Commit
d511ed7a
authored
Oct 22, 2024
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 薪酬的薪资导入——加日志
parent
26d995c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
TSalaryEmployeeServiceImpl.java
.../yifu/salary/service/impl/TSalaryEmployeeServiceImpl.java
+5
-5
SalaryAccountUtil.java
...ifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
+2
-2
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryEmployeeServiceImpl.java
View file @
d511ed7a
...
...
@@ -322,7 +322,7 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe
TCheckBankNo
checkBankNo
;
for
(
TSalaryEmployee
employee
:
saveNewEmpList
)
{
// cyx-mvp1.7.0:调整 代发户的新员工也校验银行卡号
log
.
info
(
"走到了》》》》saveNewEmployeeList"
);
log
.
error
(
"走到了》》》》saveNewEmployeeList"
);
if
(
Common
.
isNotNull
(
employee
.
getBankNo
())
//&& (Common.isEmpty(employee.getIssueStatus()) || employee.getIssueStatus().equals(CommonConstants.ZERO_INT))
&&
(
Common
.
isEmpty
(
employee
.
getSalaryGiveTime
())
...
...
@@ -342,12 +342,12 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe
Map
<
String
,
Boolean
>
bankMap
=
new
HashMap
<>();
Map
<
String
,
Boolean
>
phoneMap
=
new
HashMap
<>();
if
(!
bankList
.
isEmpty
())
{
log
.
info
(
"走到了》》》》批量校验 卡号与手机号"
);
log
.
error
(
"走到了》》》》批量校验 卡号与手机号"
);
R
<
CheckBatchVo
>
checkListR
=
HttpDaprUtil
.
invokeMethodPost
(
checkProperties
.
getAppUrl
(),
checkProperties
.
getAppId
()
,
"/tcheckbankno/inner/checkBankNoBatch"
,
bankList
,
CheckBatchVo
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
checkListR
!=
null
&&
checkListR
.
getData
()
!=
null
)
{
bankMap
=
checkListR
.
getData
().
getCheckMap
();
log
.
info
(
"走到了》》》》bankMap"
,
bankMap
.
toString
());
log
.
error
(
"走到了》》》》bankMap"
,
bankMap
.
toString
());
}
}
if
(!
phoneList
.
isEmpty
())
{
...
...
@@ -360,7 +360,7 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe
boolean
isFalse
=
false
;
for
(
TSalaryEmployee
employee
:
saveNewEmpList
)
{
log
.
info
(
"走到了》》》》代发户的新员工也校验银行卡号"
);
log
.
error
(
"走到了》》》》代发户的新员工也校验银行卡号"
);
// cyx-mvp1.7.0:调整 代发户的新员工也校验银行卡号
if
(
Common
.
isNotNull
(
employee
.
getBankNo
())
//&& (Common.isEmpty(employee.getIssueStatus()) || employee.getIssueStatus().equals(CommonConstants.ZERO_INT))
...
...
@@ -368,7 +368,7 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe
||
CommonConstants
.
ZERO_STRING
.
equals
(
employee
.
getSalaryGiveTime
())
||
(
CommonConstants
.
ONE_STRING
.
equals
(
employee
.
getSalaryGiveTime
())
&&
Common
.
isNotNull
(
employee
.
getBankNo
()))))
{
if
(
bankMap
.
get
(
employee
.
getBankNo
())
!=
null
)
{
log
.
info
(
"走到了》》》》校验银行卡号"
,
bankMap
.
get
(
employee
.
getBankNo
()));
log
.
error
(
"走到了》》》》校验银行卡号"
,
bankMap
.
get
(
employee
.
getBankNo
()));
if
(
Boolean
.
FALSE
.
equals
(
bankMap
.
get
(
employee
.
getBankNo
())))
{
errorList
.
add
(
new
ErrorMessage
((
employee
.
getLineNums
()
),
"第"
+
(
employee
.
getLineNums
()
)
+
"行:该员工新建失败:【姓名与卡号验证:认证不一致】"
));
isFalse
=
true
;
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
View file @
d511ed7a
...
...
@@ -631,10 +631,10 @@ public class SalaryAccountUtil implements Serializable {
}
}
if
(
canSave
)
{
log
.
info
(
"走到了》》》》canSave"
);
log
.
error
(
"走到了》》》》canSave"
);
// 新增
if
(!
saveNewEmpList
.
isEmpty
())
{
log
.
info
(
"走到了》》》》saveNewEmpList"
);
log
.
error
(
"走到了》》》》saveNewEmpList"
);
tSalaryEmployeeService
.
saveNewEmployeeList
(
saveNewEmpList
,
errorList
);
}
// 更新人员信息
...
...
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