| | |
| | | import com.thhy.materials.modules.biz.embedment.entity.SysEmbedmentGoodsEntity; |
| | | 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 org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * @Author QiuYuHao |
| | |
| | | public BasicResult findAll(@RequestBody EmbedmentGoodsDto embedmentGoodsDto){ |
| | | return sysEmbedmentGoodsService.findAll(embedmentGoodsDto); |
| | | } |
| | | |
| | | //查询库存单条 |
| | | @GetMapping("/findEntity") |
| | | public BasicResult findEntity(@RequestParam String id){ |
| | | return sysEmbedmentGoodsService.findEntity(id); |
| | | } |
| | | //查询规格 |
| | | @GetMapping("/findAllDetails") |
| | | public BasicResult findAllDetails(){ |
| | | return sysEmbedmentGoodsService.findAllDetails(); |
| | | } |
| | | |
| | | //查询dict类型 |
| | | @GetMapping("/getType") |
| | | public BasicResult getType(){ |
| | | return sysEmbedmentGoodsService.getType(); |
| | | } |
| | | |
| | | } |