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