|
@@ -95,8 +95,7 @@ func saveBidMysqlData(tmp map[string]interface{}){
|
|
|
data["industry_code"] = industry_code
|
|
|
data["industry_code_other"] = industry_code_other
|
|
|
|
|
|
- //保存mysql
|
|
|
- MysqlTool.Insert("f_bidding",data)
|
|
|
+ insertMysqlData("f_bidding",data,"")
|
|
|
}
|
|
|
|
|
|
//导出标的物-mysql
|
|
@@ -162,10 +161,7 @@ func savePurMysqlData(tmp map[string]interface{}){
|
|
|
pro_key := fmt.Sprintf("%s_%s_%s",product_class_1,product_class_2,product_class_3)
|
|
|
data["product_code"] = proclass_name_dict[pro_key]
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
- //保存mysql
|
|
|
- MysqlTool.Insert("f_bidproduct",data)
|
|
|
+ insertMysqlData("f_bidproduct",data,"")
|
|
|
}
|
|
|
|
|
|
|
|
@@ -175,7 +171,7 @@ func savePurMysqlData(tmp map[string]interface{}){
|
|
|
|
|
|
|
|
|
//导出源数据...
|
|
|
-func exportUsefulPurchasing() {
|
|
|
+func exportUsefulPurMysql() {
|
|
|
sess := save_mgo.GetMgoConn()
|
|
|
defer save_mgo.DestoryMongoConn(sess)
|
|
|
q,total:=map[string]interface{}{},0
|