Merge branch 'master_低代码平台' into 'master'

Master 低代码平台

See merge request eshop/biz_service_ebtp_project!12
This commit is contained in:
jl-zhangqb
2024-02-23 13:52:45 +00:00
2 changed files with 26 additions and 0 deletions

View File

@ -86,7 +86,21 @@ public class ProjectRecordController{
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));
}
/**
* 查询分页数据
*

View File

@ -114,7 +114,19 @@ public class ProjectSectionController{
return BaseResponse.success(projectSectionService.getPage(projectSection));
}
/**
* 查询分页数据 低代码平台使用
*
* @param projectSection 分页信息
*
* @return 返回结果
*/
@ApiOperation("查询分页数据")
@PostMapping("/getDdmPage")
public BaseResponse<IPage<ProjectSection>> getDdmPage(@ApiParam(value = "对象数据", required = true) @RequestBody ProjectSectionVO projectSection){
return BaseResponse.success(projectSectionService.getPage(projectSection));
}
/**
* 项目标段信息查询数据