10 changed files with 83 additions and 7 deletions
@ -0,0 +1,26 @@ |
|||
package com.project.information.controller; |
|||
|
|||
import com.project.base.domain.result.Result; |
|||
import com.project.information.application.ProductLineApplicationService; |
|||
import com.project.information.domain.dto.ProductLineDTO; |
|||
import com.project.information.domain.param.ProductLineParam; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
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; |
|||
|
|||
@RestController |
|||
@Slf4j |
|||
@RequestMapping("/api/examinee/productLine") |
|||
public class ProductLineExamineeController { |
|||
@Autowired |
|||
private ProductLineApplicationService productLineApplicationService; |
|||
|
|||
@GetMapping("/treeList") |
|||
public Result<List<ProductLineDTO>> treeList(ProductLineParam param) throws Exception { |
|||
return productLineApplicationService.treeList(param); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue