|
@@ -532,9 +532,6 @@ public class ProjectService extends ServiceImpl<ProjectMapper, Project> {
|
|
|
|
|
|
@Transactional
|
|
|
public String delete(Integer id) {
|
|
|
- //专题库表删除数据
|
|
|
- log.info("专题库表删除数据");
|
|
|
- this.removeById(id);
|
|
|
this.deleteProjectUser(id, loginUtils.getId());
|
|
|
projectPatentLinkService.deleteByProjectId(id);
|
|
|
projectFolderService.deleteByProjectId(id);
|
|
@@ -553,6 +550,7 @@ public class ProjectService extends ServiceImpl<ProjectMapper, Project> {
|
|
|
if (taskConditionIds.size() > 0) {
|
|
|
taskConditionService.removeByIds(taskConditionIds);
|
|
|
}
|
|
|
+ this.removeById(id);
|
|
|
|
|
|
return Response.success();
|
|
|
}
|