package com.landy.gum.base.service.impl;
|
|
import java.util.Collection;
|
import java.util.List;
|
|
import org.springframework.stereotype.Service;
|
|
import com.landy.framework.core.service.impl.BaseManagerImpl;
|
import com.landy.gum.base.model.BbProductPartnerModel;
|
import com.landy.gum.base.service.BbProductPartnerManager;
|
|
@Service
|
public class BbProductPartnerManagerImpl extends BaseManagerImpl implements BbProductPartnerManager {
|
|
public BbProductPartnerModel get(String id) {
|
return this.dao.get(BbProductPartnerModel.class, id);
|
}
|
|
public List<BbProductPartnerModel> getAll() {
|
return this.dao.getAll(BbProductPartnerModel.class);
|
}
|
|
public List<BbProductPartnerModel> findByExample(BbProductPartnerModel example) {
|
return this.dao.findByExample(example);
|
}
|
|
public BbProductPartnerModel save(BbProductPartnerModel model) {
|
return this.dao.save(model);
|
}
|
|
public List<BbProductPartnerModel> saveAll(Collection<BbProductPartnerModel> models) {
|
return this.dao.saveAll(models);
|
}
|
|
public void remove(BbProductPartnerModel model) {
|
this.dao.remove(model);
|
}
|
|
public void removeAll(Collection<BbProductPartnerModel> models) {
|
this.dao.removeAll(models);
|
}
|
|
public void removeByPk(String id) {
|
this.dao.removeByPk(BbProductPartnerModel.class, id);
|
}
|
|
public void removeAllByPk(Collection<String> ids) {
|
this.dao.removeAllByPk(BbProductPartnerModel.class, ids);
|
}
|
|
}
|