Commit df938cee authored by 江洋洋's avatar 江洋洋

dsp

parent 85bf1ecb
......@@ -4,6 +4,8 @@ import cn.com.duiba.tuia.pangea.center.api.localservice.apollopangu.ApolloPanGuS
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.NumberUtil;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import javax.annotation.Resource;
......@@ -17,6 +19,8 @@ import java.util.Map;
*/
public class ApolloPanGuConverter implements SamplerLogConverter {
private static final Logger logger = LoggerFactory.getLogger(ApolloPanGuConverter.class);
@Resource
private ApolloPanGuService apolloPanGuService;
......@@ -38,7 +42,7 @@ public class ApolloPanGuConverter implements SamplerLogConverter {
try {
samplingMap = apolloPanGuService.getIdMapByKeyStr(panGuKey);
}catch (Exception e){
logger.info("盘古获取样本数异常");
}
if (MapUtil.isEmpty(samplingMap)) {
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment