Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
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
TCM
tcm-system
Commits
69eacd10
Commit
69eacd10
authored
Jul 14, 2021
by
tangf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保存资金流水和商户余额MQ拆分
parent
b873014e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
FinanceController.java
.../pangding/web/authority/controller/FinanceController.java
+15
-0
FinanceServiceImpl.java
...ngding/web/authority/service/impl/FinanceServiceImpl.java
+3
-2
No files found.
src/main/java/com/pangding/web/authority/controller/FinanceController.java
View file @
69eacd10
...
...
@@ -84,10 +84,25 @@ public class FinanceController {
return
financeService
.
withdrawalBack
(
req
);
}
/**
* 转账
* @param req
* @return
*/
// @RequestMapping(value = "/divideSettlment")
// public ResponseResult<String> divideSettlment(@RequestBody OrderMoneyDetailReqVo req) {
// CheckerHelper.newInstance()
// .notBlankCheck("id", req.getId())
// .checkException();
// return financeService.divideSettlement(req);
// }
@RequestMapping
(
value
=
"findCompanyMoneyList"
)
@ApiOperation
(
value
=
"找到公司资金汇总列表"
,
notes
=
"返回公司资金汇总列表"
)
public
ResponseResult
<
CompanyMoneyTotalResVo
>
findCompanyMoneyList
(
@RequestBody
CompanyMoneyReqVo
req
){
return
ResponseResult
.
result
(
companyMoneyService
.
findCompanyMoney
(
req
));
}
}
src/main/java/com/pangding/web/authority/service/impl/FinanceServiceImpl.java
View file @
69eacd10
...
...
@@ -193,9 +193,7 @@ public class FinanceServiceImpl implements FinanceService {
if
(
StringHelper
.
isEmpty
(
companyVo
))
{
throw
new
CodeException
(
"未找到公司信息"
);
}
double
oldMoney
=
companyVo
.
getWithdrawTotalCash
()
-
money
;
// 添加资金流水
CapitalFlowReqVo
capitalFlowReqVo
=
new
CapitalFlowReqVo
();
capitalFlowReqVo
.
setOrderId
(
req
.
getOrderId
());
...
...
@@ -281,4 +279,7 @@ public class FinanceServiceImpl implements FinanceService {
}
}
}
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