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<ApplyEntity> selectByPage(Integer userid, Integer limit, Integer offset) {
|
return applyMapper.selectByPage(userid, limit, offset);
|
}
|
|
@Override
|
public List<ApplyEntity> 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<ApplyEntity> list) {
|
return applyMapper.inserts(list);
|
}
|
|
@Override
|
public Integer delete(int id) {
|
return applyMapper.delete(id);
|
}
|
|
@Override
|
public Integer deletes(List<Integer> ids) {
|
return applyMapper.deletes(ids);
|
}
|
|
@Override
|
public Integer update(ApplyEntity entity) {
|
return applyMapper.update(entity);
|
}
|
|
@Override
|
public Integer updates(List<ApplyEntity> list) {
|
return applyMapper.updates(list);
|
}
|
|
public Integer insertApply(){
|
|
|
return 0;
|
}
|
}
|