dwdawd
This commit is contained in:
1 parent
965dfb6d97
commit
2f866b85b1
1 file changed
+1
-1
@@ -64,7 +64,7 @@
|
||||
FROM ln_comment AS t
|
||||
ORDER BY t.id ASC) t1,
|
||||
(SELECT @pids := #{commentId,jdbcType=INTEGER}) t2) t3
|
||||
WHERE ischild != '0'
|
||||
WHERE ischild != '0' and id = #{commentId,jdbcType=INTEGER}
|
||||
order by id desc
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
Reference in new issue
Block a user