|
@@ -130,6 +130,20 @@ func (d *TreeContractDao) GetChildren(parentId int, bidsectionId int, projectId
|
|
|
|
+ Where("parent_id=? and bidsection_id=? and project_id=? and tree_type=? and contract_id=0", parentId, bidsectionId, projectId, treeType).
|
|
func (d *TreeContractDao) GetElderBrother(serial int, depth int, parentId int, bidsectionId int, projectId int, treeType int) []models.CmTreeContracts {
|
|
func (d *TreeContractDao) GetElderBrother(serial int, depth int, parentId int, bidsectionId int, projectId int, treeType int) []models.CmTreeContracts {
|
|
datalist := make([]models.CmTreeContracts, 0)
|
|
datalist := make([]models.CmTreeContracts, 0)
|