Roc 3 years ago
parent
commit
a6543c073b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      controllers/contract.go

+ 2 - 1
controllers/contract.go

@@ -451,7 +451,8 @@ func (this *ContractCommon) ListV2() {
 	}
 	startSize = paging.StartIndex(currentIndex, pageSize)
 
-	joinCondition := " and a.curr_node_id=d.node_id"
+	//joinCondition := " and a.curr_node_id=d.node_id"
+	joinCondition := ""
 
 	total, err := contract_approval.GetContractListCountV2(childCondition, condition, joinCondition, unionCondition, childPars, pars, unionPars)
 	if err != nil {