|
@@ -67,7 +67,7 @@ func GetYbChartPermissionFirst() (list []*YbChartPermissionFirst, err error) {
|
|
|
// GetFiccPermissionExceptTactic 获取除了市场策略外的ficc权限
|
|
|
func GetFiccPermissionExceptTactic() (items []*ChartPermission, err error) {
|
|
|
o := orm.NewOrm()
|
|
|
- sql := `SELECT * FROM chart_permission WHERE enabled = 1 AND permission_type = 0 AND product_id = 1 and classify_name != '市场策略' and classify_name != '固定收益' ORDER BY sort ASC`
|
|
|
+ sql := `SELECT * FROM chart_permission WHERE enabled = 1 AND permission_type = 0 AND product_id = 1 and classify_name != '市场策略' ORDER BY sort ASC`
|
|
|
_, err = o.Raw(sql).QueryRows(&items)
|
|
|
return
|
|
|
}
|