|
@@ -64,10 +64,10 @@ public abstract class AbstractMatterCacheHelper implements InitializingBean { |
|
|
DscSxAdsShareItemQltQlsxCommonIDVKq::getQlState, |
|
|
DscSxAdsShareItemQltQlsxCommonIDVKq::getQlState, |
|
|
DscSxAdsShareItemQltQlsxCommonIDVKq::getQlInnerCodeItem, |
|
|
DscSxAdsShareItemQltQlsxCommonIDVKq::getQlInnerCodeItem, |
|
|
DscSxAdsShareItemQltQlsxCommonIDVKq::getWebapplyurl) |
|
|
DscSxAdsShareItemQltQlsxCommonIDVKq::getWebapplyurl) |
|
|
.eq(DscSxAdsShareItemQltQlsxCommonIDVKq::getQlState, "1") |
|
|
|
|
|
|
|
|
// .eq(DscSxAdsShareItemQltQlsxCommonIDVKq::getQlState, "1") |
|
|
.isNotNull(DscSxAdsShareItemQltQlsxCommonIDVKq::getWebapplyurl) |
|
|
.isNotNull(DscSxAdsShareItemQltQlsxCommonIDVKq::getWebapplyurl) |
|
|
.isNotNull(DscSxAdsShareItemQltQlsxCommonIDVKq::getQlInnerCodeItem) |
|
|
|
|
|
.ne(DscSxAdsShareItemQltQlsxCommonIDVKq::getQlInnerCodeItem, "") |
|
|
|
|
|
|
|
|
.isNotNull(DscSxAdsShareItemQltQlsxCommonIDVKq::getQlInnerCode) |
|
|
|
|
|
.ne(DscSxAdsShareItemQltQlsxCommonIDVKq::getQlInnerCode, "") |
|
|
.notIn(!eliminatedQlNames.isEmpty(), DscSxAdsShareItemQltQlsxCommonIDVKq::getQlName, eliminatedQlNames) // 过滤掉那些在eliminatedQlNames中的记录 |
|
|
.notIn(!eliminatedQlNames.isEmpty(), DscSxAdsShareItemQltQlsxCommonIDVKq::getQlName, eliminatedQlNames) // 过滤掉那些在eliminatedQlNames中的记录 |
|
|
.orderByDesc(DscSxAdsShareItemQltQlsxCommonIDVKq::getUpdateDate)); |
|
|
.orderByDesc(DscSxAdsShareItemQltQlsxCommonIDVKq::getUpdateDate)); |
|
|
if (allMatters.isEmpty()) { |
|
|
if (allMatters.isEmpty()) { |
|
@@ -75,8 +75,8 @@ public abstract class AbstractMatterCacheHelper implements InitializingBean { |
|
|
return Boolean.FALSE; |
|
|
return Boolean.FALSE; |
|
|
} |
|
|
} |
|
|
allMatters.forEach(m -> { |
|
|
allMatters.forEach(m -> { |
|
|
// 1-11日修改新的url匹配规则,取事项状态为1且qlInnerCodeItem不为空的进行拼接,新的url规则如下 |
|
|
|
|
|
String kq_url = KQ_ZZS_BASE_URL.replace("localInnerCode=", "localInnerCode=" + m.getQlInnerCodeItem()); |
|
|
|
|
|
|
|
|
// 3-14日修改新的url匹配规则,取事项状态为1且qlInnerCode不为空的进行拼接,新的url规则如下 |
|
|
|
|
|
String kq_url = KQ_ZZS_BASE_URL.replace("localInnerCode=", "localInnerCode=" + m.getQlInnerCode()); |
|
|
MatterKey key = MatterKey.of(m.getQlName(),kq_url); |
|
|
MatterKey key = MatterKey.of(m.getQlName(),kq_url); |
|
|
if(!mattersUrlCache.asMap().containsKey(m.getQlName())){ |
|
|
if(!mattersUrlCache.asMap().containsKey(m.getQlName())){ |
|
|
mattersUrlCache.put(m.getQlName(),kq_url); |
|
|
mattersUrlCache.put(m.getQlName(),kq_url); |
|
|