Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-health-science
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐俊
yn-health-science
Commits
50d02daf
Commit
50d02daf
authored
Mar 20, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
09c0845d
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
55 additions
and
29 deletions
+55
-29
ComPersonResumeDAO.java
...main/java/com/yiboshi/science/dao/ComPersonResumeDAO.java
+1
-1
ComPersonScientificGainDAO.java
...a/com/yiboshi/science/dao/ComPersonScientificGainDAO.java
+1
-1
ComTalentBudgetDAO.java
...main/java/com/yiboshi/science/dao/ComTalentBudgetDAO.java
+1
-1
ComTalentMembersDAO.java
...ain/java/com/yiboshi/science/dao/ComTalentMembersDAO.java
+1
-1
ComTalentApplyDTO.java
...java/com/yiboshi/science/param/dto/ComTalentApplyDTO.java
+12
-0
ComPersonResumeService.java
...a/com/yiboshi/science/service/ComPersonResumeService.java
+1
-1
ComPersonScientificGainService.java
...boshi/science/service/ComPersonScientificGainService.java
+1
-1
ComTalentBudgetService.java
...a/com/yiboshi/science/service/ComTalentBudgetService.java
+1
-1
ComTalentMembersService.java
.../com/yiboshi/science/service/ComTalentMembersService.java
+1
-1
ComPersonResumeServiceImpl.java
...oshi/science/service/impl/ComPersonResumeServiceImpl.java
+2
-2
ComPersonScientificGainServiceImpl.java
...ence/service/impl/ComPersonScientificGainServiceImpl.java
+2
-2
ComTalentApplyServiceImpl.java
...boshi/science/service/impl/ComTalentApplyServiceImpl.java
+21
-9
ComTalentBudgetServiceImpl.java
...oshi/science/service/impl/ComTalentBudgetServiceImpl.java
+2
-2
ComTalentMembersServiceImpl.java
...shi/science/service/impl/ComTalentMembersServiceImpl.java
+2
-2
ComTalentBudgetDAO.xml
...ce-admin/src/main/resources/mapper/ComTalentBudgetDAO.xml
+3
-2
ComTalentMembersDAO.xml
...e-admin/src/main/resources/mapper/ComTalentMembersDAO.xml
+3
-2
No files found.
science-admin/src/main/java/com/yiboshi/science/dao/ComPersonResumeDAO.java
View file @
50d02daf
...
...
@@ -13,5 +13,5 @@ import java.util.List;
*/
public
interface
ComPersonResumeDAO
extends
BaseMapper
<
ComPersonResume
>,
BaseDAO
<
ComPersonResumeQueryVO
,
ComPersonResumeDTO
,
ComPersonResume
>
{
List
<
ComPersonResumeDTO
>
getListByTal
t
entId
(
String
TalentId
);
List
<
ComPersonResumeDTO
>
getListByTalentId
(
String
TalentId
);
}
science-admin/src/main/java/com/yiboshi/science/dao/ComPersonScientificGainDAO.java
View file @
50d02daf
...
...
@@ -13,5 +13,5 @@ import java.util.List;
*/
public
interface
ComPersonScientificGainDAO
extends
BaseMapper
<
ComPersonScientificGain
>,
BaseDAO
<
ComPersonScientificGainQueryVO
,
ComPersonScientificGainDTO
,
ComPersonScientificGain
>
{
List
<
ComPersonScientificGainDTO
>
getListByTal
t
entId
(
String
TalentId
);
List
<
ComPersonScientificGainDTO
>
getListByTalentId
(
String
TalentId
);
}
science-admin/src/main/java/com/yiboshi/science/dao/ComTalentBudgetDAO.java
View file @
50d02daf
...
...
@@ -13,5 +13,5 @@ import java.util.List;
*/
public
interface
ComTalentBudgetDAO
extends
BaseMapper
<
ComTalentBudget
>,
BaseDAO
<
ComTalentBudgetQueryVO
,
ComTalentBudgetDTO
,
ComTalentBudget
>
{
List
<
ComTalentBudgetDTO
>
getListByTal
t
entId
(
String
talentId
);
List
<
ComTalentBudgetDTO
>
getListByTalentId
(
String
talentId
);
}
science-admin/src/main/java/com/yiboshi/science/dao/ComTalentMembersDAO.java
View file @
50d02daf
...
...
@@ -14,5 +14,5 @@ import java.util.List;
public
interface
ComTalentMembersDAO
extends
BaseMapper
<
ComTalentMembers
>,
BaseDAO
<
ComTalentMembersQueryVO
,
ComTalentMembersDTO
,
ComTalentMembers
>
{
List
<
ComTalentMembersDTO
>
getListByTal
t
entId
(
String
talentId
);
List
<
ComTalentMembersDTO
>
getListByTalentId
(
String
talentId
);
}
science-admin/src/main/java/com/yiboshi/science/param/dto/ComTalentApplyDTO.java
View file @
50d02daf
...
...
@@ -135,6 +135,18 @@ public class ComTalentApplyDTO extends BaseDTO {
/** 学位 */
@ApiModelProperty
(
value
=
"学位"
,
position
=
9
)
private
String
degree
;
/** 最高学位授予时间 */
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
degreeTime
;
/** 最高学位授予单位 */
@ApiModelProperty
(
value
=
"最高学位授予单位"
,
position
=
9
)
private
String
degreeUnit
;
/** 是否为研究生导师 */
@ApiModelProperty
(
value
=
"是否为研究生导师"
,
position
=
8
)
private
String
graduateTeacher
;
/** 党派 */
@ApiModelProperty
(
value
=
"党派"
,
position
=
9
)
private
String
politicalParty
;
/** 民族 */
@ApiModelProperty
(
value
=
"民族"
,
position
=
11
)
...
...
science-admin/src/main/java/com/yiboshi/science/service/ComPersonResumeService.java
View file @
50d02daf
...
...
@@ -14,5 +14,5 @@ public interface ComPersonResumeService extends BaseService<ComPersonResumeQuery
void
insertList
(
List
<
ComPersonResumeDTO
>
list
,
String
PersonId
,
String
TypeId
);
List
<
ComPersonResumeDTO
>
getListByTal
t
entId
(
String
TalentId
);
List
<
ComPersonResumeDTO
>
getListByTalentId
(
String
TalentId
);
}
science-admin/src/main/java/com/yiboshi/science/service/ComPersonScientificGainService.java
View file @
50d02daf
...
...
@@ -14,5 +14,5 @@ public interface ComPersonScientificGainService extends BaseService<ComPersonSci
void
insertList
(
List
<
ComPersonScientificGainDTO
>
list
,
String
TalentId
,
String
TypeId
);
List
<
ComPersonScientificGainDTO
>
getListByTal
t
entId
(
String
TalentId
);
List
<
ComPersonScientificGainDTO
>
getListByTalentId
(
String
TalentId
);
}
science-admin/src/main/java/com/yiboshi/science/service/ComTalentBudgetService.java
View file @
50d02daf
...
...
@@ -15,7 +15,7 @@ public interface ComTalentBudgetService extends BaseService<ComTalentBudgetQuery
void
insertList
(
List
<
ComTalentBudgetDTO
>
list
,
String
TalentId
);
List
<
ComTalentBudgetDTO
>
getListByTal
t
entId
(
String
talentId
);
List
<
ComTalentBudgetDTO
>
getListByTalentId
(
String
talentId
);
List
<
ComTalentBudgetDTO
>
getList
();
}
science-admin/src/main/java/com/yiboshi/science/service/ComTalentMembersService.java
View file @
50d02daf
...
...
@@ -14,5 +14,5 @@ public interface ComTalentMembersService extends BaseService<ComTalentMembersQue
void
insertList
(
List
<
ComTalentMembersDTO
>
list
,
String
TalentId
);
List
<
ComTalentMembersDTO
>
getListByTal
t
entId
(
String
talentId
);
List
<
ComTalentMembersDTO
>
getListByTalentId
(
String
talentId
);
}
science-admin/src/main/java/com/yiboshi/science/service/impl/ComPersonResumeServiceImpl.java
View file @
50d02daf
...
...
@@ -50,7 +50,7 @@ public class ComPersonResumeServiceImpl extends BaseServiceImpl<ComPersonResumeD
}
}
public
List
<
ComPersonResumeDTO
>
getListByTal
t
entId
(
String
TalentId
)
{
return
comPersonResumeDAO
.
getListByTal
t
entId
(
TalentId
);
public
List
<
ComPersonResumeDTO
>
getListByTalentId
(
String
TalentId
)
{
return
comPersonResumeDAO
.
getListByTalentId
(
TalentId
);
}
}
science-admin/src/main/java/com/yiboshi/science/service/impl/ComPersonScientificGainServiceImpl.java
View file @
50d02daf
...
...
@@ -50,7 +50,7 @@ public class ComPersonScientificGainServiceImpl extends BaseServiceImpl<ComPerso
}
}
public
List
<
ComPersonScientificGainDTO
>
getListByTal
t
entId
(
String
TalentId
)
{
return
comPersonScientificGainDAO
.
getListByTal
t
entId
(
TalentId
);
public
List
<
ComPersonScientificGainDTO
>
getListByTalentId
(
String
TalentId
)
{
return
comPersonScientificGainDAO
.
getListByTalentId
(
TalentId
);
}
}
science-admin/src/main/java/com/yiboshi/science/service/impl/ComTalentApplyServiceImpl.java
View file @
50d02daf
...
...
@@ -148,21 +148,26 @@ public class ComTalentApplyServiceImpl extends BaseServiceImpl<ComTalentApplyDAO
throw
new
BusinessException
(
"人才申报记录不存在或已删除!"
);
// 申报人
ComPersonDTO
comPersonDTO
=
comPersonService
.
getPersonById
(
dto
.
get
App
PersonId
());
ComPersonDTO
comPersonDTO
=
comPersonService
.
getPersonById
(
dto
.
getPersonId
());
if
(
null
!=
comPersonDTO
)
{
loadPersonInfo
(
dto
,
comPersonDTO
);
}
List
<
ComTalentMembersDTO
>
memList
=
comTalentMembersService
.
getListByTal
t
entId
(
dto
.
getId
());
List
<
ComTalentMembersDTO
>
memList
=
comTalentMembersService
.
getListByTalentId
(
dto
.
getId
());
dto
.
setMembersList
(
memList
);
List
<
ComTalentBudgetDTO
>
bugetList
=
comTalentBudgetService
.
getListByTaltentId
(
dto
.
getId
());
dto
.
setBudgetList
(
bugetList
);
List
<
ComTalentBudgetDTO
>
bugetList
=
comTalentBudgetService
.
getListByTalentId
(
dto
.
getId
());
if
(
null
!=
bugetList
&&
bugetList
.
size
()
>
0
)
dto
.
setBudgetList
(
bugetList
);
else
{
bugetList
=
comTalentBudgetService
.
getList
();
dto
.
setBudgetList
(
bugetList
);
}
List
<
ComPersonResumeDTO
>
resumeList
=
comPersonResumeService
.
getListByTal
t
entId
(
dto
.
getId
());
List
<
ComPersonResumeDTO
>
resumeList
=
comPersonResumeService
.
getListByTalentId
(
dto
.
getId
());
dto
.
setResumeList
(
resumeList
);
List
<
ComPersonScientificGainDTO
>
scientificList
=
comPersonScientificGainService
.
getListByTal
t
entId
(
dto
.
getId
());
List
<
ComPersonScientificGainDTO
>
scientificList
=
comPersonScientificGainService
.
getListByTalentId
(
dto
.
getId
());
dto
.
setScientificList
(
scientificList
);
return
dto
;
...
...
@@ -173,12 +178,19 @@ public class ComTalentApplyServiceImpl extends BaseServiceImpl<ComTalentApplyDAO
dto
.
setCertId
(
comPersonDTO
.
getCertId
());
dto
.
setSex
(
comPersonDTO
.
getSex
());
dto
.
setBirthday
(
comPersonDTO
.
getBirthday
());
dto
.
setNation
(
comPersonDTO
.
getNation
());
dto
.
setDegree
(
comPersonDTO
.
getDegree
());
dto
.
setDegreeTime
(
comPersonDTO
.
getDegreeTime
());
dto
.
setDegreeUnit
(
comPersonDTO
.
getDegreeUnit
());
dto
.
setGraduateTeacher
(
comPersonDTO
.
getGraduateTeacher
());
dto
.
setPoliticalParty
(
comPersonDTO
.
getPoliticalParty
());
//dto.setNationName(comPersonDTO.getNationName());
//dto.setDegreeName(comPersonDTO.getDegreeName());
dto
.
setTitle
Name
(
comPersonDTO
.
getTitleNam
e
());
dto
.
setDuty
Name
(
comPersonDTO
.
getDuty
());
dto
.
setSpec
Name
(
comPersonDTO
.
getSpecName
());
dto
.
setTitle
(
comPersonDTO
.
getTitl
e
());
dto
.
setDuty
(
comPersonDTO
.
getDuty
());
dto
.
setSpec
(
comPersonDTO
.
getSpec
());
dto
.
setMobile
(
comPersonDTO
.
getMobile
());
dto
.
setFax
(
comPersonDTO
.
getFax
());
dto
.
setEmail
(
comPersonDTO
.
getEmail
());
}
...
...
science-admin/src/main/java/com/yiboshi/science/service/impl/ComTalentBudgetServiceImpl.java
View file @
50d02daf
...
...
@@ -55,8 +55,8 @@ public class ComTalentBudgetServiceImpl extends BaseServiceImpl<ComTalentBudgetD
}
}
public
List
<
ComTalentBudgetDTO
>
getListByTal
t
entId
(
String
talentId
)
{
return
comTalentBudgetDAO
.
getListByTal
t
entId
(
talentId
);
public
List
<
ComTalentBudgetDTO
>
getListByTalentId
(
String
talentId
)
{
return
comTalentBudgetDAO
.
getListByTalentId
(
talentId
);
}
public
List
<
ComTalentBudgetDTO
>
getList
()
{
...
...
science-admin/src/main/java/com/yiboshi/science/service/impl/ComTalentMembersServiceImpl.java
View file @
50d02daf
...
...
@@ -48,7 +48,7 @@ public class ComTalentMembersServiceImpl extends BaseServiceImpl<ComTalentMember
}
}
public
List
<
ComTalentMembersDTO
>
getListByTal
t
entId
(
String
talentId
)
{
return
comTalentMembersDAO
.
getListByTal
t
entId
(
talentId
);
public
List
<
ComTalentMembersDTO
>
getListByTalentId
(
String
talentId
)
{
return
comTalentMembersDAO
.
getListByTalentId
(
talentId
);
}
}
science-admin/src/main/resources/mapper/ComTalentBudgetDAO.xml
View file @
50d02daf
...
...
@@ -46,9 +46,9 @@
<select
id=
"getListByTalentId"
parameterType=
"java.lang.String"
resultType=
"com.yiboshi.science.param.dto.ComTalentBudgetDTO"
>
SELECT a.*,b.name as budgetName,b.code,b.gb_code type,b.tree_code level,b.system_code
FROM com_
projec
t_budget a
FROM com_
talen
t_budget a
left join system_parameter b on a.budget_id = b.id and b.type_id = 20
where talent_id=#{talentId} order by
b
.show_index asc
where talent_id=#{talentId} order by
a
.show_index asc
</select>
</mapper>
\ No newline at end of file
science-admin/src/main/resources/mapper/ComTalentMembersDAO.xml
View file @
50d02daf
...
...
@@ -45,12 +45,12 @@
ORDER BY create_time DESC
</select>
<select
id=
"getListByTal
t
entId"
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
FROM com_talent_members a
left join system_parameter d on a.duty = d.id and d.type_id = 62
left join system_parameter f on a.spec = f.id and f.type_id = 68
where tal
net_id=#{talne
tId}
where tal
ent_id=#{talen
tId}
order by a.show_index asc
</select>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment