package com.fjhx.controller.bom; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.fjhx.service.bom.BomDetailsService; import com.fjhx.entity.bom.BomDetails; import com.fjhx.params.bom.BomDetailsVo; import org.springblade.core.tool.api.R; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.Map; /** *
* bom明细 前端控制器 *
* * @author ${author} * @since 2022-07-01 */ @RestController @RequestMapping("/bomDetails") public class BomDetailsController { @Autowired private BomDetailsService bomDetailsService; @PostMapping("/page") public R page(@RequestBody Map