letSQL=`SELECT toolbox.* FROM type_childtype_toolbox INNER JOIN toolbox ON type_childtype_toolbox.toolBoxId = toolbox.toolBoxId INNER JOIN child_type ON type_childtype_toolbox.childTypeId = child_type.childTypeId INNER JOIN type ON type_childtype_toolbox.typeId = type.typeId WHERE type_childtype_toolbox.typeId = ?`
if(isFollow){
typeId=JSON.parse(typeId)
SQL='SELECT * FROM toolbox WHERE toolboxId IN (?)'
}elseif(typeId){
SQL=`SELECT toolbox.* FROM toolbox INNER JOIN toolbox_type ON toolbox.toolBoxId = toolbox_type.toolBoxId INNER JOIN type ON toolbox_type.typeId = type.typeId WHERE toolbox_type.typeId = ?`