Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bsoft
sv-springboot
Commits
7a7cb86d
Commit
7a7cb86d
authored
May 29, 2020
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实值版本合并
parent
32dd121d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
bsoft-api/src/main/java/com/bsoft/api/service/Impl/SerProjValueServiceImpl.java
+16
-16
No files found.
bsoft-api/src/main/java/com/bsoft/api/service/Impl/SerProjValueServiceImpl.java
View file @
7a7cb86d
...
...
@@ -60,14 +60,14 @@ public class SerProjValueServiceImpl implements SerProjValueService {
values
=
serProjValueMapper
.
selectValue
(
projectType
,(
Integer
)
enumInfo
.
get
(
"value"
),
projInfo
.
getExponentId
(),
deptCode
,
date
,
BudgetType
.
NOT
.
getValue
(),
orgCode
);
if
(
values
!=
null
&&
values
.
size
()
>
0
){
//
for(SerProjValueResp value : values){
//
valueSz = projValueSzMapper.selectByProj(value.getProjId(),date,deptCode,orgCode);
//
if(valueSz != null){
//
value.setSz(valueSz.getSz());
//
value.setZxpl(valueSz.getZxpl());
//
valueSz = null;
//
}
//
}
for
(
SerProjValueResp
value
:
values
){
valueSz
=
projValueSzMapper
.
selectByProj
(
value
.
getProjId
(),
date
,
deptCode
,
orgCode
);
if
(
valueSz
!=
null
){
value
.
setSz
(
valueSz
.
getSz
());
value
.
setZxpl
(
valueSz
.
getZxpl
());
valueSz
=
null
;
}
}
}
resultValues
=
getLevelData
(
values
,
BigDecimal
.
valueOf
(
PROJ_TOP_PARENT_ID
));
if
(
resultValues
!=
null
&&
resultValues
.
size
()
>
0
)
...
...
@@ -129,14 +129,14 @@ public class SerProjValueServiceImpl implements SerProjValueService {
values
=
serProjValueMapper
.
selectValue
((
Integer
)
enumInfo
.
get
(
"value"
),
null
,
null
,
summary
.
getDeptCode
(),
date
,
budgetType
,
orgCode
);
if
(
values
!=
null
&&
values
.
size
()
>
0
){
//
for(SerProjValueResp value : values){
//
valueSz = projValueSzMapper.selectByProj(value.getProjId(),date,summary.getDeptCode(),orgCode);
//
if(valueSz != null){
//
value.setSz(valueSz.getSz());
//
value.setZxpl(valueSz.getZxpl());
//
valueSz = null;
//
}
//
}
for
(
SerProjValueResp
value
:
values
){
valueSz
=
projValueSzMapper
.
selectByProj
(
value
.
getProjId
(),
date
,
summary
.
getDeptCode
(),
orgCode
);
if
(
valueSz
!=
null
){
value
.
setSz
(
valueSz
.
getSz
());
value
.
setZxpl
(
valueSz
.
getZxpl
());
valueSz
=
null
;
}
}
projType
.
setProject
(
values
);
}
summary
.
getProjTypeList
().
add
(
projType
);
...
...
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