|
@@ -188,6 +188,7 @@ func (d *DataExport) SieveData() {
|
|
|
"error_msg": "",
|
|
|
}
|
|
|
if _id != "" {
|
|
|
+ msgCount := dataexport.GetDataExportSearchCountByScdId(public.MQFW, public.Mgo_Bidding, public.DbConf.Mongodb.Bidding.DbName, public.DbConf.Elasticsearch.Main.Address, _id)
|
|
|
//从500条数据中筛选字段最全五条
|
|
|
scd := dataexport.GetSqlObjFromId(public.MQFW, _id)
|
|
|
kws := scd.Keyword
|
|
@@ -210,8 +211,9 @@ func (d *DataExport) SieveData() {
|
|
|
}
|
|
|
list := dataexport.FormatExportData(public.Mgo_Ent, &res_screen, config.Sysconfig["webdomain"].(string), dataType, true)
|
|
|
_res["data"] = map[string]interface{}{
|
|
|
- "list": subUrl(list, dataType),
|
|
|
- "_id": util.SE.Encode2Hex(_id),
|
|
|
+ "list": subUrl(list, dataType),
|
|
|
+ "_id": util.SE.Encode2Hex(_id),
|
|
|
+ "total": msgCount,
|
|
|
}
|
|
|
d.ServeJson(_res)
|
|
|
//_res["dataType"] = dataType
|