Browse Source

feat:删除的时候删除问题

feature/tsjb-1.0
buaixuexideshitongxue 1 month ago
parent
commit
5adff2336d
  1. 2
      src/main/java/com/biutag/supervision/service/complaintCollection/ComplaintCollectionServiceImpl.java

2
src/main/java/com/biutag/supervision/service/complaintCollection/ComplaintCollectionServiceImpl.java

@ -171,6 +171,8 @@ public class ComplaintCollectionServiceImpl implements ComplaintCollectionServic
if (!deleted) { if (!deleted) {
throw new RuntimeException("删除失败"); throw new RuntimeException("删除失败");
} }
// 删除问题
negativeService.remove(query.get(0).getNegativeId());
return Result.success(true); return Result.success(true);
} }

Loading…
Cancel
Save