...
|
...
|
@@ -83,12 +83,13 @@ func (dividendsOrderService *DividendsOrderService) RemoveDividendsOrder(removeD |
|
|
func (dividendsOrderService *DividendsOrderService) SearchDividendsOrder(searchDividendsOrderQuery *query.SearchDividendsOrderQuery) (int, interface{}, error) {
|
|
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(searchDividendsOrderQuery.Operator)
|
|
|
result, err := creationCooperationGateway.DividendsOrderSearch(allied_creation_cooperation.ReqDividendsOrderSearch{
|
|
|
PageNumber: searchDividendsOrderQuery.PageNumber,
|
|
|
PageSize: searchDividendsOrderQuery.PageSize,
|
|
|
CustomerName: searchDividendsOrderQuery.CustomerName,
|
|
|
DividendsOrderNumber: searchDividendsOrderQuery.DividendsOrderNumber,
|
|
|
OrgIds: searchDividendsOrderQuery.Operator.OrgIds,
|
|
|
CompanyId: int(searchDividendsOrderQuery.Operator.CompanyId),
|
|
|
PageNumber: searchDividendsOrderQuery.PageNumber,
|
|
|
PageSize: searchDividendsOrderQuery.PageSize,
|
|
|
CustomerName: searchDividendsOrderQuery.CustomerName,
|
|
|
DividendsOrderNumber: searchDividendsOrderQuery.DividendsOrderNumber,
|
|
|
DividendsOriginalOrderNum: searchDividendsOrderQuery.DividendsOriginalOrderNum,
|
|
|
OrgIds: searchDividendsOrderQuery.Operator.OrgIds,
|
|
|
CompanyId: int(searchDividendsOrderQuery.Operator.CompanyId),
|
|
|
})
|
|
|
if err != nil {
|
|
|
return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
|
...
|
...
|
|