|
@@ -702,10 +702,11 @@ public class ContractInfoController extends BladeController {
|
|
|
@ApiOperationSupport(order = 19)
|
|
|
@ApiOperation(value = "查询所有施工合同wbs树根节点", notes = "传入wbsId,项目id")
|
|
|
@ApiImplicitParams(value = {
|
|
|
- @ApiImplicitParam(name = "项目id", value = "projectId", required = true)
|
|
|
+ @ApiImplicitParam(name = "项目id", value = "projectId", required = true),
|
|
|
+ @ApiImplicitParam(name = "合同id", value = "contractId", required = true)
|
|
|
})
|
|
|
- public R treeAllConstruction(String projectId) {
|
|
|
- List<WbsTreeContractVO2> tree = contractInfoService.treeTwo(projectId);
|
|
|
+ public R treeAllConstruction(String projectId,Integer contractType) {
|
|
|
+ List<WbsTreeContractVO2> tree = contractInfoService.treeTwo(projectId,contractType);
|
|
|
if (tree != null && tree.size() > 0) {
|
|
|
return R.data(tree);
|
|
|
}
|