Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
Overview
Overview
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
huluobin
bailuntec-cost
Commits
3acd8d96
Commit
3acd8d96
authored
Apr 20, 2022
by
jianshuqin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请费用计划单 增加所属账期和所属项目
parent
f46ed178
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
CostDomain.java
...main/java/com/blt/other/module/cost/model/CostDomain.java
+3
-0
PayCostServiceImpl.java
...her/module/cost/service/impl/cost/PayCostServiceImpl.java
+7
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/model/CostDomain.java
View file @
3acd8d96
...
...
@@ -355,6 +355,9 @@ public class CostDomain implements Serializable {
// 回调必要的key参数(DetailKey)不能为空;
req
.
setDetailKey
(
detailKey
);
req
.
setTypeName
(
this
.
getTypeName
());
req
.
setProject
(
this
.
getProject
());
req
.
setProjectDate
(
this
.
getProjectDate
());
return
req
;
}
...
...
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/PayCostServiceImpl.java
View file @
3acd8d96
...
...
@@ -8,6 +8,7 @@ import com.bailuntec.common.JsonUtilByFsJson;
import
com.bailuntec.common.JsonUtilByJackson
;
import
com.blt.other.common.exception.RpcException
;
import
com.blt.other.database.model.CostTofinanceDomain
;
import
com.blt.other.module.cost.model.CostDetailDomain
;
import
com.blt.other.module.cost.model.CostDomain
;
import
com.blt.other.module.cost.service.CostService
;
import
com.blt.other.module.cost.vo.CashierCallbackUrlDataDataVo
;
...
...
@@ -53,6 +54,12 @@ public class PayCostServiceImpl extends AbstractCostService implements CostServi
// 出纳申请金额明细(MoneyDetail)不可为空;
req
.
setMoneyDetail
(
applyMoneyDetailList
);
// 所属项目和所属账期
if
(
cost
.
getCostDetailDomainList
()
!=
null
&&
cost
.
getCostDetailDomainList
().
size
()
>
0
){
CostDetailDomain
detailDomain
=
cost
.
getCostDetailDomainList
().
get
(
0
);
req
.
setProject
(
detailDomain
.
getProject
());
req
.
setProjectDate
(
detailDomain
.
getProjectDate
());
}
log
.
info
(
"提交出纳参数:{}"
,
JsonUtilByFsJson
.
beanToJson
(
req
));
CwResult
<
String
>
cwResult
=
cwApi
.
postApply
(
req
);
...
...
jianshuqin
@jianshuqin
mentioned in commit
4162088b
Apr 20, 2022
mentioned in commit
4162088b
mentioned in commit 4162088b3eaec2a40ec7693e23eadea986fba617
Toggle commit list
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