Roc 4 ay önce
ebeveyn
işleme
4f094d7a9b
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  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 {