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
8603d378
Commit
8603d378
authored
Dec 04, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
9217106f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
20 deletions
+21
-20
ComProjectResearch.java
...n/java/com/yiboshi/science/entity/ComProjectResearch.java
+4
-4
ComProjectDTO.java
...ain/java/com/yiboshi/science/param/dto/ComProjectDTO.java
+1
-1
ComProjectResearchDTO.java
.../com/yiboshi/science/param/dto/ComProjectResearchDTO.java
+7
-6
ComProjectResearchQueryVO.java
...iboshi/science/param/query/ComProjectResearchQueryVO.java
+4
-4
ComProjectServiceImpl.java
...m/yiboshi/science/service/impl/ComProjectServiceImpl.java
+5
-5
No files found.
science-admin/src/main/java/com/yiboshi/science/entity/ComProjectResearch.java
View file @
8603d378
...
@@ -25,19 +25,19 @@ public class ComProjectResearch extends BaseEntity {
...
@@ -25,19 +25,19 @@ public class ComProjectResearch extends BaseEntity {
private
String
objectId
;
private
String
objectId
;
/** 项目编号 */
/** 项目编号 */
@ApiModelProperty
(
value
=
"项目编号"
,
position
=
2
)
@ApiModelProperty
(
value
=
"项目编号"
,
position
=
2
)
@Length
(
max
=
5
0
,
message
=
"项目编号不能大于100"
)
@Length
(
max
=
10
0
,
message
=
"项目编号不能大于100"
)
private
String
projNo
;
private
String
projNo
;
/** 项目名称 */
/** 项目名称 */
@ApiModelProperty
(
value
=
"项目名称"
,
position
=
3
)
@ApiModelProperty
(
value
=
"项目名称"
,
position
=
3
)
@Length
(
max
=
2
00
,
message
=
"项目名称不能大于100"
)
@Length
(
max
=
1
00
,
message
=
"项目名称不能大于100"
)
private
String
projName
;
private
String
projName
;
/** 批准单位 */
/** 批准单位 */
@ApiModelProperty
(
value
=
"批准单位"
,
position
=
4
)
@ApiModelProperty
(
value
=
"批准单位"
,
position
=
4
)
@Length
(
max
=
2
00
,
message
=
"批准单位不能大于100"
)
@Length
(
max
=
1
00
,
message
=
"批准单位不能大于100"
)
private
String
approveUnit
;
private
String
approveUnit
;
/** 负责人 */
/** 负责人 */
@ApiModelProperty
(
value
=
"负责人"
,
position
=
5
)
@ApiModelProperty
(
value
=
"负责人"
,
position
=
5
)
@Length
(
max
=
6
0
,
message
=
"负责人不能大于100"
)
@Length
(
max
=
10
0
,
message
=
"负责人不能大于100"
)
private
String
leader
;
private
String
leader
;
/** 起止年限(开始) */
/** 起止年限(开始) */
@ApiModelProperty
(
value
=
"起止年限"
,
position
=
6
)
@ApiModelProperty
(
value
=
"起止年限"
,
position
=
6
)
...
...
science-admin/src/main/java/com/yiboshi/science/param/dto/ComProjectDTO.java
View file @
8603d378
...
@@ -387,7 +387,7 @@ public class ComProjectDTO extends BaseDTO {
...
@@ -387,7 +387,7 @@ public class ComProjectDTO extends BaseDTO {
/** 项目经费构成表 */
/** 项目经费构成表 */
private
List
<
ComProjectFundCompositionDTO
>
fundCompositions
;
private
List
<
ComProjectFundCompositionDTO
>
fundCompositions
;
/** 在研或完成基础研究项目情况 */
/** 在研或完成基础研究项目情况 */
private
List
<
ComProjectResearchDTO
>
r
esearchList
;
private
List
<
ComProjectResearchDTO
>
projectR
esearchList
;
/** 项目课颖设置表 */
/** 项目课颖设置表 */
private
List
<
ComProjectSubDTO
>
projectSubList
;
private
List
<
ComProjectSubDTO
>
projectSubList
;
/** 单位科研项目及资金管理制度表 */
/** 单位科研项目及资金管理制度表 */
...
...
science-admin/src/main/java/com/yiboshi/science/param/dto/ComProjectResearchDTO.java
View file @
8603d378
...
@@ -8,6 +8,7 @@ import lombok.EqualsAndHashCode;
...
@@ -8,6 +8,7 @@ import lombok.EqualsAndHashCode;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
/**
* 项目申请书在研项目情况表DTO
* 项目申请书在研项目情况表DTO
...
@@ -25,26 +26,26 @@ public class ComProjectResearchDTO extends BaseDTO {
...
@@ -25,26 +26,26 @@ public class ComProjectResearchDTO extends BaseDTO {
private
String
objectId
;
private
String
objectId
;
/** 项目编号 */
/** 项目编号 */
@ApiModelProperty
(
value
=
"项目编号"
,
position
=
2
)
@ApiModelProperty
(
value
=
"项目编号"
,
position
=
2
)
@Length
(
max
=
5
0
,
message
=
"项目编号不能大于100"
)
@Length
(
max
=
10
0
,
message
=
"项目编号不能大于100"
)
private
String
projNo
;
private
String
projNo
;
/** 项目名称 */
/** 项目名称 */
@ApiModelProperty
(
value
=
"项目名称"
,
position
=
3
)
@ApiModelProperty
(
value
=
"项目名称"
,
position
=
3
)
@Length
(
max
=
2
00
,
message
=
"项目名称不能大于100"
)
@Length
(
max
=
1
00
,
message
=
"项目名称不能大于100"
)
private
String
projName
;
private
String
projName
;
/** 批准单位 */
/** 批准单位 */
@ApiModelProperty
(
value
=
"批准单位"
,
position
=
4
)
@ApiModelProperty
(
value
=
"批准单位"
,
position
=
4
)
@Length
(
max
=
2
00
,
message
=
"批准单位不能大于100"
)
@Length
(
max
=
1
00
,
message
=
"批准单位不能大于100"
)
private
String
approveUnit
;
private
String
approveUnit
;
/** 负责人 */
/** 负责人 */
@ApiModelProperty
(
value
=
"负责人"
,
position
=
5
)
@ApiModelProperty
(
value
=
"负责人"
,
position
=
5
)
@Length
(
max
=
6
0
,
message
=
"负责人不能大于100"
)
@Length
(
max
=
10
0
,
message
=
"负责人不能大于100"
)
private
String
leader
;
private
String
leader
;
/** 起止年限(开始) */
/** 起止年限(开始) */
@ApiModelProperty
(
value
=
"起止年限"
,
position
=
6
)
@ApiModelProperty
(
value
=
"起止年限"
,
position
=
6
)
private
Dat
a
startDate
;
private
Dat
e
startDate
;
/** 起止年限(结束) */
/** 起止年限(结束) */
@ApiModelProperty
(
value
=
"起止年限"
,
position
=
6
)
@ApiModelProperty
(
value
=
"起止年限"
,
position
=
6
)
private
Dat
a
endDate
;
private
Dat
e
endDate
;
/** 项目经费 */
/** 项目经费 */
@ApiModelProperty
(
value
=
"项目经费"
,
position
=
7
)
@ApiModelProperty
(
value
=
"项目经费"
,
position
=
7
)
private
BigDecimal
funds
;
private
BigDecimal
funds
;
...
...
science-admin/src/main/java/com/yiboshi/science/param/query/ComProjectResearchQueryVO.java
View file @
8603d378
...
@@ -25,19 +25,19 @@ public class ComProjectResearchQueryVO extends PaginationVO{
...
@@ -25,19 +25,19 @@ public class ComProjectResearchQueryVO extends PaginationVO{
private
String
objectId
;
private
String
objectId
;
/** 项目编号 */
/** 项目编号 */
@ApiModelProperty
(
value
=
"项目编号"
,
position
=
2
)
@ApiModelProperty
(
value
=
"项目编号"
,
position
=
2
)
@Length
(
max
=
5
0
,
message
=
"项目编号不能大于100"
)
@Length
(
max
=
10
0
,
message
=
"项目编号不能大于100"
)
private
String
projNo
;
private
String
projNo
;
/** 项目名称 */
/** 项目名称 */
@ApiModelProperty
(
value
=
"项目名称"
,
position
=
3
)
@ApiModelProperty
(
value
=
"项目名称"
,
position
=
3
)
@Length
(
max
=
2
00
,
message
=
"项目名称不能大于100"
)
@Length
(
max
=
1
00
,
message
=
"项目名称不能大于100"
)
private
String
projName
;
private
String
projName
;
/** 批准单位 */
/** 批准单位 */
@ApiModelProperty
(
value
=
"批准单位"
,
position
=
4
)
@ApiModelProperty
(
value
=
"批准单位"
,
position
=
4
)
@Length
(
max
=
2
00
,
message
=
"批准单位不能大于100"
)
@Length
(
max
=
1
00
,
message
=
"批准单位不能大于100"
)
private
String
approveUnit
;
private
String
approveUnit
;
/** 负责人 */
/** 负责人 */
@ApiModelProperty
(
value
=
"负责人"
,
position
=
5
)
@ApiModelProperty
(
value
=
"负责人"
,
position
=
5
)
@Length
(
max
=
6
0
,
message
=
"负责人不能大于100"
)
@Length
(
max
=
10
0
,
message
=
"负责人不能大于100"
)
private
String
leader
;
private
String
leader
;
/** 起止年限(开始) */
/** 起止年限(开始) */
@ApiModelProperty
(
value
=
"起止年限"
,
position
=
6
)
@ApiModelProperty
(
value
=
"起止年限"
,
position
=
6
)
...
...
science-admin/src/main/java/com/yiboshi/science/service/impl/ComProjectServiceImpl.java
View file @
8603d378
...
@@ -372,8 +372,8 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
...
@@ -372,8 +372,8 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
LoadProjectKPIInfo
(
dto
);
LoadProjectKPIInfo
(
dto
);
// 在研或完成基础研究项目情况
// 在研或完成基础研究项目情况
List
<
ComProjectResearchDTO
>
r
esearchList
=
comProjectResearchService
.
getListByObjectId
(
dto
.
getId
());
List
<
ComProjectResearchDTO
>
projectR
esearchList
=
comProjectResearchService
.
getListByObjectId
(
dto
.
getId
());
dto
.
set
ResearchList
(
r
esearchList
);
dto
.
set
ProjectResearchList
(
projectR
esearchList
);
// 项目课颖设置表
// 项目课颖设置表
...
@@ -723,13 +723,12 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
...
@@ -723,13 +723,12 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
// 仪器、设备
// 仪器、设备
comProjectEquipmentService
.
insertEquipmentList
(
dto
.
getEquipments
(),
id
);
comProjectEquipmentService
.
insertEquipmentList
(
dto
.
getEquipments
(),
id
);
// 在研或完成基础研究项目情况
// 在研或完成基础研究项目情况
comProjectResearchService
.
insertList
(
dto
.
getResearchList
(),
id
);
comProjectResearchService
.
insertList
(
dto
.
get
Project
ResearchList
(),
id
);
// 项目课颖设置表
// 项目课颖设置表
comProjectSubService
.
insertList
(
dto
.
getProjectSubList
(),
id
);
comProjectSubService
.
insertList
(
dto
.
getProjectSubList
(),
id
);
// 单位科研项目及资金管理制度表
// 单位科研项目及资金管理制度表
comProjectManagementRuleService
.
insertList
(
dto
.
getManagementRuleList
(),
id
);
comProjectManagementRuleService
.
insertList
(
dto
.
getManagementRuleList
(),
id
);
// // 项目安排及阶段目标
// // 项目安排及阶段目标
// comProjectStageGoalService.insertList(dto.getStageGoals(), id);
// comProjectStageGoalService.insertList(dto.getStageGoals(), id);
// // 成果形式
// // 成果形式
...
@@ -778,10 +777,11 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
...
@@ -778,10 +777,11 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
// 项目绩效指标表
// 项目绩效指标表
comProjectKpitDetailService
.
insertList
(
dto
.
getProjectKPI
().
getKpiList
(),
comProject
.
getId
());
comProjectKpitDetailService
.
insertList
(
dto
.
getProjectKPI
().
getKpiList
(),
comProject
.
getId
());
// 项目经费构成表
// 项目经费构成表
comProjectFundCompositionService
.
insertList
(
dto
.
getFundCompositions
(),
comProject
.
getId
());
comProjectFundCompositionService
.
insertList
(
dto
.
getFundCompositions
(),
comProject
.
getId
());
// 在研或完成基础研究项目情况
// 在研或完成基础研究项目情况
comProjectResearchService
.
insertList
(
dto
.
getResearchList
(),
comProject
.
getId
());
comProjectResearchService
.
insertList
(
dto
.
get
Project
ResearchList
(),
comProject
.
getId
());
// 项目课颖设置表
// 项目课颖设置表
comProjectSubService
.
insertList
(
dto
.
getProjectSubList
(),
comProject
.
getId
());
comProjectSubService
.
insertList
(
dto
.
getProjectSubList
(),
comProject
.
getId
());
// 单位科研项目及资金管理制度表
// 单位科研项目及资金管理制度表
...
...
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