|
@@ -40,10 +40,10 @@ func (this *BusinessIntelligence) BusinessDetails() {
|
|
|
ok bool
|
|
|
)
|
|
|
id = util.DecodeId(id)
|
|
|
- (*data)["isSaleLeads"] = qutil.If(db.Mgo.Count("saleLeads", map[string]interface{}{
|
|
|
+ (*data)["isSubmit"] = qutil.If(db.Mgo.Count("saleLeads", map[string]interface{}{
|
|
|
"userid": userId,
|
|
|
"source": map[string]interface{}{
|
|
|
- "$regex": "pc_project_businessDetails_improve",
|
|
|
+ "$regex": "project_businessDetails_improve",
|
|
|
},
|
|
|
}) > 0, false, true)
|
|
|
|