diff --git a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java index bf53799..46db3c5 100644 --- a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java +++ b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java @@ -20,6 +20,8 @@ public class ProjectInfo extends BaseEntity { private static final long serialVersionUID = 1L; + @ApiModelProperty(value = "用户编号") + private Long userId; /** * 项目编码 diff --git a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java index bf53799..46db3c5 100644 --- a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java +++ b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java @@ -20,6 +20,8 @@ public class ProjectInfo extends BaseEntity { private static final long serialVersionUID = 1L; + @ApiModelProperty(value = "用户编号") + private Long userId; /** * 项目编码 diff --git a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/request/project/ProjectInfoQueryRequest.java b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/request/project/ProjectInfoQueryRequest.java index 526d9fc..2758617 100644 --- a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/request/project/ProjectInfoQueryRequest.java +++ b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/request/project/ProjectInfoQueryRequest.java @@ -40,4 +40,7 @@ @ApiModelProperty(value = "字段解释") private String fieldExplain; + @ApiModelProperty(value = "用户编号") + private Long userId; + } diff --git a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java index bf53799..46db3c5 100644 --- a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java +++ b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/ProjectInfo.java @@ -20,6 +20,8 @@ public class ProjectInfo extends BaseEntity { private static final long serialVersionUID = 1L; + @ApiModelProperty(value = "用户编号") + private Long userId; /** * 项目编码 diff --git a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/request/project/ProjectInfoQueryRequest.java b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/request/project/ProjectInfoQueryRequest.java index 526d9fc..2758617 100644 --- a/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/request/project/ProjectInfoQueryRequest.java +++ b/newfiber-termites/newfiber-termites-dataup/src/main/java/com/newfiber/termite/domain/request/project/ProjectInfoQueryRequest.java @@ -40,4 +40,7 @@ @ApiModelProperty(value = "字段解释") private String fieldExplain; + @ApiModelProperty(value = "用户编号") + private Long userId; + } diff --git a/newfiber-termites/newfiber-termites-dataup/src/main/resources/mapper/termite/ProjectInfoMapper.xml b/newfiber-termites/newfiber-termites-dataup/src/main/resources/mapper/termite/ProjectInfoMapper.xml index ddb295d..5027cb2 100644 --- a/newfiber-termites/newfiber-termites-dataup/src/main/resources/mapper/termite/ProjectInfoMapper.xml +++ b/newfiber-termites/newfiber-termites-dataup/src/main/resources/mapper/termite/ProjectInfoMapper.xml @@ -48,6 +48,7 @@ , t.create_time , t.update_by , t.update_time + , pu.user_id AS userId @@ -60,7 +61,7 @@ - + JOIN ter_project_user pu ON t.project_code = pu.project_code