package com.landy.gum.salary.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.salary.model.BbWorkTypeModel;
|
import com.landy.gum.salary.service.BbWorkTypeManager;
|
|
@Service
|
public class BbWorkTypeManagerImpl extends BaseManagerImpl implements BbWorkTypeManager {
|
|
public BbWorkTypeModel get(Integer id) {
|
return this.dao.get(BbWorkTypeModel.class, id);
|
}
|
|
public List<BbWorkTypeModel> getAll() {
|
return this.dao.getAll(BbWorkTypeModel.class);
|
}
|
|
public List<BbWorkTypeModel> findByExample(BbWorkTypeModel example) {
|
return this.dao.findByExample(example);
|
}
|
|
public BbWorkTypeModel save(BbWorkTypeModel model) {
|
return this.dao.save(model);
|
}
|
|
public List<BbWorkTypeModel> saveAll(Collection<BbWorkTypeModel> models) {
|
return this.dao.saveAll(models);
|
}
|
|
public void remove(BbWorkTypeModel model) {
|
this.dao.remove(model);
|
}
|
|
public void removeAll(Collection<BbWorkTypeModel> models) {
|
this.dao.removeAll(models);
|
}
|
|
public void removeByPk(Integer id) {
|
this.dao.removeByPk(BbWorkTypeModel.class, id);
|
}
|
|
public void removeAllByPk(Collection<Integer> ids) {
|
this.dao.removeAllByPk(BbWorkTypeModel.class, ids);
|
}
|
|
}
|