|
@@ -18,6 +18,7 @@ import com.tofly.pms.testmanage.dto.BugInfoBatchDto;
|
|
|
import com.tofly.pms.testmanage.dto.BugUpdateDto;
|
|
|
import com.tofly.pms.testmanage.entity.BugInfo;
|
|
|
import com.tofly.pms.testmanage.entity.BugLog;
|
|
|
+import com.tofly.pms.testmanage.mapper.BugInfoMapper;
|
|
|
import com.tofly.pms.testmanage.service.BugInfoService;
|
|
|
import com.tofly.pms.testmanage.service.BugLogService;
|
|
|
import com.tofly.pms.testmanage.service.SystemItemService;
|
|
@@ -53,6 +54,8 @@ public class BugInfoController {
|
|
|
private SystemItemService systemItemService;
|
|
|
@Autowired
|
|
|
private ProjectTeamWService projectTeamWService;
|
|
|
+ @Autowired
|
|
|
+ private BugInfoMapper bugInfoMapper;
|
|
|
|
|
|
|
|
|
* 通过ID查询单条数据
|
|
@@ -223,7 +226,7 @@ public class BugInfoController {
|
|
|
}
|
|
|
}
|
|
|
byId.setDeleted(1);
|
|
|
- bugInfoService.updateById(byId);
|
|
|
+ bugInfoMapper.updateById(byId);
|
|
|
}
|
|
|
return ResponseEntity.ok(Boolean.TRUE);
|
|
|
}
|