package com.mini.mybigscreen.biz.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.mini.mybigscreen.Model.ItemRequest; import com.mini.mybigscreen.biz.domain.ItemInfo; import com.mini.mybigscreen.biz.service.ItemInfoService; import jakarta.annotation.Resource; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; /** *

* 业务项目信息表 前端控制器 *

* * @author gaoxq * @since 2026-02-24 */ @RestController @RequestMapping("/biz/itemInfo") public class ItemInfoController { @Resource private ItemInfoService infoService; @GetMapping("list") public List getList(@RequestBody ItemRequest itemRequest) { QueryWrapper query = new QueryWrapper<>(); query.eq("item_code", itemRequest.getItemCode()) .eq("req_param", itemRequest.getReqParam()); return infoService.list(query); } }