| | |
| | | package com.gkhy.hazmat.admin.controller.system; |
| | | |
| | | |
| | | import com.gkhy.hazmat.common.annotation.Anonymous; |
| | | import com.gkhy.hazmat.common.annotation.Log; |
| | | import com.gkhy.hazmat.common.annotation.RepeatSubmit; |
| | | import com.gkhy.hazmat.common.api.CommonResult; |
| | |
| | | return CommonResult.success(companyService.checkNameUnique(company)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "生成表测试") |
| | | @GetMapping("/createProductTables") |
| | | @PreAuthorize("hasAnyAuthority('hazmat:manage:system')") |
| | | public CommonResult createProductTables(Long companyId) |
| | | { |
| | | companyService.createProductTables(companyId); |
| | | return CommonResult.success(); |
| | | } |
| | | |
| | | } |