查询物料点订单销量

This commit is contained in:
苏尹岚
2020-03-11 14:15:11 +08:00
parent 65f41defef
commit 6e019ca10e
4 changed files with 69 additions and 0 deletions

View File

@@ -1002,3 +1002,17 @@ func (c *OrderController) GetOrdersAccept() {
return retVal, "", err
})
}
// @Title 获取某个门店上次申请物料到现在的销量
// @Description 获取某个门店上次申请物料到现在的销量
// @Param token header string true "认证token"
// @Param storeID query int true "门店ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetMatterStoreOrderCount [get]
func (c *OrderController) GetMatterStoreOrderCount() {
c.callGetMatterStoreOrderCount(func(params *tOrderGetMatterStoreOrderCountParams) (retVal interface{}, errCode string, err error) {
retVal, err = orderman.GetMatterStoreOrderCount(params.Ctx, params.StoreID)
return retVal, "", err
})
}