正在显示
1 个修改的文件
包含
6 行增加
和
1 行删除
| @@ -36,6 +36,7 @@ func (c *OrderDividendController) PageListOrderDividend() { | @@ -36,6 +36,7 @@ func (c *OrderDividendController) PageListOrderDividend() { | ||
| 36 | OrderType int `json:"orderType"` | 36 | OrderType int `json:"orderType"` |
| 37 | PageSize int `json:"pageSize"` | 37 | PageSize int `json:"pageSize"` |
| 38 | PageNumber int `json:"pageNumber"` | 38 | PageNumber int `json:"pageNumber"` |
| 39 | + PartnerCategoryId int `json:"partnerCategoryId"` | ||
| 39 | } | 40 | } |
| 40 | var ( | 41 | var ( |
| 41 | param Parameter | 42 | param Parameter |
| @@ -66,6 +67,7 @@ func (c *OrderDividendController) PageListOrderDividend() { | @@ -66,6 +67,7 @@ func (c *OrderDividendController) PageListOrderDividend() { | ||
| 66 | Limit: param.PageSize, | 67 | Limit: param.PageSize, |
| 67 | Offset: (param.PageNumber - 1) * param.PageSize, | 68 | Offset: (param.PageNumber - 1) * param.PageSize, |
| 68 | CompanyId: companyId, | 69 | CompanyId: companyId, |
| 70 | + PartnerCategory: param.PartnerCategoryId, | ||
| 69 | }) | 71 | }) |
| 70 | if err != nil { | 72 | if err != nil { |
| 71 | c.ResponseError(err) | 73 | c.ResponseError(err) |
| @@ -407,6 +409,7 @@ func (c *OrderDividendController) ListOrderBonusForExcel() { | @@ -407,6 +409,7 @@ func (c *OrderDividendController) ListOrderBonusForExcel() { | ||
| 407 | OrderType int `json:"orderType"` | 409 | OrderType int `json:"orderType"` |
| 408 | PageSize int `json:"pageSize"` | 410 | PageSize int `json:"pageSize"` |
| 409 | PageNumber int `json:"pageNumber"` | 411 | PageNumber int `json:"pageNumber"` |
| 412 | + PartnerCategoryId int `json:"partnerCategoryId"` | ||
| 410 | } | 413 | } |
| 411 | var ( | 414 | var ( |
| 412 | param Parameter | 415 | param Parameter |
| @@ -426,10 +429,12 @@ func (c *OrderDividendController) ListOrderBonusForExcel() { | @@ -426,10 +429,12 @@ func (c *OrderDividendController) ListOrderBonusForExcel() { | ||
| 426 | 429 | ||
| 427 | companyId := c.GetUserCompany() | 430 | companyId := c.GetUserCompany() |
| 428 | orderSrv := orderService.NewOrderInfoService(nil) | 431 | orderSrv := orderService.NewOrderInfoService(nil) |
| 429 | - dataResult, column, err := orderSrv.ListOrderBonusForExcel(orderQuery.ListOrderBonusQuery{ | 432 | + dataResult, column, err := orderSrv.ListOrderBonusForExcel( |
| 433 | + orderQuery.ListOrderBonusQuery{ | ||
| 430 | OrderType: param.OrderType, | 434 | OrderType: param.OrderType, |
| 431 | PartnerOrCode: param.SearchWord, | 435 | PartnerOrCode: param.SearchWord, |
| 432 | CompanyId: companyId, | 436 | CompanyId: companyId, |
| 437 | + PartnerCategory: param.PartnerCategoryId, | ||
| 433 | }) | 438 | }) |
| 434 | if err != nil { | 439 | if err != nil { |
| 435 | c.ResponseError(err) | 440 | c.ResponseError(err) |
-
请 注册 或 登录 后发表评论