|
@@ -3,12 +3,13 @@ package entity
|
|
|
import (
|
|
|
"encoding/json"
|
|
|
"fmt"
|
|
|
- "github.com/gogf/gf/v2/util/gconv"
|
|
|
"jy/src/jfw/modules/publicapply/src/config"
|
|
|
"log"
|
|
|
"strings"
|
|
|
"time"
|
|
|
|
|
|
+ "github.com/gogf/gf/v2/util/gconv"
|
|
|
+
|
|
|
qutil "app.yhyue.com/moapp/jybase/common"
|
|
|
elastic "app.yhyue.com/moapp/jybase/es"
|
|
|
"app.yhyue.com/moapp/jybase/go-xweb/httpsession"
|
|
@@ -162,6 +163,9 @@ func GetVIPViewSql(userId string, scd *ViewCondition) string {
|
|
|
if strings.Contains(stype, "projectname/purchasing") {
|
|
|
stype = strings.Replace(stype, "projectname/purchasing", "projectname,\",\"purchasing", -1)
|
|
|
}
|
|
|
+ if stype == "" {
|
|
|
+ stype = "title"
|
|
|
+ }
|
|
|
multi_match = fmt.Sprintf(multi_match, "%s", "\""+stype+"\"")
|
|
|
repeat := map[string]bool{}
|
|
|
for _, v := range scd.Keyword {
|