dwdawd
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user