|
@@ -623,7 +623,7 @@ func (r *ErmcpRoleMenu) GetDataEx() (interface{}, error) {
|
|
|
" f.iconame," +
|
|
" f.iconame," +
|
|
|
" f.remark" +
|
|
" f.remark" +
|
|
|
" from funcmenulist f" +
|
|
" from funcmenulist f" +
|
|
|
- " where f.menutype = 3"
|
|
|
|
|
|
|
+ " where f.menutype = 3 and f.resourcelevel <> 0"
|
|
|
_ = db.GetEngine().SQL(sql).Find(&sData)
|
|
_ = db.GetEngine().SQL(sql).Find(&sData)
|
|
|
// 先创建PARENTCODE为空的记录
|
|
// 先创建PARENTCODE为空的记录
|
|
|
for _, v := range sData {
|
|
for _, v := range sData {
|