Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
JingnengService
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
王亚宁
JingnengService
Commits
34769051
Commit
34769051
authored
Jun 11, 2024
by
王亚宁
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bug/master/#160' into 'master'
#261 评标管理新增的本地用户删除失效 See merge request
!1
parents
f8b304d2
b5463c3d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
81 additions
and
5 deletions
+81
-5
com.gx.obe.service/src/main/java/com/gx/obe/server/management/evaluation/service/impl/BidPriceResultServiceImpl.java
...nt/evaluation/service/impl/BidPriceResultServiceImpl.java
+1
-1
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/dao/SupplierEvaluationResultMapper.java
...nagement/supplier/dao/SupplierEvaluationResultMapper.java
+2
-1
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/dao/SupplierOpeningResultMapper.java
.../management/supplier/dao/SupplierOpeningResultMapper.java
+4
-0
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/service/SupplierOpeningResultService.java
...gement/supplier/service/SupplierOpeningResultService.java
+4
-0
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/service/impl/SupplierEvaluationResultServiceImpl.java
...ier/service/impl/SupplierEvaluationResultServiceImpl.java
+1
-1
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/service/impl/SupplierOpeningResultServiceImpl.java
...pplier/service/impl/SupplierOpeningResultServiceImpl.java
+6
-0
com.gx.obe.service/src/main/resources/mapper/AuthUserMapper.xml
....obe.service/src/main/resources/mapper/AuthUserMapper.xml
+2
-2
com.gx.obe.service/src/main/resources/mapper/SupplierEvaluationResultMapper.xml
.../main/resources/mapper/SupplierEvaluationResultMapper.xml
+14
-0
com.gx.obe.service/src/main/resources/mapper/SupplierOpeningResultMapper.xml
...src/main/resources/mapper/SupplierOpeningResultMapper.xml
+47
-0
No files found.
com.gx.obe.service/src/main/java/com/gx/obe/server/management/evaluation/service/impl/BidPriceResultServiceImpl.java
View file @
34769051
...
@@ -626,7 +626,7 @@ public class BidPriceResultServiceImpl extends ServiceImpl<BidPriceResultMapper,
...
@@ -626,7 +626,7 @@ public class BidPriceResultServiceImpl extends ServiceImpl<BidPriceResultMapper,
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
boolean
updateBidPriceResultOrSum
(
BidPriceResult
bidPriceResult
)
{
public
boolean
updateBidPriceResultOrSum
(
BidPriceResult
bidPriceResult
)
{
if
(
updateAssignProperty
(
bidPriceResult
,
new
String
[]{
"finalBidPrice"
,
"evaluationPrice"
,
"modifyReason"
}))
{
if
(
updateAssignProperty
(
bidPriceResult
,
new
String
[]{
"finalBidPrice"
,
"evaluationPrice"
,
"modifyReason"
}))
{
if
(
supplierOpeningResultService
.
updateSupplier
SumPrice
(
bidPriceResult
.
getTenderId
(),
bidPriceResult
.
getSupplierId
(),
true
,
true
)
>
0
)
{
if
(
supplierOpeningResultService
.
updateSupplier
Price
(
bidPriceResult
,
new
String
[]{
"finalBidPrice"
,
"evaluationPrice"
,
"bidPrice"
}
)
>
0
)
{
return
supplierOpeningResultService
.
updateSumModifyReason
(
bidPriceResult
.
getTenderId
(),
bidPriceResult
.
getSupplierId
());
return
supplierOpeningResultService
.
updateSumModifyReason
(
bidPriceResult
.
getTenderId
(),
bidPriceResult
.
getSupplierId
());
}
}
}
}
...
...
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/dao/SupplierEvaluationResultMapper.java
View file @
34769051
...
@@ -24,7 +24,8 @@ public interface SupplierEvaluationResultMapper extends BaseMapper<SupplierEvalu
...
@@ -24,7 +24,8 @@ public interface SupplierEvaluationResultMapper extends BaseMapper<SupplierEvalu
Integer
updateObeSupplierEvaluationResultBatchList
(
@Param
(
"ObeSupplierEvaluationResultList"
)
List
<
SupplierEvaluationResult
>
ObeSupplierEvaluationResultList
);
Integer
updateObeSupplierEvaluationResultBatchList
(
@Param
(
"ObeSupplierEvaluationResultList"
)
List
<
SupplierEvaluationResult
>
ObeSupplierEvaluationResultList
);
Integer
updateUnqObeSupplierEvaluationResultBatchList
(
@Param
(
"ObeSupplierEvaluationResultList"
)
List
<
SupplierEvaluationResult
>
ObeSupplierEvaluationResultList
);
String
getCreateSupplierEvaluationResultId
(
@Param
(
"tenderId"
)
String
tenderId
,
@Param
(
"supplierId"
)
String
supplierId
);
String
getCreateSupplierEvaluationResultId
(
@Param
(
"tenderId"
)
String
tenderId
,
@Param
(
"supplierId"
)
String
supplierId
);
...
...
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/dao/SupplierOpeningResultMapper.java
View file @
34769051
package
com
.
gx
.
obe
.
server
.
management
.
supplier
.
dao
;
package
com
.
gx
.
obe
.
server
.
management
.
supplier
.
dao
;
import
com.gx.obe.server.management.evaluation.entity.BidPriceResult
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
@@ -44,6 +45,9 @@ public interface SupplierOpeningResultMapper extends BaseMapper<SupplierOpeningR
...
@@ -44,6 +45,9 @@ public interface SupplierOpeningResultMapper extends BaseMapper<SupplierOpeningR
* @return
* @return
*/
*/
Integer
updateSupplierSumPrice
(
@Param
(
"tenderId"
)
String
tenderId
,
@Param
(
"supplierId"
)
String
supplierId
,
@Param
(
"bidPrice"
)
boolean
bidPrice
,
@Param
(
"evalPrice"
)
boolean
evalPrice
);
Integer
updateSupplierSumPrice
(
@Param
(
"tenderId"
)
String
tenderId
,
@Param
(
"supplierId"
)
String
supplierId
,
@Param
(
"bidPrice"
)
boolean
bidPrice
,
@Param
(
"evalPrice"
)
boolean
evalPrice
);
Integer
updateSupplierPrice
(
@Param
(
"ObeBidPriceResult"
)
BidPriceResult
ObeBidPriceResult
,
@Param
(
"attributes"
)
String
[]
attributes
);
/**
/**
* @Description:
* @Description:
...
...
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/service/SupplierOpeningResultService.java
View file @
34769051
...
@@ -2,6 +2,7 @@ package com.gx.obe.server.management.supplier.service;
...
@@ -2,6 +2,7 @@ package com.gx.obe.server.management.supplier.service;
import
java.util.List
;
import
java.util.List
;
import
com.gx.obe.server.management.evaluation.entity.BidPriceResult
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.baomidou.mybatisplus.extension.service.IService
;
...
@@ -67,6 +68,9 @@ public interface SupplierOpeningResultService extends IService<SupplierOpeningRe
...
@@ -67,6 +68,9 @@ public interface SupplierOpeningResultService extends IService<SupplierOpeningRe
* @param evalPrice
* @param evalPrice
*/
*/
Integer
updateSupplierSumPrice
(
String
tenderId
,
String
supplierId
,
boolean
bidPrice
,
boolean
evalPrice
);
Integer
updateSupplierSumPrice
(
String
tenderId
,
String
supplierId
,
boolean
bidPrice
,
boolean
evalPrice
);
Integer
updateSupplierPrice
(
BidPriceResult
ObeBidPriceResult
,
String
[]
attributes
);
/**
/**
* @Description: 获取投标人开标结果
* @Description: 获取投标人开标结果
...
...
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/service/impl/SupplierEvaluationResultServiceImpl.java
View file @
34769051
...
@@ -79,6 +79,7 @@ public class SupplierEvaluationResultServiceImpl extends ServiceImpl<SupplierEva
...
@@ -79,6 +79,7 @@ public class SupplierEvaluationResultServiceImpl extends ServiceImpl<SupplierEva
}
}
iCount
+=
insertByBatch
(
instrtEditPriceItemResultListTemp
);
iCount
+=
insertByBatch
(
instrtEditPriceItemResultListTemp
);
iCount
+=
supplierEvaluationResultMapper
.
updateObeSupplierEvaluationResultBatchList
(
UpdateeditPriceItemResultListTemp
);
iCount
+=
supplierEvaluationResultMapper
.
updateObeSupplierEvaluationResultBatchList
(
UpdateeditPriceItemResultListTemp
);
supplierEvaluationResultMapper
.
updateUnqObeSupplierEvaluationResultBatchList
(
UpdateeditPriceItemResultListTemp
);
return
iCount
;
return
iCount
;
}
}
...
@@ -121,7 +122,6 @@ public class SupplierEvaluationResultServiceImpl extends ServiceImpl<SupplierEva
...
@@ -121,7 +122,6 @@ public class SupplierEvaluationResultServiceImpl extends ServiceImpl<SupplierEva
* @Description: 统计初审通过(不通过)的供应商数量
* @Description: 统计初审通过(不通过)的供应商数量
* @author wangxaing
* @author wangxaing
* @param tenderId
* @param tenderId
* @param type
* @return
* @return
*/
*/
@Override
@Override
...
...
com.gx.obe.service/src/main/java/com/gx/obe/server/management/supplier/service/impl/SupplierOpeningResultServiceImpl.java
View file @
34769051
...
@@ -12,6 +12,7 @@ import com.gx.obe.server.management.evaluation.service.BidPriceResultService;
...
@@ -12,6 +12,7 @@ import com.gx.obe.server.management.evaluation.service.BidPriceResultService;
import
com.gx.obe.server.management.supplier.dao.SupplierOpeningResultMapper
;
import
com.gx.obe.server.management.supplier.dao.SupplierOpeningResultMapper
;
import
com.gx.obe.server.management.supplier.entity.SupplierOpeningResult
;
import
com.gx.obe.server.management.supplier.entity.SupplierOpeningResult
;
import
com.gx.obe.server.management.supplier.service.SupplierOpeningResultService
;
import
com.gx.obe.server.management.supplier.service.SupplierOpeningResultService
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
...
@@ -126,6 +127,11 @@ public class SupplierOpeningResultServiceImpl extends ServiceImpl<SupplierOpenin
...
@@ -126,6 +127,11 @@ public class SupplierOpeningResultServiceImpl extends ServiceImpl<SupplierOpenin
return
supplierOpeningResultMapper
.
updateSupplierSumPrice
(
tenderId
,
supplierId
,
bidPrice
,
evalPrice
);
return
supplierOpeningResultMapper
.
updateSupplierSumPrice
(
tenderId
,
supplierId
,
bidPrice
,
evalPrice
);
}
}
@Override
public
Integer
updateSupplierPrice
(
BidPriceResult
ObeBidPriceResult
,
String
[]
attributes
)
{
return
supplierOpeningResultMapper
.
updateSupplierPrice
(
ObeBidPriceResult
,
attributes
);
}
/**
/**
* @Description: 获取投标人开标结果
* @Description: 获取投标人开标结果
* @author wangxiang
* @author wangxiang
...
...
com.gx.obe.service/src/main/resources/mapper/AuthUserMapper.xml
View file @
34769051
...
@@ -243,8 +243,8 @@
...
@@ -243,8 +243,8 @@
<!-- 更新用户状态 -->
<!-- 更新用户状态 -->
<update
id=
"updateUsestatus"
>
<update
id=
"updateUsestatus"
>
UPDATE auth_user
UPDATE auth_user
USE_STATUS = #{useStatus}
SET
USE_STATUS = #{useStatus}
WHERE
WHERE
USER_ID = #{id}
USER_ID = #{id}
</update>
</update>
...
...
com.gx.obe.service/src/main/resources/mapper/SupplierEvaluationResultMapper.xml
View file @
34769051
...
@@ -88,6 +88,20 @@
...
@@ -88,6 +88,20 @@
</where>
</where>
</foreach>
</foreach>
</update>
</update>
<update
id=
"updateUnqObeSupplierEvaluationResultBatchList"
parameterType=
"java.util.List"
>
<foreach
collection=
"ObeSupplierEvaluationResultList"
item=
"ObeSupplierEvaluationResult"
index=
"index"
open=
""
close=
""
separator=
";"
>
UPDATE obe_supplier_evaluation_result
<set>
EVALUATION_OPINION = #{ObeSupplierEvaluationResult.evaluationOpinion} ,
BIDDING_REQUEST = #{ObeSupplierEvaluationResult.biddingRequest },
</set>
<where>
EVALUATION_RESULT_ID = #{ObeSupplierEvaluationResult.id}
AND ACCESSMENT = '01'
</where>
</foreach>
</update>
<!-- 批量插入-->
<!-- 批量插入-->
<insert
id=
"insertByBatch"
parameterType=
"java.util.List"
>
<insert
id=
"insertByBatch"
parameterType=
"java.util.List"
>
...
...
com.gx.obe.service/src/main/resources/mapper/SupplierOpeningResultMapper.xml
View file @
34769051
...
@@ -286,6 +286,53 @@
...
@@ -286,6 +286,53 @@
AND s.SUPPLIER_ID = #{supplierId}
AND s.SUPPLIER_ID = #{supplierId}
</if>
</if>
</update>
</update>
<update
id=
"updateSupplierPrice"
>
UPDATE OBE_SUPPLIER_OPENING_RESULT
<set>
<foreach
collection=
"attributes"
item=
"attribute"
index=
"index"
open=
""
close=
""
separator=
","
>
<if
test=
"attribute == 'priceContent'"
>
PRICE_CONTENT = #{ObeBidPriceResult.priceContent}
</if>
<if
test=
"attribute == 'currencyCode'"
>
CURRENCY_CODE = #{ObeBidPriceResult.currencyCode}
</if>
<if
test=
"attribute == 'currencyName'"
>
CURRENCY_NAME = #{ObeBidPriceResult.currencyName}
</if>
<if
test=
"attribute == 'priceUnit'"
>
PRICE_UNIT = #{ObeBidPriceResult.priceUnit}
</if>
<if
test=
"attribute == 'finalBidPrice'"
>
FINAL_BID_PRICE = #{ObeBidPriceResult.finalBidPrice}
</if>
<if
test=
"attribute == 'bidPrice'"
>
BID_PRICE = #{ObeBidPriceResult.bidPrice}
</if>
<if
test=
"attribute == 'evaluationPrice'"
>
EVALUATION_PRICE = #{ObeBidPriceResult.evaluationPrice}
</if>
<if
test=
"attribute == 'evaluationPriceOriginal'"
>
EVALUATION_PRICE_ORIGINAL = #{ObeBidPriceResult.evaluationPriceOriginal}
</if>
<if
test=
"attribute == 'evaluationPriceCorrectRecord'"
>
EVALUATION_PRICE_CORRECT_RECORD = #{ObeBidPriceResult.evaluationPriceCorrectRecord}
</if>
<if
test=
"attribute == 'modifyReason'"
>
MODIFY_REASON = #{ObeBidPriceResult.modifyReason}
</if>
<if
test=
"attribute == 'bidPriceName'"
>
BID_PRICE_NAME = #{ObeBidPriceResult.bidPriceName}
</if>
<if
test=
"attribute == 'createTime'"
>
CREATE_TIME = #{ObeBidPriceResult.createTime}
</if>
</foreach>
</set>
WHERE TENDER_ID = #{ObeBidPriceResult.tenderId}
AND SUPPLIER_ID = #{ObeBidPriceResult.supplierId}
</update>
<update
id=
"updateEvaluationPriceAndEvaluationPriceOriginal"
>
<update
id=
"updateEvaluationPriceAndEvaluationPriceOriginal"
>
UPDATE obe_supplier_opening_result
UPDATE obe_supplier_opening_result
...
...
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