package guangzuan import ( "mtp2_if/global/app" "mtp2_if/models" "github.com/gin-gonic/gin" ) // QueryMemberReport // @Summary 查询会员报表 // @Produce json // @Security ApiKeyAuth // @Security LoginID // @Security Group // @Param userid query int true "用户ID" // @Param page query int false "页码" // @Param pagesize query int false "每页条数" // @Param cycletype query string false "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)" // @Param begindate query string true "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)" // @Param enddate query string true "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)" // @Success 200 {array} models.Reckondaytaaccount // @Failure 500 {object} app.Response // @Router /Guangzuan/QueryMemberReport [get] // @Tags 广钻 func QueryMemberReport(c *gin.Context) { a := app.GinUtils{Gin: app.Gin{C: c}} m := models.Reckondaytaaccount{} a.DoBindReq(&m) a.DoGetDataByPage(&m) } // QueryWRPositionReport // @Summary 查询仓储报表 // @Produce json // @Security ApiKeyAuth // @Security LoginID // @Security Group // @Param userid query int true "用户ID" // @Param page query int false "页码" // @Param pagesize query int false "每页条数" // @Param cycletype query string false "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)" // @Param begindate query string true "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)" // @Param enddate query string true "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)" // @Param zscategory query int false "商品分类" // @Param zscurrencytype query int false "商品币种" // @Success 200 {array} models.WRPositionReport // @Failure 500 {object} app.Response // @Router /Guangzuan/QueryWRPositionReport [get] // @Tags 广钻 func QueryWRPositionReport(c *gin.Context) { a := app.GinUtils{Gin: app.Gin{C: c}} m := models.WRPositionReport{} a.DoBindReq(&m) a.DoGetDataByPage(&m) } // QueryTradeReport // @Summary 查询交易报表 // @Produce json // @Security ApiKeyAuth // @Security LoginID // @Security Group // @Param userid query int true "用户ID" // @Param page query int false "页码" // @Param pagesize query int false "每页条数" // @Param cycletype query string false "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)" // @Param begindate query string true "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)" // @Param enddate query string true "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)" // @Param zscategory query int false "商品分类" // @Param zscurrencytype query int false "商品币种" // @Success 200 {array} models.Reckongzmemtradesum // @Failure 500 {object} app.Response // @Router /Guangzuan/QueryTradeReport [get] // @Tags 广钻 func QueryTradeReport(c *gin.Context) { a := app.GinUtils{Gin: app.Gin{C: c}} m := models.Reckongzmemtradesum{} a.DoBindReq(&m) a.DoGetDataByPage(&m) }