Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
京
京能客户端
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王亚宁
京能客户端
Commits
5e5ba996
Commit
5e5ba996
authored
Jul 31, 2024
by
liangyb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#20240731 #629 修改评标及评标报表内的价格评审数据显示有问题
parent
6e46fc69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
28 deletions
+35
-28
OBE-REPORT/src/com/gx/obe/report/dataset/word/PriceScoreDateSet.java
...src/com/gx/obe/report/dataset/word/PriceScoreDateSet.java
+30
-28
com.gx.obe.common.widget/src/com/gx/obe/common/widget/dialog/EditSubBidPriceItemDialog.java
...x/obe/common/widget/dialog/EditSubBidPriceItemDialog.java
+5
-0
No files found.
OBE-REPORT/src/com/gx/obe/report/dataset/word/PriceScoreDateSet.java
View file @
5e5ba996
...
@@ -80,19 +80,21 @@ public class PriceScoreDateSet extends BaseDateSet{
...
@@ -80,19 +80,21 @@ public class PriceScoreDateSet extends BaseDateSet{
if
(
evalFactorList
.
size
()
>
0
){
if
(
evalFactorList
.
size
()
>
0
){
EvaluationStep
priceEvalNode
=
priceEvalutionNodeList
.
get
(
0
);
EvaluationStep
priceEvalNode
=
priceEvalutionNodeList
.
get
(
0
);
supplierList
=
getEvaluationStepSupplierList
(
priceEvalNode
,
true
);
supplierList
=
getEvaluationStepSupplierList
(
priceEvalNode
,
true
);
boolean
hasBidPriceTotal
=
evaluationFactorService
.
hasTotalBidPriceFactor
(
tenderProjectEntity
.
getId
(),
null
);
// boolean hasBidPriceTotal = evaluationFactorService.hasTotalBidPriceFactor(tenderProjectEntity.getId(), null);
List
<
BidPrice
>
bidPriceList
=
null
;
// List<BidPrice> bidPriceList = null;
if
(!
hasBidPriceTotal
){
// if(!hasBidPriceTotal){
bidPriceList
=
bidPriceService
.
getTenderBidPriceList
(
tenderProjectEntity
.
getId
());
// bidPriceList = bidPriceService.getTenderBidPriceList(tenderProjectEntity.getId());
}
// }
List
<
BidPrice
>
bidPriceList
=
bidPriceService
.
getTenderBidPriceList
(
tenderProjectEntity
.
getId
());
int
reportCount
=
0
;
int
reportCount
=
0
;
for
(
EvaluationFactor
priceEvalFactor
:
evalFactorList
){
for
(
EvaluationFactor
priceEvalFactor
:
evalFactorList
){
if
(
null
==
priceEvalFactor
.
getBidPriceCode
()
||
priceEvalFactor
.
getBidPriceCode
().
length
()
==
0
){
if
(
null
==
priceEvalFactor
.
getBidPriceCode
()
||
priceEvalFactor
.
getBidPriceCode
().
length
()
==
0
){
if
(
evalFactorList
.
size
()
==
1
&&
!
hasBidPriceTotal
)
{
// if(evalFactorList.size() == 1 && !hasBidPriceTotal) {
priceEvalFactor
.
setBidPriceCode
(
BidPrice
.
BID_PRICE_TOTAL_CODE
);
// priceEvalFactor.setBidPriceCode(BidPrice.BID_PRICE_TOTAL_CODE);
}
else
{
// }else {
continue
;
// continue;
}
// }
continue
;
}
}
BigDecimal
basePriceFloat
=
null
;
BigDecimal
basePriceFloat
=
null
;
PriceParam
priceParam
=
PriceParam
.
deserializePriceParam
(
priceEvalFactor
.
getComputerParams
());;
PriceParam
priceParam
=
PriceParam
.
deserializePriceParam
(
priceEvalFactor
.
getComputerParams
());;
...
@@ -111,11 +113,11 @@ public class PriceScoreDateSet extends BaseDateSet{
...
@@ -111,11 +113,11 @@ public class PriceScoreDateSet extends BaseDateSet{
// BidPrice bidPrice = null;
// BidPrice bidPrice = null;
// List<BidPriceResult> bidPriceResultList = null;
// List<BidPriceResult> bidPriceResultList = null;
List
<
BidPriceResult
>
bidStructPriceResultList
=
null
;
List
<
BidPriceResult
>
bidStructPriceResultList
=
null
;
if
(
hasBidPriceTotal
){
//
if(hasBidPriceTotal){
if
(!
priceEvalFactor
.
getBidPriceCode
().
equals
(
BidPrice
.
BID_PRICE_TOTAL_CODE
)){
//
if(!priceEvalFactor.getBidPriceCode().equals(BidPrice.BID_PRICE_TOTAL_CODE)){
continue
;
//
continue;
}
//
}
}
//
}
// else {
// else {
// if(null != bidPriceList){
// if(null != bidPriceList){
// for(BidPrice _bidPrice : bidPriceList){
// for(BidPrice _bidPrice : bidPriceList){
...
@@ -169,15 +171,15 @@ public class PriceScoreDateSet extends BaseDateSet{
...
@@ -169,15 +171,15 @@ public class PriceScoreDateSet extends BaseDateSet{
// 投标总报价
// 投标总报价
supplierMap
.
put
(
"sortNo"
,
""
);
supplierMap
.
put
(
"sortNo"
,
""
);
// 投标总报价
// 投标总报价
if
(
hasBidPriceTotal
||
((
null
==
bidPriceList
||
bidPriceList
.
size
()
==
1
)
&&
(
null
==
bidStructPriceResultList
||
bidStructPriceResultList
.
size
()
==
0
))){
//
if(hasBidPriceTotal || ((null == bidPriceList || bidPriceList.size() == 1) && (null == bidStructPriceResultList || bidStructPriceResultList.size() == 0))){
//
// 投标人开标结果
//
// 投标人开标结果
SupplierOpeningResult
supplierOpeningResult
=
supplier
.
getSupplierOpeningResult
();
//
SupplierOpeningResult supplierOpeningResult = supplier.getSupplierOpeningResult();
initOpenBidPriceResultDataSet
(
supplierMap
,
supplier
.
getSupplierOpeningResult
());
//
initOpenBidPriceResultDataSet(supplierMap, supplier.getSupplierOpeningResult());
if
(
null
!=
supplierOpeningResult
){
//
if(null != supplierOpeningResult){
}
//
}
//
}
else
{
//
}else {
// BidPriceResult bidPriceResult = CollectionUtils.get(bidPriceResultList, t -> {
// BidPriceResult bidPriceResult = CollectionUtils.get(bidPriceResultList, t -> {
// return null != t.getSupplierId() && supplier.getId().equals(t.getSupplierId());
// return null != t.getSupplierId() && supplier.getId().equals(t.getSupplierId());
// });
// });
...
@@ -185,11 +187,11 @@ public class PriceScoreDateSet extends BaseDateSet{
...
@@ -185,11 +187,11 @@ public class PriceScoreDateSet extends BaseDateSet{
// if (null != bidPriceResult) {
// if (null != bidPriceResult) {
//
//
// }
// }
if
(!
isStruct
)
{
//
if(!isStruct) {
bidStructPriceResultList
=
bidStructPriceResultList
.
stream
().
filter
(
t
->
priceEvalFactor
.
getBidPriceCode
().
equals
(
t
.
getBidPriceCode
())).
collect
(
Collectors
.
toList
());
//
bidStructPriceResultList = bidStructPriceResultList.stream().filter(t -> priceEvalFactor.getBidPriceCode().equals(t.getBidPriceCode())).collect(Collectors.toList());
}
//
}
initBidPriceResultDataSet
(
supplierMap
,
bidStructPriceResultList
);
initBidPriceResultDataSet
(
supplierMap
,
bidStructPriceResultList
);
}
//
}
supplierMap
.
put
(
"basePriceFloat"
,
basePriceFloat
);
supplierMap
.
put
(
"basePriceFloat"
,
basePriceFloat
);
for
(
EvaluationFactorResult
evaluationFactorResult
:
expertEvaluateFactorResultList
){
for
(
EvaluationFactorResult
evaluationFactorResult
:
expertEvaluateFactorResultList
){
if
(
evaluationFactorResult
.
getFactorId
().
equals
(
priceEvalFactor
.
getId
())
&&
evaluationFactorResult
.
getSupplierId
().
equals
(
supplier
.
getId
())){
if
(
evaluationFactorResult
.
getFactorId
().
equals
(
priceEvalFactor
.
getId
())
&&
evaluationFactorResult
.
getSupplierId
().
equals
(
supplier
.
getId
())){
...
...
com.gx.obe.common.widget/src/com/gx/obe/common/widget/dialog/EditSubBidPriceItemDialog.java
View file @
5e5ba996
...
@@ -746,7 +746,12 @@ public class EditSubBidPriceItemDialog extends EDialog {
...
@@ -746,7 +746,12 @@ public class EditSubBidPriceItemDialog extends EDialog {
public
void
threadRun
()
{
public
void
threadRun
()
{
BidPriceService
bidPriceService
=
new
BidPriceService
();
BidPriceService
bidPriceService
=
new
BidPriceService
();
List
<
BidPriceResult
>
bidStructPriceResultList
=
null
;
List
<
BidPriceResult
>
bidStructPriceResultList
=
null
;
List
<
BidPrice
>
bidPriceListAll
=
bidPriceService
.
getTenderBidPriceList
(
projectRule
.
getTenderId
());
List
<
BidPrice
>
bidPriceList
=
bidPriceService
.
getBidPriceFactorList
(
projectRule
.
getTenderId
());
List
<
BidPrice
>
bidPriceList
=
bidPriceService
.
getBidPriceFactorList
(
projectRule
.
getTenderId
());
if
(
bidPriceListAll
.
size
()
==
bidPriceList
.
size
()
&&
bidPriceList
.
size
()
==
1
)
{
success
=
bidPriceResultService
.
updateBidPriceResultOrSum
(
curBidPriceResult
);
return
;
}
//如果当前bidPrice是结构化的必然剩下一个含税或者不含税的,如果是非结构化的当前bidPrice为空,执行原有逻辑
//如果当前bidPrice是结构化的必然剩下一个含税或者不含税的,如果是非结构化的当前bidPrice为空,执行原有逻辑
if
(
bidPriceList
!=
null
&&
bidPriceList
.
size
()
>
0
)
{
if
(
bidPriceList
!=
null
&&
bidPriceList
.
size
()
>
0
)
{
bidStructPriceResultList
=
bidPriceResultService
.
getBidPriceResultTableList
(
projectRule
.
getTenderId
(),
supplier
.
getId
());
bidStructPriceResultList
=
bidPriceResultService
.
getBidPriceResultTableList
(
projectRule
.
getTenderId
(),
supplier
.
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