#
luxiaotao1123
2024-11-05 fe4c6c0439e0dc00f0b09d1818735065d38d3078
zy-acs-manager/src/main/java/com/zy/acs/manager/core/DispatcherTestController.java
@@ -2,10 +2,14 @@
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
@@ -16,9 +20,13 @@
    @Autowired
    private LaneService laneService;
    @Autowired
    private TaskService taskService;
    @GetMapping("/lanes")
    public R getLanes() {
        List<Task> taskList = taskService.findRunningTasksByLaneHash("4b81ebaedd8ed7662d37b63e20dec5dd089d4c32136b8826c6323839fe51938e");
        return R.ok().add(laneService.search("00000010"));
    }