|
@@ -217,7 +217,6 @@ public class RemoteSystemServiceImpl implements RemoteSystemService {
|
|
|
BeanUtils.copyProperties(kwsEnterpriseResDto, entCacheResDto);
|
|
BeanUtils.copyProperties(kwsEnterpriseResDto, entCacheResDto);
|
|
|
entCacheResDto.setDeptInfo(remoteBaseService.queryDeftInfoByEntId(entId));
|
|
entCacheResDto.setDeptInfo(remoteBaseService.queryDeftInfoByEntId(entId));
|
|
|
entCacheResDto.setCertificateInfo(remoteBaseService.queryCertificateByEntId(entId));
|
|
entCacheResDto.setCertificateInfo(remoteBaseService.queryCertificateByEntId(entId));
|
|
|
- remoteBaseService.fillRelate(entCacheResDto);
|
|
|
|
|
RedissonUtils.putString(key, JSON.toJSONString(entCacheResDto), Global.COMMON_EXPIRE);
|
|
RedissonUtils.putString(key, JSON.toJSONString(entCacheResDto), Global.COMMON_EXPIRE);
|
|
|
return entCacheResDto;
|
|
return entCacheResDto;
|
|
|
}
|
|
}
|
|
@@ -261,7 +260,7 @@ public class RemoteSystemServiceImpl implements RemoteSystemService {
|
|
|
Map<Long, EntCacheResDto> result = new HashMap<>();
|
|
Map<Long, EntCacheResDto> result = new HashMap<>();
|
|
|
for (Long entId : entIdList) {
|
|
for (Long entId : entIdList) {
|
|
|
EntCacheResDto entCacheResDto = queryEntCacheById(entId);
|
|
EntCacheResDto entCacheResDto = queryEntCacheById(entId);
|
|
|
-
|
|
|
|
|
|
|
+ remoteBaseService.fillRelate(entCacheResDto);
|
|
|
//有主体单位
|
|
//有主体单位
|
|
|
String entDeptIds = entCacheResDto.getEntDeptIds();
|
|
String entDeptIds = entCacheResDto.getEntDeptIds();
|
|
|
if (StringUtils.isNotBlank(entDeptIds)) {
|
|
if (StringUtils.isNotBlank(entDeptIds)) {
|