| | |
| | | import com.ruoyi.management.domain.dto.StoreManagementimgDTO; |
| | | import com.ruoyi.management.domain.dto.StoreManagementimgQuery; |
| | | import com.ruoyi.management.service.SlStoreManagementImgService; |
| | | 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("/sl-store-management-img") |
| | | @Api(value = "仓库对应平面图接口", tags = "仓库对应平面图接口", description = "仓库对应平面图接口") |
| | | public class SlStoreManagementImgController { |
| | | |
| | | @Resource |
| | |
| | | @PostMapping("/addStoreManagementimg") |
| | | @ApiOperation(value = "添加/修改仓库管理平面圖") |
| | | public R addStoreManagementimg(@RequestBody StoreManagementimgDTO storeManagementimgDTO) { |
| | | slStoreManagementImgService.addStoreManagementimg(storeManagementimgDTO); |
| | | return R.ok(); |
| | | |
| | | return R.ok(slStoreManagementImgService.addStoreManagementimg(storeManagementimgDTO)); |
| | | } |
| | | |
| | | @PostMapping("/getStoreManagementimgOne") |
| | | @ApiOperation(value = "獲取仓库管理平面圖") |
| | | @ApiOperation(value = "获取仓库管理平面圖") |
| | | public R<SlStoreManagementImg> getStoreManagementimgOne(@RequestBody StoreManagementimgQuery storeManagementimgQuery) { |
| | | return R.ok(slStoreManagementImgService.getStoreManagementimgOne(storeManagementimgQuery)); |
| | | } |