| | |
| | | package com.ruoyi.management.controller; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.management.domain.SlStoreManagementImg; |
| | | import com.ruoyi.management.domain.dto.StoreManagementDTO; |
| | | import com.ruoyi.management.domain.dto.StoreManagementimgDTO; |
| | | import com.ruoyi.management.domain.dto.StoreManagementimgQuery; |
| | | import com.ruoyi.management.service.SlStoreManagementImgService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | 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 javax.annotation.Resource; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @RequestMapping("/sl-store-management-img") |
| | | public class SlStoreManagementImgController { |
| | | |
| | | @Resource |
| | | private SlStoreManagementImgService slStoreManagementImgService; |
| | | @PostMapping("/addStoreManagementimg") |
| | | @ApiOperation(value = "添加/修改仓库管理平面圖") |
| | | public R addStoreManagementimg(@RequestBody StoreManagementimgDTO storeManagementimgDTO) { |
| | | slStoreManagementImgService.addStoreManagementimg(storeManagementimgDTO); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PostMapping("/getStoreManagementimgOne") |
| | | @ApiOperation(value = "獲取仓库管理平面圖") |
| | | public R<SlStoreManagementImg> getStoreManagementimgOne(@RequestBody StoreManagementimgQuery storeManagementimgQuery) { |
| | | return R.ok(slStoreManagementImgService.getStoreManagementimgOne(storeManagementimgQuery)); |
| | | } |
| | | |
| | | } |