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