Commit e50f43c8 authored by 徐俊's avatar 徐俊

xujun

parent ea73cf3b
...@@ -45,10 +45,10 @@ public class ComTalentMembers extends BaseEntity { ...@@ -45,10 +45,10 @@ public class ComTalentMembers extends BaseEntity {
@Length(max=200, message = "专业特长不能大于200") @Length(max=200, message = "专业特长不能大于200")
private String spec; private String spec;
/** 职 */ /** 职 */
@ApiModelProperty(value = "职", position = 6) @ApiModelProperty(value = "职", position = 6)
@Length(max=50, message = "职不能大于50") @Length(max=50, message = "职不能大于50")
private String duty; private String title;
/** 工作单位 */ /** 工作单位 */
@ApiModelProperty(value = "工作单位", position = 7) @ApiModelProperty(value = "工作单位", position = 7)
......
...@@ -40,10 +40,10 @@ public class ComTalentMembersDTO extends BaseDTO { ...@@ -40,10 +40,10 @@ public class ComTalentMembersDTO extends BaseDTO {
private String specName; private String specName;
@ApiModelProperty(value = "职务") @ApiModelProperty(value = "职务")
private String duty; private String title;
@ApiModelProperty(value = "职务名称") @ApiModelProperty(value = "职务名称")
private String dutyName; private String titleName;
@ApiModelProperty(value = "工作单位") @ApiModelProperty(value = "工作单位")
private String workUnit; private String workUnit;
......
...@@ -37,7 +37,7 @@ public class ComTalentMembersQueryVO extends PaginationVO { ...@@ -37,7 +37,7 @@ public class ComTalentMembersQueryVO extends PaginationVO {
private String spec; private String spec;
@ApiModelProperty(value = "职务") @ApiModelProperty(value = "职务")
private String duty; private String title;
@ApiModelProperty(value = "工作单位") @ApiModelProperty(value = "工作单位")
private String workUnit; private String workUnit;
......
...@@ -206,7 +206,7 @@ public class ComTalentApplyServiceImpl extends BaseServiceImpl<ComTalentApplyDAO ...@@ -206,7 +206,7 @@ public class ComTalentApplyServiceImpl extends BaseServiceImpl<ComTalentApplyDAO
case 2://申报人科研成绩 case 2://申报人科研成绩
id = talentSaveStep2(dto); id = talentSaveStep2(dto);
break; break;
case 3://科学研究规划及团队人员名单 case 3://团队人员名单
id = talentSaveStep3(dto); id = talentSaveStep3(dto);
break; break;
case 4://经费预算及培养计划和目标 case 4://经费预算及培养计划和目标
...@@ -273,8 +273,6 @@ public class ComTalentApplyServiceImpl extends BaseServiceImpl<ComTalentApplyDAO ...@@ -273,8 +273,6 @@ public class ComTalentApplyServiceImpl extends BaseServiceImpl<ComTalentApplyDAO
@Transactional @Transactional
public String talentSaveStep3(ComTalentApplyDTO dto) { public String talentSaveStep3(ComTalentApplyDTO dto) {
ComTalentApply comTalentApply = convert2Entity(dto);
this.update(comTalentApply);
List<ComTalentMembersDTO> MemberList = dto.getMembersList(); List<ComTalentMembersDTO> MemberList = dto.getMembersList();
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<select id="getListByTalentId" parameterType="java.lang.String" resultType="com.yiboshi.science.param.dto.ComTalentMembersDTO"> <select id="getListByTalentId" parameterType="java.lang.String" resultType="com.yiboshi.science.param.dto.ComTalentMembersDTO">
SELECT a.*,d.name duty_name,f.name spec_name SELECT a.*,d.name duty_name,f.name spec_name
FROM com_talent_members a FROM com_talent_members a
left join system_parameter d on a.duty = d.id and d.type_id = 62 left join system_parameter d on a.title = d.id and d.type_id = 7
left join system_parameter f on a.spec = f.id and f.type_id = 68 left join system_parameter f on a.spec = f.id and f.type_id = 68
where talent_id=#{talentId} where talent_id=#{talentId}
order by a.show_index asc order by a.show_index asc
......
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