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
843c7e5d
Commit
843c7e5d
authored
May 09, 2022
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用结算
parent
b4a96c68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
AccountServiceImpl.java
...hungraim/ltc/account/service/impl/AccountServiceImpl.java
+3
-1
ExpenseSettlementVo.java
...com/hungraim/ltc/pojo/vo/account/ExpenseSettlementVo.java
+5
-0
No files found.
account/account-service/src/main/java/com/hungraim/ltc/account/service/impl/AccountServiceImpl.java
View file @
843c7e5d
...
@@ -114,12 +114,14 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
...
@@ -114,12 +114,14 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
int
startDay
=
getDay
(
vo
.
getSrvStartTime
());
int
startDay
=
getDay
(
vo
.
getSrvStartTime
());
int
endDay
=
getDay
(
vo
.
getSrvEndTime
());
int
endDay
=
getDay
(
vo
.
getSrvEndTime
());
vo
.
setEffectiveSettlementDate
(
endDay
-
startDay
+
1
);
vo
.
setEffectiveSettlementDate
(
endDay
-
startDay
+
1
);
//基护费用
//基护费用
标准
Integer
effectiveSettlementDate
=
vo
.
getEffectiveSettlementDate
();
//有效结算日
Integer
effectiveSettlementDate
=
vo
.
getEffectiveSettlementDate
();
//有效结算日
ChCfgCostStandard
costStandard
=
chCfgCostStandardMapper
.
selectOne
(
new
LambdaQueryWrapper
<
ChCfgCostStandard
>()
ChCfgCostStandard
costStandard
=
chCfgCostStandardMapper
.
selectOne
(
new
LambdaQueryWrapper
<
ChCfgCostStandard
>()
.
eq
(
ChCfgCostStandard:
:
getOrganId
,
bo
.
getOrganId
())
.
eq
(
ChCfgCostStandard:
:
getOrganId
,
bo
.
getOrganId
())
.
eq
(
ChCfgCostStandard:
:
getSrvLevelId
,
bo
.
getSrvLevelId
())
.
eq
(
ChCfgCostStandard:
:
getSrvLevelId
,
bo
.
getSrvLevelId
())
.
eq
(
ChCfgCostStandard:
:
getSrvModeId
,
bo
.
getSrvModeId
()));
//基护费用标准(可配置)
.
eq
(
ChCfgCostStandard:
:
getSrvModeId
,
bo
.
getSrvModeId
()));
//基护费用标准(可配置)
vo
.
setCostStandard
(
costStandard
+
"元/人/天"
);
//基护费用
BigDecimal
foundation
=
BigDecimal
.
valueOf
(
costStandard
.
getCost
()).
multiply
(
BigDecimal
.
valueOf
(
effectiveSettlementDate
));
BigDecimal
foundation
=
BigDecimal
.
valueOf
(
costStandard
.
getCost
()).
multiply
(
BigDecimal
.
valueOf
(
effectiveSettlementDate
));
vo
.
setFoundationProtectionCost
(
foundation
.
doubleValue
());
vo
.
setFoundationProtectionCost
(
foundation
.
doubleValue
());
//基护完成率
//基护完成率
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/account/ExpenseSettlementVo.java
View file @
843c7e5d
...
@@ -43,6 +43,11 @@ public class ExpenseSettlementVo {
...
@@ -43,6 +43,11 @@ public class ExpenseSettlementVo {
private
Integer
effectiveSettlementDate
;
private
Integer
effectiveSettlementDate
;
/**
/**
* 基护费用标准
*/
private
String
costStandard
;
/**
* 基护费用
* 基护费用
*/
*/
private
Double
foundationProtectionCost
;
private
Double
foundationProtectionCost
;
...
...
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