| | |
| | | |
| | | import com.zy.acs.framework.common.R; |
| | | import com.zy.acs.manager.core.service.LaneService; |
| | | import com.zy.acs.manager.manager.entity.Task; |
| | | import com.zy.acs.manager.manager.service.TaskService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * Created by vincent on 10/24/2024 |
| | |
| | | |
| | | @Autowired |
| | | private LaneService laneService; |
| | | @Autowired |
| | | private TaskService taskService; |
| | | |
| | | @GetMapping("/lanes") |
| | | public R getLanes() { |
| | | List<Task> taskList = taskService.findTasksByLaneHash("4b81ebaedd8ed7662d37b63e20dec5dd089d4c32136b8826c6323839fe51938e"); |
| | | |
| | | return R.ok().add(laneService.search("00000010")); |
| | | } |
| | | |