提交 | 用户 | 时间
|
c06f48
|
1 |
package com.iailab.module.model.mcs.pre.controller.admin; |
7fd198
|
2 |
|
潘 |
3 |
import com.iailab.framework.common.pojo.CommonResult; |
|
4 |
import com.iailab.module.model.mcs.pre.service.MmItemOutputService; |
|
5 |
import com.iailab.module.model.mcs.pre.dto.MmItemOutputDTO; |
|
6 |
import org.springframework.beans.factory.annotation.Autowired; |
|
7 |
import org.springframework.web.bind.annotation.GetMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestMapping; |
|
9 |
import org.springframework.web.bind.annotation.RequestParam; |
|
10 |
import org.springframework.web.bind.annotation.RestController; |
|
11 |
|
|
12 |
import java.util.List; |
|
13 |
import java.util.Map; |
|
14 |
|
|
15 |
import static com.iailab.framework.common.pojo.CommonResult.success; |
|
16 |
|
|
17 |
/** |
|
18 |
* @author PanZhibao |
|
19 |
* @date 2021年07月23日 11:13 |
|
20 |
*/ |
|
21 |
@RestController |
abba54
|
22 |
@RequestMapping("/model/pre/item-output") |
7fd198
|
23 |
public class MmItemOutputController { |
潘 |
24 |
|
|
25 |
@Autowired |
|
26 |
private MmItemOutputService mmItemOutputService; |
|
27 |
|
|
28 |
/** |
|
29 |
* 预测项输出列表 |
|
30 |
*/ |
|
31 |
@GetMapping("/list/all") |
|
32 |
public CommonResult<List<MmItemOutputDTO>> queryAll(@RequestParam Map<String, Object> params){ |
|
33 |
List<MmItemOutputDTO> data = mmItemOutputService.queryList(params); |
|
34 |
return success(data); |
|
35 |
} |
|
36 |
} |