|
|
@@ -27,6 +27,7 @@ import org.springblade.core.tool.api.R;
|
|
|
import org.springblade.core.tool.utils.Func;
|
|
|
import org.springblade.meter.dto.ChangeTokenAddFormDTO;
|
|
|
import org.springblade.meter.dto.ChangeTokenFormDTO;
|
|
|
+import org.springblade.meter.dto.GetChangeNodeDTO;
|
|
|
import org.springblade.meter.vo.*;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
@@ -83,7 +84,7 @@ public class ChangeTokenFormController extends BladeController {
|
|
|
/**
|
|
|
* 新增-获取变更申请部位
|
|
|
*/
|
|
|
- @GetMapping("/getChangeNode")
|
|
|
+ @PostMapping("/getChangeNode")
|
|
|
@ApiOperationSupport(order = 3)
|
|
|
@ApiOperation(value = "新增-获取变更申请部位", notes = "传入合同id和选中的节点id,返回变更申请部位集合")
|
|
|
@ApiImplicitParams(value = {
|
|
|
@@ -91,8 +92,8 @@ public class ChangeTokenFormController extends BladeController {
|
|
|
@ApiImplicitParam(name = "ids", value = "选中的节点id,逗号拼接", required = true),
|
|
|
@ApiImplicitParam(name = "changeIds", value = "已经存在的节点id,逗号拼接", required = true)
|
|
|
})
|
|
|
- public R<List<ChangeNodeVO>> getChangeNode(Long contractId,String ids,String changeIds) {
|
|
|
- List<ChangeNodeVO> vos = changeTokenFormService.getChangeNode(contractId,ids,changeIds);
|
|
|
+ public R<List<ChangeNodeVO>> getChangeNode(@RequestBody GetChangeNodeDTO dto) {
|
|
|
+ List<ChangeNodeVO> vos = changeTokenFormService.getChangeNode(dto);
|
|
|
return R.data(vos);
|
|
|
}
|
|
|
|