低代码接口独立
This commit is contained in:
@ -86,7 +86,21 @@ public class ProjectRecordController{
|
|||||||
|
|
||||||
return BaseResponse.success(BeanUtil.toBean(projectRecord,ProjectRecordVO.class));
|
return BaseResponse.success(BeanUtil.toBean(projectRecord,ProjectRecordVO.class));
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* 查询数据 低代码使用
|
||||||
|
*
|
||||||
|
* @param id 项目ID
|
||||||
|
*
|
||||||
|
* @return 返回结果
|
||||||
|
*/
|
||||||
|
@ApiOperation("查询数据")
|
||||||
|
@GetMapping("/getProjectDdmById/{id}")
|
||||||
|
public BaseResponse<ProjectRecordVO> getProjectDdmById(@ApiParam(value = "主键id", required = true) @PathVariable String id){
|
||||||
|
|
||||||
|
ProjectRecord projectRecord = projectRecordService.getById(id);
|
||||||
|
|
||||||
|
return BaseResponse.success(BeanUtil.toBean(projectRecord,ProjectRecordVO.class));
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 查询分页数据
|
* 查询分页数据
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user