切换导航条
此项目
正在载入...
登录
allied-creation
/
allied-creation-gateway
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
tangxuhui
3 years ago
提交
08c4236652a40c6cb0ff20687fc12653989f13c0
1 个父辈
3676b094
修正
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
17 行增加
和
3 行删除
pkg/application/web/dividendsEstimate/service/dividends_estimate.go
pkg/infrastructure/service_gateway/allied_creation_cooperation/param_credit_account.go
pkg/application/web/dividendsEstimate/service/dividends_estimate.go
查看文件 @
08c4236
...
...
@@ -224,11 +224,11 @@ func (dividendsEmmateService *DividendsEstimateService) MoneyIncentivesSelector(
//ConfimDividendsEstimate 确定分红预算
func
(
dividendsEstimateService
*
DividendsEstimateService
)
ConfimDividendsEstimate
(
confimDividendsEstimateCommand
*
command
.
ConfimDividendsEstimateCommand
)
(
interface
{},
error
)
{
creationCooperationGateway
:=
allied_creation_cooperation
.
NewHttplibAlliedCreationCooperation
(
confimDividendsEstimateCommand
.
Operator
)
_
,
err
:=
creationCooperationGateway
.
CreditAccountsAdd
(
allied_creation_cooperation
.
ReqCreditAccountsAdd
{
result
,
err
:=
creationCooperationGateway
.
CreditAccountsAdd
(
allied_creation_cooperation
.
ReqCreditAccountsAdd
{
DividendsEstimateIds
:
confimDividendsEstimateCommand
.
DividendsEstimateId
,
})
if
err
!=
nil
{
return
nil
,
application
.
ThrowError
(
application
.
TRANSACTION_ERROR
,
err
.
Error
())
}
return
confimDividendsEstimateCommand
,
nil
return
result
,
nil
}
...
...
pkg/infrastructure/service_gateway/allied_creation_cooperation/param_credit_account.go
查看文件 @
08c4236
...
...
@@ -136,6 +136,20 @@ type (
DividendsEstimateIds
[]
string
`json:"dividendsEstimateIds"`
}
DataCreditAccountsAdd
[]
struct
{
DataCreditAccountsAdd
struct
{
// 账期结算单ID
CreditAccountId
int64
`json:"creditAccountId,string"`
// 账期结算实付金额
ActuallyPaidAmount
float64
`json:"actuallyPaidAmount"`
// 账期结算单号
CreditAccountOrderNum
string
`json:"creditAccountOrderNum"`
// 账期结算支付状态,1待支付,2已支付
PaymentStatus
int32
`json:"paymentStatus"`
// 共创账期结算支付时间
PaymentTime
time
.
Time
`json:"paymentTime"`
// 账期结算金额
SettlementAmount
float64
`json:"settlementAmount"`
// 共创账期结算时间
SettlementTime
time
.
Time
`json:"settlementTime"`
}
)
...
...
请
注册
或
登录
后发表评论