This commit is contained in:
邹宗楠
2025-12-23 09:23:14 +08:00
parent 6bbb9ee5ab
commit d59afef720
5 changed files with 68764 additions and 68721 deletions

View File

@@ -573,6 +573,8 @@ func (c *OrderController) StaleIndexInfo() {
// @Param end query string true "结束时间"
// @Param storeID query string false "门店id,[1,2,3]"
// @Param rank query string true "排序方式,订单中粮,[DESC,ASC]"
// @Param offset query int false "门店列表起始序号以0开始缺省为0"
// @Param pageSize query int false "门店列表页大小缺省为50-1表示全部"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /StoreOrderRank [get]
@@ -619,7 +621,7 @@ func (c *OrderController) StoreOrderRank() {
if len(storeIdList) == model.NO {
storeIdList = dataList
}
retVal, err = dao.StaticStoreOrderChange(dao.GetDB(), storeIdList, timeList[0], timeList[1], params.Rank)
retVal, err = dao.StaticStoreOrderChange(dao.GetDB(), storeIdList, timeList[0], timeList[1], params.Rank, params.Offset, params.PageSize)
return retVal, "", err
})
}