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
42ed1295
Commit
42ed1295
authored
Mar 25, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
4f0a3b53
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
0 deletions
+22
-0
ComTalentBudget.java
...main/java/com/yiboshi/science/entity/ComTalentBudget.java
+4
-0
ComTalentBudgetDTO.java
...ava/com/yiboshi/science/param/dto/ComTalentBudgetDTO.java
+3
-0
ComTalentBudgetQueryVO.java
...m/yiboshi/science/param/query/ComTalentBudgetQueryVO.java
+3
-0
ComTalentApplyServiceImpl.java
...boshi/science/service/impl/ComTalentApplyServiceImpl.java
+11
-0
ComTalentBudgetServiceImpl.java
...oshi/science/service/impl/ComTalentBudgetServiceImpl.java
+1
-0
No files found.
science-admin/src/main/java/com/yiboshi/science/entity/ComTalentBudget.java
View file @
42ed1295
...
...
@@ -48,6 +48,10 @@ public class ComTalentBudget extends BaseEntity {
/** 第五年预算 */
@ApiModelProperty
(
value
=
"第五年预算"
,
position
=
7
)
private
BigDecimal
yearValue5
;
/** 合计 */
@ApiModelProperty
(
value
=
"合计"
,
position
=
7
)
private
BigDecimal
amountFee
;
/** 预算科目名称 */
@ApiModelProperty
(
value
=
"预算科目名称"
,
position
=
8
)
...
...
science-admin/src/main/java/com/yiboshi/science/param/dto/ComTalentBudgetDTO.java
View file @
42ed1295
...
...
@@ -43,6 +43,9 @@ public class ComTalentBudgetDTO extends BaseDTO {
@ApiModelProperty
(
value
=
"第五年预算"
)
private
BigDecimal
yearValue5
;
@ApiModelProperty
(
value
=
"合计"
,
position
=
7
)
private
BigDecimal
amountFee
;
@ApiModelProperty
(
value
=
"排序"
)
private
Integer
showIndex
;
...
...
science-admin/src/main/java/com/yiboshi/science/param/query/ComTalentBudgetQueryVO.java
View file @
42ed1295
...
...
@@ -43,6 +43,9 @@ public class ComTalentBudgetQueryVO extends PaginationVO {
@ApiModelProperty
(
value
=
"第五年预算"
)
private
BigDecimal
yearValue5
;
@ApiModelProperty
(
value
=
"合计"
,
position
=
7
)
private
BigDecimal
amountFee
;
@ApiModelProperty
(
value
=
"排序"
)
private
Integer
showIndex
;
...
...
science-admin/src/main/java/com/yiboshi/science/service/impl/ComTalentApplyServiceImpl.java
View file @
42ed1295
...
...
@@ -18,6 +18,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.math.BigDecimal
;
import
java.util.List
;
import
java.util.Objects
;
import
java.util.stream.Collectors
;
...
...
@@ -133,6 +134,9 @@ public class ComTalentApplyServiceImpl extends BaseServiceImpl<ComTalentApplyDAO
List
<
ComTalentBudgetDTO
>
bugetList
=
comTalentBudgetService
.
getList
();
dto
.
setBudgetList
(
bugetList
);
dto
.
setApplyFund
(
new
BigDecimal
(
0.00
));
dto
.
setOtherFund
(
new
BigDecimal
(
0.00
));
dto
.
setTotalFund
(
new
BigDecimal
(
0.00
));
dto
.
setReportYear
(
comBatchService
.
getReportYear
(
null
,
CommonEnum
.
timeType
.
talentApply
.
getCode
()));
dto
.
setCompleteStatus
(
"0,0,0,0,0,0"
);
dto
.
setTalentState
(
CommonEnum
.
projState
.
draft
.
getCode
());
...
...
@@ -170,6 +174,13 @@ public class ComTalentApplyServiceImpl extends BaseServiceImpl<ComTalentApplyDAO
List
<
ComPersonScientificGainDTO
>
scientificList
=
comPersonScientificGainService
.
getListByTalentId
(
dto
.
getId
());
dto
.
setScientificList
(
scientificList
);
if
(
Objects
.
isNull
(
dto
.
getApplyFund
()))
dto
.
setApplyFund
(
new
BigDecimal
(
0.00
));
if
(
Objects
.
isNull
(
dto
.
getOtherFund
()))
dto
.
setOtherFund
(
new
BigDecimal
(
0.00
));
if
(
Objects
.
isNull
(
dto
.
getTotalFund
()))
dto
.
setTotalFund
(
new
BigDecimal
(
0.00
));
return
dto
;
}
...
...
science-admin/src/main/java/com/yiboshi/science/service/impl/ComTalentBudgetServiceImpl.java
View file @
42ed1295
...
...
@@ -72,6 +72,7 @@ public class ComTalentBudgetServiceImpl extends BaseServiceImpl<ComTalentBudgetD
newVO
.
setYearValue3
(
new
BigDecimal
(
0.00
));
newVO
.
setYearValue4
(
new
BigDecimal
(
0.00
));
newVO
.
setYearValue5
(
new
BigDecimal
(
0.00
));
newVO
.
setAmountFee
(
new
BigDecimal
(
0.00
));
newVO
.
setBudgetName
(
p
.
getName
());
newVO
.
setShowIndex
(
i
);
newVO
.
setIsRequired
(
p
.
getIsRequired
());
...
...
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