摘要: SELECT t3.* FROM(SELECT t1.*, IF (FIND_IN_SET(parent_id, @pids) > 0,@pids := CONCAT(@pids, ',', id),'0') AS ischild FROM(SELECT t.id,t.parent_id,t.NAM 阅读全文
posted @ 2024-03-05 14:51 岁月记忆 阅读(1174) 评论(0) 推荐(0) 编辑