|
@@ -45,8 +45,8 @@ func (this *ReportController) List() {
|
|
|
reportCond, outsideCond string
|
|
|
reportPars, outsidePars []interface{}
|
|
|
)
|
|
|
- // 仅取常规和智能布局的报告
|
|
|
- reportCond += ` AND r.report_layout IN (1,2)`
|
|
|
+ // 仅取常规和智能布局的报告, 且是公开发布
|
|
|
+ reportCond += ` AND r.report_layout IN (1,2) AND r.is_public_publish = 1`
|
|
|
|
|
|
params.Keywords = strings.TrimSpace(params.Keywords)
|
|
|
if params.Keywords != "" {
|