|
@@ -392,7 +392,7 @@ public class InformationQueryServiceImpl extends BaseServiceImpl<InformationQuer
|
|
|
if(type>=3 || type<=0){
|
|
|
type = 1;
|
|
|
}
|
|
|
- if (DistributedRedisLock.acquire("saveOrUpdateInformationQueryData:" + primaryKeyId + ":" + contractTree.getContractId() + ":" + classify + ":" + type,5)) {
|
|
|
+ if (DistributedRedisLock.acquire("saveOrUpdateInformationQueryData:" + primaryKeyId + ":" + contractTree.getContractId() + ":" + classify + ":" + type,20)) {
|
|
|
try {
|
|
|
//判断当前填报节点下是否已经存在相应数据
|
|
|
InformationQuery oldData = this.baseMapper.getInformationQueryByWbsId(contractTree.getPKeyId(), classify,contractTree.getContractId());
|
|
@@ -1071,7 +1071,7 @@ public class InformationQueryServiceImpl extends BaseServiceImpl<InformationQuer
|
|
|
List<InformationQuery> informationQueries = this.getBaseMapper().selectBatchIds(ids);
|
|
|
if (informationQueries != null && !informationQueries.isEmpty()) {
|
|
|
for (InformationQuery informationQuery : informationQueries) {
|
|
|
- if (DistributedRedisLock.acquire("informationQueryLock_" + informationQuery.getWbsId() + "_" + informationQuery.getContractId() + "_" + informationQuery.getClassify() + "_" + informationQuery.getType(),5)) {
|
|
|
+ if (DistributedRedisLock.acquire("informationQueryLock_" + informationQuery.getWbsId() + "_" + informationQuery.getContractId() + "_" + informationQuery.getClassify() + "_" + informationQuery.getType(),20)) {
|
|
|
try {
|
|
|
List<InformationQuery> queryList = this.list(Wrappers.<InformationQuery>lambdaQuery().select(InformationQuery::getId, InformationQuery::getStatus)
|
|
|
.eq(InformationQuery::getWbsId, informationQuery.getWbsId())
|