|
@@ -466,10 +466,10 @@ func (n *network) List(in *types.NetWorkListReq) *types.Reply {
|
|
|
args = append(args, "%"+in.Name+"%")
|
|
|
}
|
|
|
q += ` GROUP BY a.id order by a.create_time desc`
|
|
|
- if in.Buyercount_start == 0 && in.Buyercount_end == 0 && in.Monitor == 0 && in.Monitorcount_start == 0 && in.Monitorcount_end == 0 && in.Project_matchme == 0 {
|
|
|
- q += ` limit ?`
|
|
|
- args = append(args, in.Page_size)
|
|
|
- }
|
|
|
+ // if in.Buyercount_start == 0 && in.Buyercount_end == 0 && in.Monitor == 0 && in.Monitorcount_start == 0 && in.Monitorcount_end == 0 && in.Project_matchme == 0 {
|
|
|
+ // q += ` limit ?`
|
|
|
+ // args = append(args, in.Page_size)
|
|
|
+ // }
|
|
|
listTemp := CrmMysql.SelectBySql(q, args...)
|
|
|
firstparty_array, supplier_array, adiffb_array, agency_array, middleman_project_array := []string{}, []string{}, []string{}, []string{}, []string{}
|
|
|
for _, v := range *listTemp {
|