Commit 2f8bad65 authored by 徐俊's avatar 徐俊

xujun

parent bb328421
...@@ -36,11 +36,19 @@ public class ComProjectGroupDetailDTO extends BaseDTO { ...@@ -36,11 +36,19 @@ public class ComProjectGroupDetailDTO extends BaseDTO {
@Length(max=100, message = "项目编号不能大于100") @Length(max=100, message = "项目编号不能大于100")
private String projNo; private String projNo;
/** 申请编号 */
@ApiModelProperty(value = "申请编号", position = 2 )
private String appNo;
/** 项目名称 */ /** 项目名称 */
@ApiModelProperty(value = "项目名称", position = 5) @ApiModelProperty(value = "项目名称", position = 5)
@Length(max=150, message = "项目名称不能大于150") @Length(max=150, message = "项目名称不能大于150")
private String projName; private String projName;
/** 项目类别 1 一般项目 2重点项目 */
@ApiModelProperty(value = "项目类别", position = 1 )
private Integer projClass;
/** 学科 */ /** 学科 */
@ApiModelProperty(value = "学科", position = 6) @ApiModelProperty(value = "学科", position = 6)
private String knowledgeName; private String knowledgeName;
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
</select> </select>
<select id="getProjectDetailListbyPage" resultType="com.yiboshi.science.param.dto.ComProjectGroupDetailDTO"> <select id="getProjectDetailListbyPage" resultType="com.yiboshi.science.param.dto.ComProjectGroupDetailDTO">
select a.*, b.proj_no, b.proj_name, d.name as knowledge_name, c.cert_id, c.person_name from com_project_group_detail a select a.*, b.proj_no, b.app_no, b.proj_class, b.proj_name, d.name as knowledge_name, c.cert_id, c.person_name
from com_project_group_detail a
left join com_project b on a.proj_id = b.id left join com_project b on a.proj_id = b.id
left join com_person c on b.app_person_id = c.id left join com_person c on b.app_person_id = c.id
left join system_parameter d on b.knowledge_id = d.id left join system_parameter d on b.knowledge_id = d.id
......
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