Browse Source

Merge branch '2.0' into debug

xiziwen 5 months ago
parent
commit
a44c0f6617
1 changed files with 3 additions and 0 deletions
  1. 3 0
      controllers/data_manage/excel/excel_info.go

+ 3 - 0
controllers/data_manage/excel/excel_info.go

@@ -347,6 +347,9 @@ func (c *ExcelInfoController) List() {
 	} else {
 		condition += " AND source = ? "
 		pars = append(pars, source)
+		if source == utils.BALANCE_TABLE { //平衡表的列表只显示动态表的一级表(不显示子表和静态表)
+			condition += " AND parent_id = 0 AND balance_type=0 "
+		}
 	}
 
 	// 筛选分类