puzhibing
2023-06-30 f58cca364b731eac2d60a440ffaa804be3cd43fd
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
49
50
51
package com.stylefeng.guns.modular.system.service;
 
import com.stylefeng.guns.modular.system.controller.resp.TBranchOfficeResp;
import com.stylefeng.guns.modular.system.model.TBranchOffice;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.ui.Model;
 
import java.util.List;
 
/**
 * <p>
 * 分公司 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2023-02-21
 */
public interface ITBranchOfficeService extends IService<TBranchOffice> {
 
    /**
     * 跳转到详情
     * @param tBranchOfficeId
     * @param model
     */
    void tBranchOfficeDetail(Integer tBranchOfficeId, Model model);
 
    /**
     * 分公司获取列表
     * @param branchOfficeName
     * @param principal
     * @param principalPhone
     * @param operatingBusiness
     * @param status
     * @return
     */
    List<TBranchOfficeResp> getPageList(String branchOfficeName, String principal, String principalPhone, Integer operatingBusiness, Integer status);
 
    /**
     * 分公司查询优惠券,订单,司机等信息
     * @param tBranchOfficeRespList
     */
    void queryOtherInfo(List<TBranchOfficeResp> tBranchOfficeRespList);
 
    /**
     * 匹配代理商信息
     * @param tBranchOffice
     * @return
     */
    Object addOrUpdate(TBranchOffice tBranchOffice);
 
}