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
a57601a5
Commit
a57601a5
authored
Jan 27, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
见费出单逻辑-fxj
parent
387cb5ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+17
-16
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
a57601a5
...
...
@@ -411,7 +411,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
if
(
Common
.
isNotNull
(
dataR
)
&&
Common
.
isNotNull
(
dataR
.
getData
())
&&
Common
.
isNotNull
(
dataR
.
getData
().
getRegistDate
()))
{
preDispatchDate
=
dataR
.
getData
().
get
Regist
Date
();
preDispatchDate
=
dataR
.
getData
().
get
PriDis
Date
();
}
else
{
return
R
.
failed
(
"获取最近工作日失败!"
);
}
...
...
@@ -594,22 +594,23 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
LocalTime
currentTime
=
LocalTime
.
now
();
R
<
TEmployeeInsuranceWorkDayVo
>
dataR
;
if
(!
currentTime
.
isBefore
(
LocalTime
.
of
(
15
,
20
))
&&
!
currentTime
.
equals
(
LocalTime
.
of
(
15
,
20
)))
{
//日期赋值
dayVo
=
new
TEmployeeInsuranceWorkDayVo
();
dayVo
.
setType
(
CommonConstants
.
TWO_STRING
);
dayVo
.
setRegistDate
(
preDispatchDate
);
try
{
dataR
=
socialDaprUtils
.
getBeforeOrAfterWorkDay
(
dayVo
);
if
(
Common
.
isNotNull
(
dataR
)
&&
Common
.
isNotNull
(
dataR
.
getData
())
&&
Common
.
isNotNull
(
dataR
.
getData
().
getRegistDate
()))
{
preDispatchDate
=
dataR
.
getData
().
getRegistDate
();
}
else
{
return
R
.
failed
(
"获取最近工作日失败!"
);
}
}
catch
(
Exception
e
){
return
R
.
failed
(
"获取最近工作日异常:"
+
e
.
getMessage
());
preDispatchDate
=
DateUtil
.
addDayByDate
(
preDispatchDate
,
1
);
}
//日期赋值
dayVo
=
new
TEmployeeInsuranceWorkDayVo
();
dayVo
.
setType
(
CommonConstants
.
TWO_STRING
);
dayVo
.
setRegistDate
(
preDispatchDate
);
try
{
dataR
=
socialDaprUtils
.
getBeforeOrAfterWorkDay
(
dayVo
);
if
(
Common
.
isNotNull
(
dataR
)
&&
Common
.
isNotNull
(
dataR
.
getData
())
&&
Common
.
isNotNull
(
dataR
.
getData
().
getRegistDate
()))
{
preDispatchDate
=
dataR
.
getData
().
getPriDisDate
();
}
else
{
return
R
.
failed
(
"获取最近工作日失败!"
);
}
}
catch
(
Exception
e
){
return
R
.
failed
(
"获取最近工作日异常:"
+
e
.
getMessage
());
}
YifuUser
user
=
SecurityUtils
.
getUser
();
Map
<
String
,
TSettleDomainSelectVo
>
mapSelectVo
=
new
HashMap
<>();
...
...
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