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
e601a04d
Commit
e601a04d
authored
Jan 18, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# update
parent
12c22bb3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
8 deletions
+65
-8
CostPlanDomain.java
...ain/java/com/blt/other/database/model/CostPlanDomain.java
+2
-7
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+3
-0
AbstractCostPlanService.java
...e/cost/service/impl/costplan/AbstractCostPlanService.java
+1
-1
cost.http
cost-service/src/test/java/com/blt/other/cost.http
+59
-0
No files found.
cost-service/src/main/java/com/blt/other/database/model/CostPlanDomain.java
View file @
e601a04d
...
...
@@ -30,7 +30,6 @@ public class CostPlanDomain implements Serializable {
private
Integer
id
;
@ApiModelProperty
(
"费用计划编号"
)
private
String
costPlanNo
;
@ApiModelProperty
(
"0 不抵扣个税 1 抵扣个税"
)
private
Integer
isTax
;
...
...
@@ -51,9 +50,8 @@ public class CostPlanDomain implements Serializable {
@ApiModelProperty
(
"类型标题"
)
private
String
typeName
;
// @TableField(exist = false)
// private CostTypeDomain costType;
@TableField
(
exist
=
false
)
private
Integer
accountingSubjectId
;
@TableField
(
exist
=
false
)
@ApiModelProperty
(
"会计一级科目"
)
...
...
@@ -62,9 +60,6 @@ public class CostPlanDomain implements Serializable {
@ApiModelProperty
(
"会计一级科目"
)
private
String
accountingSubjectName
;
// @TableField(exist = false)
// private AccountingSubject accountingSubject;
@ApiModelProperty
(
"创建人id"
)
private
Integer
createUserid
;
...
...
@@ -100,7 +95,7 @@ public class CostPlanDomain implements Serializable {
@ApiModelProperty
(
"一级物流供应商ID"
)
private
Integer
logisticsSupplierId
;
@ApiModelProperty
(
"收款银行(平台
)
"
)
@ApiModelProperty
(
"收款银行(平台"
)
private
String
bankName
;
@ApiModelProperty
(
"收款账户"
)
private
String
bankCard
;
...
...
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
e601a04d
...
...
@@ -146,6 +146,9 @@ public abstract class AbstractCostService implements CostService {
@Override
public
CostDomain
getCostByCostNo
(
String
costNo
)
{
CostDomain
costDomain
=
costDao
.
selectByCostNo
(
costNo
);
if
(
costDomain
==
null
)
{
return
null
;
}
costDomain
.
setCostTemplate
(
costTemplateService
.
queryDetail
(
costDomain
.
getCostTemplateId
()));
Integer
currentUserId
=
SessionUtils
.
getCurrentUserId
();
...
...
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costplan/AbstractCostPlanService.java
View file @
e601a04d
...
...
@@ -116,7 +116,7 @@ public abstract class AbstractCostPlanService implements CostPlanService {
});
}
CostTypeDomain
costTypeDomain
=
costTypeDao
.
selectBy
Id
(
costPlanDomain
.
getId
());
CostTypeDomain
costTypeDomain
=
costTypeDao
.
selectBy
No
(
costPlanDomain
.
getTypeNo
());
costPlanDomain
.
setAccountingSubjectId
(
costTypeDomain
.
getAccountingSubjectId
());
}
...
...
cost-service/src/test/java/com/blt/other/cost.http
0 → 100644
View file @
e601a04d
GET http://api.fee.bailuntec.com//purchase/other/cost/api/manageCostList?startDate=2020-09-01%2000:00:00&endDate=2020-10-01%2000:00:00
Accept: application/json
###
POST http://api.fee.bailuntec.com/purchase/other/cost/check/CashierCallbackUrl
Content-Type: application/json
{
"data": {
"Success": true,
"Message": "FC2008280369出纳单(金额:27825.79)被通过",
"Data": "{\"payid\":216603,\"payno\":\"FC2008280369\",\"payamount\":27825.79,\"payuserid\":0,\"payusername\":\"陈泽凯\",\"paynote\":\"\",\"paydetail\":{\"cashier_bankaccountid\":252,\"cashier_bankname\":\"富友支付\",\"cashier_bankcard\":\"chengwenai@bailuntec.com\",\"cashier_bankcardname\":\"香港百伦科技有限公司\",\"cashier_unitcode\":\"CNY\",\"cashier_unitname\":\"人民币\",\"cashier_rate\":1.0000,\"cashier_paymoney\":27825.79,\"cashier_paymoneyrmb\":27825.79,\"cashier_servicemoneyrmb\":1.00,\"otherordercode\":\"\",\"cashier_annex\":\"http://finansys.oa.com//uploadfile/buyfile/2020/8/28/20200828180734-F025271.png\",\"cashier_bankcardtype\":0,\"cashier_mothercard\":\"\"}}"
},
"id": "F025271"
}
###
POST http://api.fee.bailuntec.com/purchase/other/cost/check/CashierCallbackUrl
Content-Type: application/json
{
"data": {
"Success": true,
"Message": "FC2008280369出纳单(金额:27825.79)被通过",
"Data": {
"payid": 216603,
"payno": "FC2008280369",
"payamount": 27825.79,
"payuserid": 0,
"payusername": "陈泽凯",
"paynote": "",
"paydetail": {
"cashier_bankaccountid": 252,
"cashier_bankname": "富友支付",
"cashier_bankcard": "chengwenai@bailuntec.com",
"cashier_bankcardname": "香港百伦科技有限公司",
"cashier_unitcode": "CNY",
"cashier_unitname": "人民币",
"cashier_rate": 1.0000,
"cashier_paymoney": 27825.79,
"cashier_paymoneyrmb": 27825.79,
"cashier_servicemoneyrmb": 1.00,
"otherordercode": "",
"cashier_annex": "http://finansys.oa.com//uploadfile/buyfile/2020/8/28/20200828180734-F025271.png",
"cashier_bankcardtype": 0,
"cashier_mothercard": ""
}
}
},
"id": "F025271"
}
###
POST http://api.fee.bailuntec.com/purchase/other/cost/check/CashierCallbackUrl
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