|
@@ -68,13 +68,13 @@ func (dividendsOrderService *DividendsOrderService) GetDividendsOrder(getDividen |
|
@@ -68,13 +68,13 @@ func (dividendsOrderService *DividendsOrderService) GetDividendsOrder(getDividen |
68
|
func (dividendsOrderService *DividendsOrderService) RemoveDividendsOrder(removeDividendsOrderCommand *command.RemoveDividendsOrderCommand) (interface{}, error) {
|
68
|
func (dividendsOrderService *DividendsOrderService) RemoveDividendsOrder(removeDividendsOrderCommand *command.RemoveDividendsOrderCommand) (interface{}, error) {
|
69
|
|
69
|
|
70
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(removeDividendsOrderCommand.Operator)
|
70
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(removeDividendsOrderCommand.Operator)
|
71
|
- _, err := creationCooperationGateway.DividendsOrderBatchRemove(allied_creation_cooperation.ReqDividendsOrderBatchRemove{
|
71
|
+ result, err := creationCooperationGateway.DividendsOrderBatchRemove(allied_creation_cooperation.ReqDividendsOrderBatchRemove{
|
72
|
DividendsOrderIds: removeDividendsOrderCommand.DividendsOrderId,
|
72
|
DividendsOrderIds: removeDividendsOrderCommand.DividendsOrderId,
|
73
|
})
|
73
|
})
|
74
|
if err != nil {
|
74
|
if err != nil {
|
75
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
75
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
76
|
}
|
76
|
}
|
77
|
- return removeDividendsOrderCommand, nil
|
77
|
+ return result, nil
|
78
|
}
|
78
|
}
|
79
|
|
79
|
|
80
|
// 查询分红订单方法
|
80
|
// 查询分红订单方法
|