| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- package com.dk.oauth.mapper;
- import com.dk.oauth.entity.*;
- import org.apache.ibatis.annotations.Param;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- /**
- * @author : 洪旭东
- * @desc : CompanyMapper
- * @date : 2024-2-18 15:39
- */
- public interface CompanyMapper extends BaseMapper<Company> {
- /**
- * @desc : 通过ID查询
- * @author : 洪旭东
- * @date : 2024-02-18 15:21
- */
- CompanyResponse getByCpId(@Param("id") Integer cpId);
- int insertBatch(@Param("list") List<Company> list);
- List<Company> selectByCond(Company t);
- Long countByCond(Company t);
- /**
- * @desc : 通过ID查询
- * @author : 洪旭东
- * @date : 2024-02-18 15:21
- */
- Company selectById(@Param("id") Integer id);
- /**
- * @desc : 通过openid查询
- * @author : 洪旭东
- * @date : 2024-02-18 15:21
- */
- List<Company> selectByOpenId(@Param("openid") String openid);
- /**
- * @desc : 获取商户的地址服务
- * @author : 姜永辉
- * @date : 2024-02-18 15:21
- */
- String selectServiceAllot(@Param("gradeCode") String gradeCode);
- /**
- * @desc : 保存功能频率
- * @author : 周兴
- * @date : 2024-03-28 15:21
- */
- int saveMenuFrequency(MenuFrequency menuFrequency);
- /**
- * @desc : 查询常用功能频率
- * @author : 周兴
- * @date : 2024-03-28 15:21
- */
- MenuFrequency selectMenuByUuid(MenuFrequency menuFrequency);
- }
|