Authored by Zhao

move recall zk bo to core

package com.yoho.search.consumer.service.bo;
import java.util.List;
public class PageRecallStrategyBO {
private Integer pageId;
private List<RecallStrategyBO> strategies;
public Integer getPageId() {
return pageId;
}
public void setPageId(Integer pageId) {
this.pageId = pageId;
}
public List<RecallStrategyBO> getStrategies() {
return strategies;
}
public void setStrategies(List<RecallStrategyBO> strategies) {
this.strategies = strategies;
}
public static class RecallStrategyBO {
private Integer recallType;
private Integer recallValue;
private Integer valueType;
public Integer getRecallType() {
return recallType;
}
public void setRecallType(Integer recallType) {
this.recallType = recallType;
}
public Integer getRecallValue() {
return recallValue;
}
public void setRecallValue(Integer recallValue) {
this.recallValue = recallValue;
}
public Integer getValueType() {
return valueType;
}
public void setValueType(Integer valueType) {
this.valueType = valueType;
}
}
}
package com.yoho.search.consumer.service.logicService;
import com.yoho.search.base.utils.JsonUtil;
import com.yoho.search.consumer.service.bo.PageRecallStrategyBO;
import com.yoho.search.consumer.service.common.ZkConfigService;
import com.yoho.search.consumer.service.daoService.PageRecallTypeService;
import com.yoho.search.dal.model.PageRecallStrategyBO;
import com.yoho.search.dal.model.PageRecallStrategyDetail;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... ...