#
luxiaotao1123
2024-10-28 052ee1f9c0b9e2bc8bbd4cf135ae45fed7422023
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.findTasksByLaneHash("4b81ebaedd8ed7662d37b63e20dec5dd089d4c32136b8826c6323839fe51938e");
        return R.ok().add(laneService.search("00000010"));
    }