|
@@ -192,6 +192,15 @@ func (this *ReportController) PdfList() {
|
|
|
return
|
|
|
}
|
|
|
classifyList := resp.Data
|
|
|
+ if len(classifyList) == 0 {
|
|
|
+ resp := new(response.ReportPdfResp)
|
|
|
+ br.Msg = "查询成功"
|
|
|
+ br.Ret = 200
|
|
|
+ br.Success = true
|
|
|
+ br.Data = resp
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
condition += ` AND classify_id_second IN (` + utils.GetOrmReplaceHolder(len(classifyList)) + `)`
|
|
|
for _, item := range classifyList {
|
|
|
pars = append(pars, item.Id)
|