crm
xuhy
2025-09-05 47b3dc73a5b9274815a3e3fa631ad911453c84ad
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.ruoyi.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.dto.TCrmBranchDTO;
import com.ruoyi.system.model.TCrmBranch;
import com.ruoyi.system.model.TCrmDevice;
import com.ruoyi.system.query.TCrmBranchQuery;
import com.ruoyi.system.vo.TCrmBranchVO;
 
/**
 * <p>
 * crm分公司管理 服务类
 * </p>
 *
 * @author xiaochen
 * @since 2025-08-20
 */
public interface TCrmBranchService extends IService<TCrmBranch> {
 
    /**
     * 分页列表
     * @param query
     * @return
     */
    PageInfo<TCrmBranchVO> pageList(TCrmBranchQuery query);
 
    /**
     * 添加
     * @param dto
     * @return
     */
    R<Boolean> addBranch(TCrmBranchDTO dto);
    /**
     * 判断是否存在
     * @param dto
     * @return
     */
    boolean isExit(TCrmBranchDTO dto);
 
    /**
     * 修改
     * @param dto
     * @return
     */
    R<Boolean> updateBranch(TCrmBranchDTO dto);
}