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
be2ce15b
Commit
be2ce15b
authored
Jun 05, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.5.4-社保派单合同日期拦截优化
parent
6bc49bd2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+9
-7
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
be2ce15b
...
...
@@ -2253,15 +2253,17 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
if
(
Common
.
isEmpty
(
empVo
.
getContractName
())
&&
validContractInfo
(
errorMessageList
,
excel
))
{
return
true
;
}
if
(
Common
.
isNotNull
(
empVo
.
getContractStart
())
&&
Common
.
isNotNull
(
excel
.
getContractStart
())
)
{
if
(
Common
.
isNotNull
(
empVo
.
getContractStart
()))
{
// 系统已存在的合同起缴日期
String
conYearMonthDay
=
DateUtil
.
formatDatePatten
(
empVo
.
getContractStart
(),
DateUtil
.
ISO_EXPANDED_DATE_FORMAT
);
String
excelConYearMonthDay
=
DateUtil
.
formatDatePatten
(
excel
.
getContractStart
(),
DateUtil
.
ISO_EXPANDED_DATE_FORMAT
);
if
(
Common
.
isNotNull
(
excel
.
getContractStart
()))
{
String
conYearMonthDay
=
DateUtil
.
formatDatePatten
(
empVo
.
getContractStart
(),
DateUtil
.
ISO_EXPANDED_DATE_FORMAT
);
String
excelConYearMonthDay
=
DateUtil
.
formatDatePatten
(
excel
.
getContractStart
(),
DateUtil
.
ISO_EXPANDED_DATE_FORMAT
);
if
(!
conYearMonthDay
.
equals
(
excelConYearMonthDay
))
{
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
"系统内[合同]起缴日期年月日【"
+
conYearMonthDay
+
"】与派单[合同]日期的年月日【"
+
excelConYearMonthDay
+
"】不一致!禁止派单!"
));
return
true
;
}
}
String
conYearMonth
=
DateUtil
.
formatDatePatten
(
empVo
.
getContractStart
(),
DateUtil
.
DATETIME_YYYYMM
);
if
(
Common
.
isEmpty
(
excel
.
getTrustRemark
()))
{
if
(
judgeConStartAndSocialFund
(
errorMessageList
,
excel
,
conYearMonth
,
excel
.
getPensionStart
(),
"养老"
))
{
return
true
;}
...
...
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