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
66c500cf
Commit
66c500cf
authored
Nov 30, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
d167ebfb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
ProjectKPIStatisticDTO.java
...com/yiboshi/science/param/dto/ProjectKPIStatisticDTO.java
+0
-1
ComProjectServiceImpl.java
...m/yiboshi/science/service/impl/ComProjectServiceImpl.java
+3
-3
DateUtils.java
...in/src/main/java/com/yiboshi/science/utils/DateUtils.java
+6
-0
No files found.
science-admin/src/main/java/com/yiboshi/science/param/dto/ProjectKPIStatisticDTO.java
View file @
66c500cf
...
...
@@ -33,7 +33,6 @@ public class ProjectKPIStatisticDTO extends BaseDTO {
private
BigDecimal
yearApply
;
/** 自筹资金 */
private
BigDecimal
yearSelf
;
private
Integer
totalRowSpan
;
//总合并行数
private
Integer
outTarget
;
//一级指标(产出指标)
...
...
science-admin/src/main/java/com/yiboshi/science/service/impl/ComProjectServiceImpl.java
View file @
66c500cf
...
...
@@ -353,8 +353,8 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
dto
.
setUnitPayment
(
unitPaymentList
);
// 项目绩效目标表
//
if (dto.getProjState() >= 50)
LoadProjectKPIInfo
(
dto
);
if
(
dto
.
getProjState
()
>=
50
)
LoadProjectKPIInfo
(
dto
);
// 项目课颖设置表
...
...
@@ -389,7 +389,7 @@ public class ComProjectServiceImpl extends BaseServiceImpl<ComProjectDAO, ComPro
kpiDTO
.
setProjName
(
dto
.
getProjName
());
kpiDTO
.
setAppUnitName
(
dto
.
getAppUnitName
());
kpiDTO
.
setProjAttribute
(
dto
.
getProjAttribute
());
kpiDTO
.
setProjDeadline
(
dto
.
getStartDateStr
()
+
"至"
+
dto
.
getEndDateStr
(
));
kpiDTO
.
setProjDeadline
(
DateUtils
.
FormatDate
(
dto
.
getStartDate
())
+
"至"
+
DateUtils
.
FormatDate
(
dto
.
getEndDate
()
));
List
<
ComProjectBudgetDTO
>
budgetDTO
=
dto
.
getBudget
();
if
(
null
!=
budgetDTO
)
{
// 资金总额
...
...
science-admin/src/main/java/com/yiboshi/science/utils/DateUtils.java
View file @
66c500cf
package
com
.
yiboshi
.
science
.
utils
;
import
java.text.SimpleDateFormat
;
import
java.util.Calendar
;
import
java.util.Date
;
...
...
@@ -10,4 +11,9 @@ public class DateUtils {
public
static
int
getYear
(){
return
Calendar
.
getInstance
().
get
(
Calendar
.
YEAR
);
}
public
static
String
FormatDate
(
Date
date
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
return
sdf
.
format
(
date
);
}
}
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