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

xujun

parent 0e320172
...@@ -61,6 +61,15 @@ public class ComProjectGroupDetailDTO extends BaseDTO { ...@@ -61,6 +61,15 @@ public class ComProjectGroupDetailDTO extends BaseDTO {
@ApiModelProperty(value = "姓名", position = 4) @ApiModelProperty(value = "姓名", position = 4)
private String personName; private String personName;
/** 申报单位Id */
@ApiModelProperty(value = "申报单位Id", position = 6)
@Length(max=36, message = "申报单位Id不能大于36")
private String appUnitId;
/** 申报单位名称 */
@ApiModelProperty(value = "申报单位名称", position = 7)
private String appUnitName;
/** key */ /** key */
@ApiModelProperty(value = "key", position = 1) @ApiModelProperty(value = "key", position = 1)
@Length(max=36, message = "key不能大于36") @Length(max=36, message = "key不能大于36")
......
...@@ -21,12 +21,13 @@ ...@@ -21,12 +21,13 @@
</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.app_no, b.proj_class, b.proj_name, d.name as knowledge_name, c.cert_id, c.person_name select a.*, b.app_unit_id, f.unit_name as app_unit_name, 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 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
left join system_parameter e on d.parent_id = e.id left join system_parameter e on d.parent_id = e.id
left join com_unit f on b.app_unit_id = f.id
<where> <where>
${ew.sqlSegment} ${ew.sqlSegment}
</where> </where>
......
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