|
@@ -10,7 +10,6 @@ import (
|
|
|
"html"
|
|
|
"strconv"
|
|
|
"strings"
|
|
|
- "time"
|
|
|
)
|
|
|
|
|
|
type HomeController struct {
|
|
@@ -648,10 +647,10 @@ func (this *HomeController) NewList() {
|
|
|
conditionInit += " AND chart_permission_id = " + strconv.Itoa(chartPermissionId)
|
|
|
}
|
|
|
|
|
|
- if tagIds == "" && chartPermissionId == 0 {
|
|
|
- //查询近一个月的数据
|
|
|
- conditionInit += " AND publish_date > '" + time.Now().AddDate(0, 0, -30).Format(utils.FormatDateTime) + "'"
|
|
|
- }
|
|
|
+ //if tagIds == "" && chartPermissionId == 0 {
|
|
|
+ // //查询近一个月的数据
|
|
|
+ // conditionInit += " AND publish_date > '" + time.Now().AddDate(0, 0, -30).Format(utils.FormatDateTime) + "'"
|
|
|
+ //}
|
|
|
|
|
|
//conditionInit += ` AND source IN ('newchart')`
|
|
|
//if user.CompanyId <= 1 || totalRai == 0 {
|