|
@@ -145,7 +145,7 @@ type CygxReportSelectionLog struct {
|
|
// 列表
|
|
// 列表
|
|
func GetReportSelectionlogListAll(articleId int) (items []*CygxReportSelectionLog, err error) {
|
|
func GetReportSelectionlogListAll(articleId int) (items []*CygxReportSelectionLog, err error) {
|
|
o := orm.NewOrm()
|
|
o := orm.NewOrm()
|
|
- sql := `SELECT c.permission_name ,c.image_url,s.subject_name , l.*
|
|
|
|
|
|
+ sql := `SELECT c.permission_name ,c.image_url,s.subject_name , l.* ,l.company_label as label
|
|
FROM
|
|
FROM
|
|
cygx_report_selection_log AS l
|
|
cygx_report_selection_log AS l
|
|
INNER JOIN chart_permission AS c ON c.chart_permission_id = l.chart_permission_id
|
|
INNER JOIN chart_permission AS c ON c.chart_permission_id = l.chart_permission_id
|