Roc il y a 4 mois
Parent
commit
4f094d7a9b
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      controllers/report_v2.go

+ 5 - 0
controllers/report_v2.go

@@ -846,6 +846,7 @@ func (this *ReportController) AuthorizedListReport() {
 	classifyIdFirst, _ := this.GetInt("ClassifyIdFirst", 0)
 	classifyIdSecond, _ := this.GetInt("ClassifyIdSecond", 0)
 	classifyIdThird, _ := this.GetInt("ClassifyIdThird", 0)
+	state := this.GetString("State")
 
 	var startSize int
 	if pageSize <= 0 {
@@ -912,6 +913,10 @@ func (this *ReportController) AuthorizedListReport() {
 	orCondition := `AND ( (a.is_public_publish = ? AND a.state in (2,6)) or a.admin_id = ? `
 	pars = append(pars, 1, this.SysUser.AdminId)
 
+	if state != `` {
+
+	}
+
 	// 当前用户有权限的报告id列表
 	num := len(grantReportIdList)
 	if num > 0 {