|
|
@@ -133,8 +133,13 @@ namespace Learun.Application.AppMagager |
|
|
|
var strSql = new StringBuilder(); |
|
|
|
strSql.Append("SELECT "); |
|
|
|
strSql.Append(sql); |
|
|
|
strSql.Append(" ,s.F_Scheme FROM LR_App_Function t LEFT JOIN LR_App_FnScheme s on t.F_SchemeId = s.F_Id where t.F_EnabledMark = 1 ORDER BY F_SortCode "); |
|
|
|
|
|
|
|
strSql.Append(" ,s.F_Scheme "); |
|
|
|
//FROM LR_App_Function t LEFT JOIN LR_App_FnScheme s on t.F_SchemeId = s.F_Id where t.F_EnabledMark = 1 ORDER BY F_SortCode "); |
|
|
|
strSql.Append(" FROM LR_App_Function t "); |
|
|
|
strSql.Append(" LEFT JOIN LR_App_FnScheme s on t.F_SchemeId = s.F_Id "); |
|
|
|
strSql.Append(" INNER join LR_Base_DataItemDetail t1 on t1.f_itemvalue=t.f_type "); |
|
|
|
strSql.Append(" INNER JOIN LR_Base_DataItem t2 ON t1.F_ItemId = t2.F_ItemId "); |
|
|
|
strSql.Append(" where t.F_EnabledMark = 1 and t2.F_ItemCode = 'function' AND t1.F_DeleteMark = 0 and t1.F_EnabledMark=1 Order By t1.F_SortCode "); |
|
|
|
return this.BaseRepository().FindList<FunctionEntity>(strSql.ToString()); |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|