| | |
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | @Service("PreventTaskTypeService")
|
| | | public class PreventTaskTypeServiceImpl implements PreventTaskTypeService {
|
| | |
|
| | |
| | | public PreventTaskType getInfoByTaskId(Long taskId) {
|
| | | return taskTypeRepository.getInfoByTaskId(taskId);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<PreventTaskType> getInfoByJobId(Long jobId) {
|
| | | return taskTypeRepository.getInfoByJobId(jobId);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<PreventTaskType> getAllTaskTypeList() {
|
| | | return taskTypeRepository.getAllTaskTypeList();
|
| | | }
|
| | |
|
| | | } |