package com.iailab.module.model.mcs.pre.controller.admin;
|
|
import com.iailab.framework.common.pojo.CommonResult;
|
import com.iailab.module.model.mcs.pre.service.MmItemOutputService;
|
import com.iailab.module.model.mcs.pre.dto.MmItemOutputDTO;
|
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.RequestParam;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import static com.iailab.framework.common.pojo.CommonResult.success;
|
|
/**
|
* @author PanZhibao
|
* @date 2021年07月23日 11:13
|
*/
|
@RestController
|
@RequestMapping("/model/pre/item-output")
|
public class MmItemOutputController {
|
|
@Autowired
|
private MmItemOutputService mmItemOutputService;
|
|
/**
|
* 预测项输出列表
|
*/
|
@GetMapping("/list/all")
|
public CommonResult<List<MmItemOutputDTO>> queryAll(@RequestParam Map<String, Object> params){
|
List<MmItemOutputDTO> data = mmItemOutputService.queryList(params);
|
return success(data);
|
}
|
}
|