中扬CRM客户关系管理系统
#
luxiaotao1123
2022-09-16 48e6a7175d35994d54d2dd86d7ee12f3f0cc50f3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.zy.crm.system.mapper;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zy.crm.system.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {
 
    List<User> listByPage(Page page, @Param("hostId")Long hostId, @Param("deptId") String deptId, @Param("username") Object username, @Param("mobile") Object mobile);
 
    List<User> getUserByDept(@Param("hostId")Long hostId, @Param("deptId")Long deptId);
 
}