| | |
| | | import com.ruoyi.management.domain.vo.InventoriesSuppliesInfoVO; |
| | | import com.ruoyi.management.domain.vo.InventoriesSuppliesVO; |
| | | import com.ruoyi.management.service.InventoriesSuppliesInfoService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/inventories-supplies-info") |
| | | @Api(value = "物资盘点详情接口", tags = "物资盘点详情接口", description = "物资盘点详情接口") |
| | | public class InventoriesSuppliesInfoController { |
| | | |
| | | @Resource |
| | |
| | | @PostMapping("/submitInventoriesSuppliesInfo") |
| | | @ApiOperation(value = "提交物资盘点数据") |
| | | public R submitInventoriesSuppliesInfo(@RequestBody InventoriesSuppliesInfoDTO inventoriesSuppliesInfoDTO) { |
| | | inventoriesSuppliesInfoService.getInventoriesSuppliesInfo(inventoriesSuppliesInfoDTO); |
| | | inventoriesSuppliesInfoService.submitInventoriesSuppliesInfo(inventoriesSuppliesInfoDTO); |
| | | return R.ok(); |
| | | } |
| | | |