|
@@ -335,6 +335,7 @@ func syncJyData(source, tid, pid string) int {
|
|
|
}
|
|
|
info["isOptimization"] = qu.IntAll(tmp["is_push"])
|
|
|
info["ispanchong"] = 1
|
|
|
+ info["earliestDay"] = qu.IntAll(tmp["earliestDay"])
|
|
|
util.MgoJy.Save(util.JYPushColl, info)
|
|
|
util.Mgo.UpdateById(source, tmp["_id"], bson.M{"$set": bson.M{"sendflag": true}})
|
|
|
|
|
@@ -943,6 +944,7 @@ func (f *Front) GroupExportData() {
|
|
|
}
|
|
|
|
|
|
var FieldsMap = map[string]string{
|
|
|
+ "最早优选": "earliestDay",
|
|
|
"是否重复": "is_repeat",
|
|
|
"是否优选": "is_push",
|
|
|
"运营商中标标签": "tagname",
|
|
@@ -989,7 +991,7 @@ func (f *Front) GroupImportData() {
|
|
|
id = util.SE.DecodeString(id)
|
|
|
for i, f1 := range cellFieldName {
|
|
|
if val := row.Cells[i].Value; val != "" {
|
|
|
- if f1 == "is_push" || f1 == "is_repeat" {
|
|
|
+ if f1 == "is_push" || f1 == "is_repeat" || f1 == "earliestDay" {
|
|
|
update[f1] = qu.IntAll(val)
|
|
|
} else if f1 == "multipackage" {
|
|
|
update[fmt.Sprintf("v_baseinfo.%s", f1)] = qu.IntAll(val)
|