|
@@ -389,10 +389,10 @@ public class WbsTreeController extends BladeController {
|
|
|
@ApiOperationSupport(order = 20)
|
|
|
@ApiOperation(value = "根据表单id查询所有元素", notes = "传入表单id")
|
|
|
@ApiImplicitParam(name = "id", value = "表单id", required = true)
|
|
|
- public R<List<WbsFormElementVO>> selectPrivateFormElements(@RequestParam("id") String id) {
|
|
|
+ public R<List<WbsFormElementVO>> selectPrivateFormElements(@RequestParam("id") String id,String eName) {
|
|
|
List<WbsFormElementVO> wbsFormElements = null;
|
|
|
if (StringUtils.isNotEmpty(id)) {
|
|
|
- wbsFormElements = wbsTreeService.selectPrivateFormElements(id);
|
|
|
+ wbsFormElements = wbsTreeService.selectPrivateFormElements(id,eName);
|
|
|
if (wbsFormElements.size() > 0) {
|
|
|
return R.data(wbsFormElements);
|
|
|
}
|