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> queryAll(@RequestParam Map params){ List data = mmItemOutputService.queryList(params); return success(data); } }