| | |
| | | util.ResponseFormatList(c, code.Success, result, int(total)) |
| | | } |
| | | |
| | | // GetOutOrInOperationList |
| | | // @Tags 报表 |
| | | // @Summary 获取出入库操作明细 |
| | | // @Produce application/json |
| | | // @Param object body request.GetLocationForms true "查询参数" |
| | | // @Success 200 {object} util.ResponseList{data=[]response.LocationForms} "成功" |
| | | // @Router /api-wms/v1/forms/getOutOrInOperationList [post] |
| | | func (slf ReportFormsController) GetOutOrInOperationList(c *gin.Context) { |
| | | |
| | | } |
| | | |
| | | // GetLocationForms |
| | | // @Tags 报表 |
| | | // @Summary 获取位置报表 |
| | |
| | | ids = append(ids, params.LocationId) |
| | | } else { |
| | | //查询位置 |
| | | locations, err := models.NewLocationSearch().SetJointName(params.WareHouseCode).FindAll() |
| | | locations, err := models.NewLocationSearch().SetJointName(params.WareHouseCode).SetType(3).FindAll() |
| | | if err != nil { |
| | | util.ResponseFormat(c, code.RequestParamError, "查询位置失败") |
| | | return |