src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/PreventTaskTypeServiceImpl.java
@@ -6,6 +6,8 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service("PreventTaskTypeService") public class PreventTaskTypeServiceImpl implements PreventTaskTypeService { @@ -17,4 +19,10 @@ public PreventTaskType getInfoByTaskId(Long taskId) { return taskTypeRepository.getInfoByTaskId(taskId); } @Override public List<PreventTaskType> getInfoByJobId(Long jobId) { return taskTypeRepository.getInfoByJobId(jobId); } }