| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | @Service("priOnline2Service") |
| | | public class PriOnline2ServiceImpl extends ServiceImpl<PriOnline2Mapper, PriOnline2> implements PriOnline2Service { |
| | |
| | | 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); |
| | | } |
| | | } |