Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
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
hubin
long-tern-care-service
Commits
63bca032
Commit
63bca032
authored
Aug 17, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异地时间为空处理
parent
5e6b7aad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
AccountServiceImpl.java
...hungraim/ltc/account/service/impl/AccountServiceImpl.java
+9
-1
No files found.
account/account-service/src/main/java/com/hungraim/ltc/account/service/impl/AccountServiceImpl.java
View file @
63bca032
...
...
@@ -533,8 +533,11 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
BigDecimal
institutionsDeserve
=
new
BigDecimal
(
0
);
BigDecimal
personalDeserve
=
new
BigDecimal
(
0
);
String
accountsStartTime
=
record
.
getAccountsStartTime
();
if
(
StringUtils
.
isEmpty
(
accountsStartTime
)){
accountsStartTime
=
record
.
getAccountsTime
()+
"-01"
;
}
Date
date
=
DateUtils
.
strToDate
(
accountsStartTime
);
int
daysOfMonth
=
DateUtils
.
getDaysOfMonth
(
date
);
int
daysOfMonth
=
getDaysOfMonth
(
date
);
String
modeName
=
record
.
getModeName
();
if
(
"上门"
.
equals
(
modeName
))
{
reportableAmount
=
new
BigDecimal
(
1200
);
...
...
@@ -566,6 +569,11 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
public
static
int
getDaysOfMonth
(
Date
date
)
{
Calendar
calendar
=
Calendar
.
getInstance
();
calendar
.
setTime
(
date
);
return
calendar
.
getActualMaximum
(
Calendar
.
DAY_OF_MONTH
);
}
@Override
public
Page
<
NursingRecordsRespVO
>
queryNursingRecords
(
NursingReqVO
nursingReqVO
)
{
...
...
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