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 { /** * @desc : 通过ID查询 * @author : 洪旭东 * @date : 2024-02-18 15:21 */ CompanyResponse getByCpId(@Param("cpId") Integer cpId); int insertBatch(@Param("list") List list); List selectByCond(Company t); Long countByCond(Company t); /** * @desc : 通过ID查询 * @author : 洪旭东 * @date : 2024-02-18 15:21 */ Company selectById(@Param("cpId") Integer cpId); /** * @desc : 通过openid查询 * @author : 洪旭东 * @date : 2024-02-18 15:21 */ List 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); }