This commit is contained in:
zhy committed 2023-12-29 01:29:53 +08:00
1 parent 965dfb6d97
commit 2f866b85b1
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@
FROM ln_comment AS t FROM ln_comment AS t
ORDER BY t.id ASC) t1, ORDER BY t.id ASC) t1,
(SELECT @pids := #{commentId,jdbcType=INTEGER}) t2) t3 (SELECT @pids := #{commentId,jdbcType=INTEGER}) t2) t3
WHERE ischild != '0' WHERE ischild != '0' and id = #{commentId,jdbcType=INTEGER}
order by id desc order by id desc
limit 1 limit 1
</select> </select>