Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
7df28913bf
@ -183,6 +183,12 @@ public class CommentServiceImpl implements CommentService {
|
|||||||
{
|
{
|
||||||
|
|
||||||
String child = commentDao.queryChildId(commentId);
|
String child = commentDao.queryChildId(commentId);
|
||||||
|
System.out.println(child);
|
||||||
|
if(child == null)
|
||||||
|
{
|
||||||
|
commentDao.deleteByPrimaryKey(commentId);
|
||||||
|
return "处理完成";
|
||||||
|
}
|
||||||
String [] childrens = child.split(",");
|
String [] childrens = child.split(",");
|
||||||
int flag = 0;
|
int flag = 0;
|
||||||
for(String id : childrens)
|
for(String id : childrens)
|
||||||
|
Loading…
Reference in New Issue
Block a user