|
@@ -3869,12 +3869,12 @@ func initart22() {
|
|
|
var pars []interface{}
|
|
|
|
|
|
condition += ` AND art.is_class = 1 `
|
|
|
- condition += ` AND art.publish_date >= '2024-01-01' AND art.file_link != '' `
|
|
|
+ condition += ` AND art.publish_date >= '2024-01-01' AND art.file_link = '' AND publish_status = 1 `
|
|
|
|
|
|
//return
|
|
|
condition += ` GROUP BY art.article_id ORDER BY art.publish_date DESC `
|
|
|
//fmt.Println(condition)
|
|
|
- list, err := cygx.GetReportArticleList(condition, pars, 0, 999, 1)
|
|
|
+ list, err := cygx.GetReportArticleList(condition, pars, 0, 9999, 1)
|
|
|
if err != nil {
|
|
|
fmt.Println(err)
|
|
|
return
|
|
@@ -3940,6 +3940,10 @@ func initart22() {
|
|
|
cellB.Value = "发布时间"
|
|
|
|
|
|
for _, v := range list {
|
|
|
+
|
|
|
+ if v.SubCategoryName != "行业深度" {
|
|
|
+ continue
|
|
|
+ }
|
|
|
row := sheet.AddRow()
|
|
|
|
|
|
cellADatatitle := row.AddCell()
|