| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | 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.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Map; |
| | |
| | | /** |
| | | * 厂区介绍存储 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('minio:event:export')") |
| | | @ApiOperation("根据权限获取设备列表") |
| | | @ApiOperation("厂区介绍存储") |
| | | @PostMapping("factory/save") |
| | | public Results factorySave(@RequestBody Map<String,String> map){ |
| | | return statisticalService.factorySave(map); |
| | | } |
| | | |
| | | /** |
| | | * 厂区介绍查询 |
| | | */ |
| | | @ApiOperation("厂区介绍查询") |
| | | @GetMapping("factory/select") |
| | | public Results factorySelect(){ |
| | | return statisticalService.factorySelect(); |
| | | } |
| | | |
| | | } |