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
f1799758
Commit
f1799758
authored
Nov 08, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化查询条件
parent
b545fe63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
TSalaryStandardServiceImpl.java
.../yifu/salary/service/impl/TSalaryStandardServiceImpl.java
+17
-5
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryStandardServiceImpl.java
View file @
f1799758
...
...
@@ -594,9 +594,15 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
standardParam
.
setFd_3b3d3ec85bfeb0
(
s
.
getSalaryMonth
().
substring
(
0
,
4
)
+
CommonConstants
.
CENTER_SPLIT_LINE_STRING
+
s
.
getSalaryMonth
().
substring
(
4
,
6
));
// 推送主表信息
sendBack
=
ekpSalaryUtil
.
sendStandardToEKP
(
s
.
getCreateName
(),
standardParam
);
String
loginName
;
if
(
user
!=
null
)
{
loginName
=
user
.
getUsername
();
}
else
{
loginName
=
s
.
getCreateName
();
}
sendBack
=
ekpSalaryUtil
.
sendStandardToEKP
(
loginName
,
standardParam
);
if
(
Common
.
isEmpty
(
sendBack
)
||
sendBack
.
length
()
!=
32
)
{
sendBack
=
ekpSalaryUtil
.
sendStandardToEKP
(
s
.
getCreateName
()
,
standardParam
);
sendBack
=
ekpSalaryUtil
.
sendStandardToEKP
(
loginName
,
standardParam
);
}
s
.
setSendTime
(
new
Date
());
s
.
setSendMonth
(
nowMonth
);
...
...
@@ -901,9 +907,16 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
param
.
setFd_3b3c293745e7b4
(
ss
.
getDeptName
());
param
.
setFd_3b3c2935c13056
(
ss
.
getDeptNo
());
param
.
setFd_3b3c293811c0ee
(
ss
.
getApplyNo
());
String
sendBack
=
ekpSalaryUtil
.
backStandardToEKP
(
ss
.
getCreateName
(),
param
);
YifuUser
user
=
SecurityUtils
.
getUser
();
String
loginName
;
if
(
user
!=
null
)
{
loginName
=
user
.
getUsername
();
}
else
{
loginName
=
ss
.
getCreateName
();
}
String
sendBack
=
ekpSalaryUtil
.
backStandardToEKP
(
loginName
,
param
);
if
(
Common
.
isEmpty
(
sendBack
)
||
sendBack
.
length
()
!=
32
)
{
sendBack
=
ekpSalaryUtil
.
backStandardToEKP
(
ss
.
getCreateName
()
,
param
);
sendBack
=
ekpSalaryUtil
.
backStandardToEKP
(
loginName
,
param
);
}
if
(
Common
.
isNotNull
(
sendBack
)
&&
sendBack
.
length
()
==
32
)
{
// 更新薪资为确认不通过
...
...
@@ -922,7 +935,6 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
,
"/tincome/inner/deleteIncomeAndDetailByApplyNo"
,
income
,
Object
.
class
,
SecurityConstants
.
FROM_IN
);
// 添加流程进展明细
YifuUser
user
=
SecurityUtils
.
getUser
();
if
(
user
!=
null
)
{
this
.
saveRecordLog
(
ss
,
user
,
CommonConstants
.
ZERO_STRING
,
"从EKP退表"
);
}
...
...
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