|
@@ -2,14 +2,14 @@ package english_report
|
|
|
|
|
|
import (
|
|
import (
|
|
"encoding/json"
|
|
"encoding/json"
|
|
- "fmt"
|
|
|
|
- "github.com/rdlucklib/rdluck_tools/paging"
|
|
|
|
"eta/eta_mobile/controllers"
|
|
"eta/eta_mobile/controllers"
|
|
"eta/eta_mobile/models"
|
|
"eta/eta_mobile/models"
|
|
"eta/eta_mobile/models/company"
|
|
"eta/eta_mobile/models/company"
|
|
"eta/eta_mobile/services"
|
|
"eta/eta_mobile/services"
|
|
"eta/eta_mobile/services/alarm_msg"
|
|
"eta/eta_mobile/services/alarm_msg"
|
|
"eta/eta_mobile/utils"
|
|
"eta/eta_mobile/utils"
|
|
|
|
+ "fmt"
|
|
|
|
+ "github.com/rdlucklib/rdluck_tools/paging"
|
|
"html"
|
|
"html"
|
|
"sort"
|
|
"sort"
|
|
"strconv"
|
|
"strconv"
|
|
@@ -372,7 +372,7 @@ func (this *EnglishReportController) ListReport() {
|
|
var pars []interface{}
|
|
var pars []interface{}
|
|
|
|
|
|
if keyWord != "" {
|
|
if keyWord != "" {
|
|
- condition += ` AND (title LIKE '%` + keyWord + `%' OR author LIKE '%` + keyWord + `%' ) `
|
|
|
|
|
|
+ condition += ` AND (title LIKE '%` + keyWord + `%' OR admin_real_name LIKE '%` + keyWord + `%' ) `
|
|
}
|
|
}
|
|
if timeType == "" {
|
|
if timeType == "" {
|
|
timeType = "publish_time"
|
|
timeType = "publish_time"
|