双重预防项目-国泰新华二开定制版
16639036659
2023-06-26 28f6c716269ce5435b103137dd7ec1f1f9ab19ba
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);
    }
}