|
@@ -172,6 +172,10 @@ func (this *ReportController) IndustryList() {
|
|
|
var deepCondition string
|
|
|
var deepPars []interface{}
|
|
|
deepCondition += ` AND man.is_deep_label = 1`
|
|
|
+ if ChartPermissionId > 0 {
|
|
|
+ deepCondition += ` AND man.chart_permission_id = ?`
|
|
|
+ deepPars = append(deepPars, ChartPermissionId)
|
|
|
+ }
|
|
|
industryCountList, e := models.GetIndustryArtCountByCondition(deepCondition, deepPars)
|
|
|
if e != nil {
|
|
|
br.Msg = "获取信息失败"
|