| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package com.ydtech.modules.admin.service;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.ydtech.extension.BaseIService;
- import com.ydtech.modules.admin.model.po.SysSwitchConfig;
- import com.ydtech.modules.admin.model.vo.SysSwitchConfigQueryVo;
- import com.ydtech.modules.admin.model.vo.SysSwitchConfigVo;
- import com.ydtech.modules.order.entity.BasePageResult;
- import com.ydtech.modules.protocol.utils.AssertionUtils;
- import java.math.BigDecimal;
- /**
- * @author Administrator
- * @description 针对表【sys_switch_config(系统开关配置表)】的数据库操作Service
- * @createDate 2024-08-07 18:04:47
- */
- public interface SysSwitchConfigService extends BaseIService<SysSwitchConfig> {
- /**
- * 获取 代理人、渠道 代客录单费用是否开启
- *
- * @param deptId 机构id
- * @return 功能是够开启
- */
- BigDecimal getEnterProportion(String deptId, Integer entryStatus);
- /**
- * 添加开关信息
- *
- * @param sysSwitchConfigVo
- */
- void add(SysSwitchConfigVo sysSwitchConfigVo);
- /**
- * 修改
- *
- * @param id 开关表 id
- * @param sysSwitchConfigVo 开关信息
- */
- void revise(String id, SysSwitchConfigVo sysSwitchConfigVo);
- /**
- * 分页查询开关配置
- *
- * @param sysSwitchConfigQueryVo 开关配置
- * @return
- */
- BasePageResult<SysSwitchConfig> queryPage(SysSwitchConfigQueryVo sysSwitchConfigQueryVo);
- }
|