package com.zy.crm.manager.service.impl;
|
|
import com.baomidou.mybatisplus.plugins.Page;
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
import com.zy.crm.manager.entity.PriOnline2;
|
import com.zy.crm.manager.mapper.PriOnline2Mapper;
|
import com.zy.crm.manager.service.PriOnline2Service;
|
import org.springframework.stereotype.Service;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
|
@Service("priOnline2Service")
|
public class PriOnline2ServiceImpl extends ServiceImpl<PriOnline2Mapper, PriOnline2> implements PriOnline2Service {
|
|
@Override
|
public Page<PriOnline2> listByPage(Page<PriOnline2> page, ArrayList<Long> userIds, String condition) {
|
return page.setRecords(this.baseMapper.listByPage(page, userIds, condition));
|
}
|
|
@Override
|
public List<PriOnline2> listByAll(Long userId) {
|
return this.baseMapper.listByAll(userId);
|
}
|
|
@Override
|
public Integer listByAllTotal(Long userId) {
|
return this.baseMapper.listByAllTotal(userId);
|
}
|
}
|