Commit 7c3f44df authored by 鲍德's avatar 鲍德

现状风险项目

parent e90e6848
......@@ -43,6 +43,7 @@ public class ProjectUserPostController extends BaseController
@GetMapping("/list")
public TableDataInfo list(ProjectUserPost projectUserPost)
{
projectUserPost.setUserId(getUserId());
startPage();
List<ProjectUserPost> list = projectUserPostService.selectProjectUserPostList(projectUserPost);
return getDataTable(list);
......
......@@ -41,4 +41,8 @@ public class ProjectUserPost extends BaseEntityClean
private Long postId;
private String projectName;
private String projectType;
private String projectAddress;
}
......@@ -10,6 +10,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="userId" column="user_id" />
<result property="postId" column="post_id" />
<result property="projectName" column="project_name" />
<result property="projectType" column="project_type" />
<result property="projectAddress" column="project_address" />
</resultMap>
<sql id="selectProjectUserPostVo">
......@@ -21,6 +23,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.id,
project_id,
b.`name` project_name,
b.type project_type,
b.address project_address,
user_id,
post_id
FROM
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment