package com.lf.server.service.show; import com.lf.server.entity.show.ApplyEntity; import com.lf.server.mapper.show.ApplyMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 数据申请 * @author WWW */ @Service public class ApplyService implements ApplyMapper { @Autowired ApplyMapper applyMapper; @Override public Integer selectCount(Integer userid) { return applyMapper.selectCount(userid); } @Override public List selectByPage(Integer userid, Integer limit, Integer offset) { return applyMapper.selectByPage(userid, limit, offset); } @Override public List selectAll() { return applyMapper.selectAll(); } @Override public ApplyEntity selectById(int id) { return applyMapper.selectById(id); } @Override public Integer insert(ApplyEntity entity) { return applyMapper.insert(entity); } @Override public Integer inserts(List list) { return applyMapper.inserts(list); } @Override public Integer delete(int id) { return applyMapper.delete(id); } @Override public Integer deletes(List ids) { return applyMapper.deletes(ids); } @Override public Integer update(ApplyEntity entity) { return applyMapper.update(entity); } @Override public Integer updates(List list) { return applyMapper.updates(list); } public Integer insertApply(){ return 0; } }