|
|
@@ -28,7 +28,7 @@ import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 公司管理列Controller
|
|
|
- *
|
|
|
+ *
|
|
|
* @author change
|
|
|
* @date 2021-08-12
|
|
|
*/
|
|
|
@@ -48,7 +48,7 @@ public class RecruitCompanyController extends BaseController {
|
|
|
* 查询公司管理列列表
|
|
|
*/
|
|
|
@ApiOperation("查询公司管理列列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('modules.company:company:list')")
|
|
|
+
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo<RecruitCompanyVo> list(RecruitCompanyQueryBo bo) {
|
|
|
startPage();
|
|
|
@@ -62,7 +62,7 @@ public class RecruitCompanyController extends BaseController {
|
|
|
* 查询行业类别列表
|
|
|
*/
|
|
|
@ApiOperation("查询行业类别列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:trade:list')")
|
|
|
+
|
|
|
@GetMapping("/listTrade")
|
|
|
public TableDataInfo<RecruitCompanyTradeVo> list(RecruitCompanyTradeQueryBo bo) {
|
|
|
startPage();
|
|
|
@@ -75,7 +75,7 @@ public class RecruitCompanyController extends BaseController {
|
|
|
* 获取公司管理列详细信息
|
|
|
*/
|
|
|
@ApiOperation("获取公司管理列详细信息")
|
|
|
- @PreAuthorize("@ss.hasPermi('modules.company:company:query')")
|
|
|
+
|
|
|
@GetMapping("/{companyId}")
|
|
|
public AjaxResult<RecruitCompanyVo> getInfo(@PathVariable("companyId" ) Long companyId) {
|
|
|
return AjaxResult.success(iRecruitCompanyService.queryById(companyId));
|
|
|
@@ -85,7 +85,7 @@ public class RecruitCompanyController extends BaseController {
|
|
|
* 新增公司管理列
|
|
|
*/
|
|
|
@ApiOperation("新增公司管理列")
|
|
|
- @PreAuthorize("@ss.hasPermi('modules.company:company:add')")
|
|
|
+
|
|
|
@Log(title = "公司管理列", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/add")
|
|
|
public AjaxResult<Void> add(@RequestBody RecruitCompanyAddBo bo) {
|
|
|
@@ -96,7 +96,7 @@ public class RecruitCompanyController extends BaseController {
|
|
|
* 修改公司管理列
|
|
|
*/
|
|
|
@ApiOperation("修改公司管理列")
|
|
|
- @PreAuthorize("@ss.hasPermi('modules.company:company:edit')")
|
|
|
+
|
|
|
@Log(title = "公司管理列", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/edit")
|
|
|
public AjaxResult<Void> edit(@RequestBody RecruitCompanyEditBo bo) {
|
|
|
@@ -107,7 +107,7 @@ public class RecruitCompanyController extends BaseController {
|
|
|
* 导入公司
|
|
|
*/
|
|
|
@ApiOperation("导入公司")
|
|
|
- @PreAuthorize("@ss.hasPermi('modules.company:company:add')")
|
|
|
+
|
|
|
@Log(title = "公司管理列", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/importExcel")
|
|
|
public AjaxResult<Void> exc(MultipartFile file, HttpServletRequest request) throws IOException {
|