package com.thhy.materials.modules.biz.embedment.controller; import com.thhy.general.common.BasicResult; import com.thhy.materials.modules.biz.embedment.dto.EmbedmentGoodsDto; import com.thhy.materials.modules.biz.embedment.service.SysEmbedmentGoodsService; 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; /** * @Author QiuYuHao * @CreateDate 2023-09-22 15:23:59 * 校正记录控制层 */ @RestController @RequestMapping(value = "embedmentCorrection") public class SysEmbedmentCorrectionController { @Autowired private SysEmbedmentGoodsService sysEmbedmentGoodsService; //校正列表 @PostMapping("/inventoryList") public BasicResult inventoryList(@RequestBody EmbedmentGoodsDto embedmentGoodsDto){ return sysEmbedmentGoodsService.inventoryList(embedmentGoodsDto); } }