...
|
...
|
@@ -55,12 +55,10 @@ func (dividendsOrderService *DividendsOrderService) CreateDividendsOrder(createD |
|
|
|
|
|
// 返回分红订单实体对象
|
|
|
func (dividendsOrderService *DividendsOrderService) GetDividendsOrder(getDividendsOrderQuery *query.GetDividendsOrderQuery) (interface{}, error) {
|
|
|
// if err := getDividendsOrderQuery.ValidateQuery(); err != nil {
|
|
|
// return nil, application.ThrowError(application.ARG_ERROR, err.Error())
|
|
|
// }
|
|
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(getDividendsOrderQuery.Operator)
|
|
|
result, err := creationCooperationGateway.DividendsOrderGet(allied_creation_cooperation.ReqDividendsOrderGet{
|
|
|
DividendsOrderId: getDividendsOrderQuery.DividendsOrderId,
|
|
|
DividendsOrderId: getDividendsOrderQuery.DividendsOrderId,
|
|
|
DividendsOrderNumber: getDividendsOrderQuery.DividendsOrderNumber,
|
|
|
})
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
...
|
...
|
|