中扬CRM客户关系管理系统
LSH
2023-08-22 564bf7ab6a639c2c4557d35b8fd9b51dca60a738
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.Item;
import com.zy.crm.manager.mapper.ItemMapper;
import com.zy.crm.manager.service.ItemService;
import org.springframework.stereotype.Service;
 
import java.util.ArrayList;
 
@Service("itemService")
public class ItemServiceImpl extends ServiceImpl<ItemMapper, Item> implements ItemService {
 
    @Override
    public Page<Item> getPage(Page<Item> page, ArrayList<Long> userIds, String condition) {
        return page.setRecords(this.baseMapper.listByPage(page,userIds,condition));
    }
}