|
@@ -71,16 +71,16 @@ public class PushCacheFacade {
|
|
|
}
|
|
|
|
|
|
@Cacheable(value = "aipt-service", key = "'GetConceptDTO:name_' + #name + '_libType_' + #libType", unless = "#result == null")
|
|
|
- public ConceptPushDTO getConceptDTO(String name, Integer libType){
|
|
|
+ public ConceptPushDTO getConceptDTO(String name, Integer libType) {
|
|
|
ConceptPushDTO conceptPushDTO = null;
|
|
|
- if (StringUtil.isNotBlank(name) && !IntegerUtil.isNull(libType)){
|
|
|
+ if (StringUtil.isNotBlank(name) && !IntegerUtil.isNull(libType)) {
|
|
|
QueryWrapper<Concept> conceptQueryWrapper = new QueryWrapper<>();
|
|
|
conceptQueryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
.eq("lib_name", name)
|
|
|
.eq("lib_type", libType);
|
|
|
Concept concept = conceptFacade.getOne(conceptQueryWrapper, false);
|
|
|
|
|
|
- conceptPushDTO= new ConceptPushDTO();
|
|
|
+ conceptPushDTO = new ConceptPushDTO();
|
|
|
conceptPushDTO.setName(name);
|
|
|
conceptPushDTO.setLibType(libType);
|
|
|
conceptPushDTO.setType(ParamConvertUtil.libConvert2Concept(libType));
|