Merge remote-tracking branch 'origin/master'

This commit is contained in:
landaiqing 2023-12-29 02:28:54 +08:00
commit 7df28913bf

View File

@ -183,6 +183,12 @@ public class CommentServiceImpl implements CommentService {
{
String child = commentDao.queryChildId(commentId);
System.out.println(child);
if(child == null)
{
commentDao.deleteByPrimaryKey(commentId);
return "处理完成";
}
String [] childrens = child.split(",");
int flag = 0;
for(String id : childrens)