{
	"Name": "institution",
	"BeforeSql": "",
	"AfterSql": "",
	"Bills": [
		{
			"Name": "部门",
			"DBName": "",
			"Tables": [
				"dept"
			],
			"ActionExists": 0,
			"Where": "code in ({{P .User.ToRootDeptCodesAndSelf}})",
			"BeforeSql": "",
			"AfterSql": ""
		},
		{
			"Name": "菜单项",
			"DBName": "",
			"Tables": [
				"element"
			],
			"ActionExists": 0,
			"Where": "dept in ({{P .User.ToRootDeptCodesAndSelf}})",
			"BeforeSql": "",
			"AfterSql": ""
		},
		{
			"Name": "角色",
			"DBName": "",
			"Tables": [
				"role",
				"roleele"
			],
			"ActionExists": 0,
			"Where": "dept in ({{P .User.ToRootDeptCodesAndSelf}})",
			"BeforeSql": "",
			"AfterSql": ""
		},
		{
			"Name": "公用模板",
			"DBName": "",
			"Tables": [
				"eleview"
			],
			"ActionExists": 0,
			"Where": "public=1 and\nowner in ({{P .User.ToRootDeptCodesAndSelf}}) and\nexists(select 1 from element where eleview.elename=element.name and element.dept in ({{P .User.ToRootDeptCodesAndSelf}}))",
			"BeforeSql": "",
			"AfterSql": ""
		},
		{
			"Name": "审核条件",
			"DBName": "",
			"Tables": [
				"tablecheck"
			],
			"ActionExists": 0,
			"Where": "dept in ({{P .User.ToRootDeptCodesAndSelf}})",
			"BeforeSql": "",
			"AfterSql": ""
		}
	]
}