|
@@ -269,8 +269,8 @@ func (this *LoanAction)Clue_manage(){
|
|
}else{
|
|
}else{
|
|
currentPage, _ := this.GetInteger("currentPage")
|
|
currentPage, _ := this.GetInteger("currentPage")
|
|
perPage, _ := this.GetInteger("perPage")
|
|
perPage, _ := this.GetInteger("perPage")
|
|
- data :=mgo.Find("jy_loan",nil,`{"application_time":1}`,`{"companyName":1,"registration":1,"visit_person":1,"visit_time":1,"account_manager":1,"opinion_time":1,"classify_type":1,"uid":1,"application_time":1}`,false,(currentPage-1)*perPage, perPage)
|
|
|
|
- count := mgo.Count("jy_loan",nil)
|
|
|
|
|
|
+ data :=mgo.Find("jy_loan",`{"companyName":{"$exists":true}}`,`{"application_time":1}`,`{"companyName":1,"registration":1,"visit_person":1,"visit_time":1,"account_manager":1,"opinion_time":1,"classify_type":1,"uid":1,"application_time":1}`,false,(currentPage-1)*perPage, perPage)
|
|
|
|
+ count := mgo.Count("jy_loan",`{"companyName":{"$exists":true}}`)
|
|
if (*data!=nil){
|
|
if (*data!=nil){
|
|
this.ServeJson(map[string]interface{}{
|
|
this.ServeJson(map[string]interface{}{
|
|
"currentPage": currentPage,
|
|
"currentPage": currentPage,
|