|
|
|
@ -232,7 +232,7 @@ public class SimsBackServiceImpl implements SimsBackService { |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("{}调用销项后台获取税控设备接口异常:{}", LOGGER_MSG, e); |
|
|
|
|
} |
|
|
|
|
if (ObjectUtil.isNotNull(taxEquipmentInfo)) { |
|
|
|
|
if (ObjectUtil.isNotNull(taxEquipmentInfo)&&StringUtils.isNotBlank(taxEquipmentInfo.getSksbCode())) { |
|
|
|
|
log.debug("{}调用销项后台获取税控设备返回数据为:{}", LOGGER_MSG, JsonUtils.getInstance().toJsonString(taxEquipmentInfo)); |
|
|
|
|
//增加缓存逻辑
|
|
|
|
|
redisService.set(sksbKey, JsonUtils.getInstance().toJsonString(taxEquipmentInfo), RedisConstant.REDIS_EXPIRE_TIME_2HOUR); |
|
|
|
|