Commit 0bc022498b2ca0f75ec741f657b9a4545f4cf0b0
1 parent
b71ca18a
feature(*): 优化查询线索到期时间的api接口
- 优化查询线索到期时间的api接口
Showing
1 changed file
with
1 additions
and
1 deletions
fw-valhalla-rpc/src/main/java/cn/fw/valhalla/rpc/mkt/MktRpcService.java
@@ -34,7 +34,7 @@ public class MktRpcService { | @@ -34,7 +34,7 @@ public class MktRpcService { | ||
34 | * @param dto | 34 | * @param dto |
35 | * @return | 35 | * @return |
36 | */ | 36 | */ |
37 | - @Cacheable(cacheNames = RedisKey.MKT_QUA, key = "#dto.getArchiveId()+':'+#dto.getActivityNo()", unless = "#Boolean.TRUE.equals(result) != true ") | 37 | + @Cacheable(cacheNames = RedisKey.MKT_QUA, key = "#dto.getArchiveId()+':'+#dto.getActivityNo()", unless = "true != #result") |
38 | public Boolean queryQualifications(final QualificationDTO dto) { | 38 | public Boolean queryQualifications(final QualificationDTO dto) { |
39 | if (dto == null) { | 39 | if (dto == null) { |
40 | return Boolean.FALSE; | 40 | return Boolean.FALSE; |