|
@@ -75,7 +75,7 @@ public class ContractInfoController extends BladeController {
|
|
|
/**
|
|
|
* 根据项目id查询当前所有合同
|
|
|
*/
|
|
|
- @GetMapping("/get-contractInfo-by-pid")
|
|
|
+ @GetMapping("/get-contractInfo")
|
|
|
@ApiOperationSupport(order = 8)
|
|
|
@ApiOperation(value = "根据项目id查询当前所有合同", notes = "传入pid")
|
|
|
public R<List<ContractInfo>> findContractInfoByPid(String pid) {
|
|
@@ -180,7 +180,7 @@ public class ContractInfoController extends BladeController {
|
|
|
/**
|
|
|
* 查询角色的岗位
|
|
|
*/
|
|
|
- @GetMapping("/get-job-by-roleId")
|
|
|
+ @GetMapping("/get-jobs")
|
|
|
@ApiOperationSupport(order = 8)
|
|
|
@ApiOperation(value = "查询角色下的岗位", notes = "传入id")
|
|
|
public R<List<CRolePostVO>> findJobByRoleId(@ApiParam(value = "id", required = true)
|
|
@@ -304,7 +304,7 @@ public class ContractInfoController extends BladeController {
|
|
|
/**
|
|
|
* 保存-项目合同段分配人员
|
|
|
*/
|
|
|
- @PostMapping("/save-userInfo-by-projectTow")
|
|
|
+ @PostMapping("/save-userInfo-by-project-tow")
|
|
|
@ApiOperationSupport(order = 13)
|
|
|
@ApiOperation(value = "保存-项目合同段分配人员", notes = "传入项目id、合同id、岗位处roleId、用户id")
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@@ -374,7 +374,7 @@ public class ContractInfoController extends BladeController {
|
|
|
/**
|
|
|
* 项目分配用户逻辑删除当前项目下所有合同段角色信息
|
|
|
*/
|
|
|
- @PostMapping("/remove-user-projectInfoAndRole-by-id")
|
|
|
+ @PostMapping("/remove-userProjectInfo-role-byId")
|
|
|
@ApiOperationSupport(order = 14)
|
|
|
@ApiOperation(value = "逻辑删除当前项目下所有合同段角色信息", notes = "传入dataInfo内的一个id")
|
|
|
public R removeUserProjectInfoAndRoleById(@ApiParam(value = "dataInfo内的一个id", required = true) @RequestParam String id) {
|
|
@@ -406,7 +406,7 @@ public class ContractInfoController extends BladeController {
|
|
|
/**
|
|
|
* 保存或修改分配合同段wbs树
|
|
|
*/
|
|
|
- @PostMapping("/submit-wbsTree-in-contract")
|
|
|
+ @PostMapping("/submit-wbsTree-contract")
|
|
|
@ApiOperationSupport(order = 17)
|
|
|
@ApiOperation(value = "保存或修改分配合同段wbs树", notes = "传入WbsTreeContractDTO")
|
|
|
public R submitWbsTreeInContract(@RequestBody WbsTreeContractDTO wbsTreeContractDTO) {
|