liujie
2026-01-22 700d489a87b79ab2916b8696740a1cd898dc0f84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.estate.expert.admin.domain.repository;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.estate.expert.admin.domain.business.screenaccount.ScreenAccount;
import com.estate.expert.admin.domain.business.screenaccount.ScreenAccountDto;
import com.estate.expert.admin.domain.project.Project;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * ScreenAccount的MyBatis-Plus Mapper接口
 * 继承BaseMapper获得更多内置CRUD方法
 */
@Mapper
public interface ScreenAccountMybatisMapper extends BaseMapper<ScreenAccount> {
    
    /**
     * 根据名称模糊查询ScreenAccount列表
     * @param name 名称
     * @return ScreenAccount列表
     */
    List<ScreenAccount> findByName(@Param("name") String name);
    
    /**
     * 根据条件动态查询ScreenAccount列表
     * @param conditions 查询条件
     * @return ScreenAccount列表
     */
    List<ScreenAccount> findByConditions(Map<String, Object> conditions);
 
    List<ScreenAccountDto> list(@Param("page") Page<ScreenAccountDto> page, @Param("name") String name, @Param("keyword") String keyword, @Param("type") Integer type, @Param("clientListIds") List<Integer> clientListIds, @Param("projectIds") List<Integer> projectIds);
 
 
    List<String> getClientNameList(@Param("ids") List<String> ids);
 
 
    List<String> getProjectNameList(@Param("ids") List<String> ids);
 
 
    ScreenAccount getUserFromMobile(@Param("mobile") String mobile);
 
    List<Project> findAllByTitleIdAndDeleted(@Param("name") String name);
 
}