| | |
| | | // @Produce application/json |
| | | // @Param object body request.GetMonthStats true "查询参数" |
| | | // @Param Authorization header string true "token" |
| | | // @Success 200 {object} util.ResponseList{data=[]models.MonthStats} "成功" |
| | | // @Success 200 {object} util.ResponseList{data=[]models.WarehouseMonthStats} "成功" |
| | | // @Router /api-wms/v1/forms/warehouseMonthStats [post] |
| | | func (slf ReportFormsController) WarehouseMonthStats(c *gin.Context) { |
| | | var params request.GetMonthStats |
| | |
| | | return |
| | | } |
| | | |
| | | params.Preload = true |
| | | monthFormsService := service.NewWarehouseMonthFormsService() |
| | | list, err := monthFormsService.FetchAll(params) |
| | | if err != nil { |