马宇豪
2023-08-25 65edb3e4ffef3051e990293ad07ea52ebdc7c457
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);
    }
}