Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
bcf1477a
Commit
bcf1477a
authored
Jun 07, 2023
by
lixiaolei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
submit
parent
d100a3d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
BusinessRelateCompanyController.java
.../controller/business/BusinessRelateCompanyController.java
+14
-14
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessRelateCompanyController.java
View file @
bcf1477a
...
...
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.*;
import
java.util.List
;
/**
* 项目
关联单位
Controller
* 项目
相关企业
Controller
*
* @author lxl
* @date 2023-05-17
...
...
@@ -25,7 +25,7 @@ public class BusinessRelateCompanyController extends BaseController
private
IBusinessRelateCompanyService
businessRelateCompanyService
;
/**
* 查询
关联单位
角色
* 查询
相关企业
角色
*/
@PostMapping
(
"/role/list"
)
public
AjaxResult
companyRoleList
(
@RequestBody
BusinessIdDto
dto
){
...
...
@@ -33,7 +33,7 @@ public class BusinessRelateCompanyController extends BaseController
}
/**
* 查询项目
关联单位
列表
* 查询项目
相关企业
列表
*/
// @PreAuthorize("@ss.hasPermi('system:company:list')")
@GetMapping
(
"/list"
)
...
...
@@ -66,6 +66,17 @@ public class BusinessRelateCompanyController extends BaseController
return
toAjax
(
businessRelateCompanyService
.
updateBusinessRelateCompany
(
businessRelateCompany
));
}
/**
* 删除项目关联单位
*/
// @PreAuthorize("@ss.hasPermi('system:company:remove')")
// @Log(title = "项目关联单位", businessType = BusinessType.DELETE)
@DeleteMapping
(
"/remove/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
businessRelateCompanyService
.
deleteBusinessRelateCompanyByIds
(
ids
));
}
// /**
// * 导出项目关联单位列表
// */
...
...
@@ -89,15 +100,4 @@ public class BusinessRelateCompanyController extends BaseController
// return success(businessRelateCompanyService.selectBusinessRelateCompanyById(id));
// }
//
// /**
// * 删除项目关联单位
// */
// @PreAuthorize("@ss.hasPermi('system:company:remove')")
// @Log(title = "项目关联单位", businessType = BusinessType.DELETE)
// @DeleteMapping("/{ids}")
// public AjaxResult remove(@PathVariable Long[] ids)
// {
// return toAjax(businessRelateCompanyService.deleteBusinessRelateCompanyByIds(ids));
// }
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment