12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- package com.pj.project.tb_costomer;
- import java.util.List;
- import org.apache.ibatis.annotations.Mapper;
- import com.pj.utils.so.*;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.stereotype.Repository;
- /**
- * Mapper: tb_costomer -- 客户管理
- * @author qzy
- */
- @Mapper
- @Repository
- public interface TbCostomerMapper extends BaseMapper <TbCostomer> {
- /**
- * 增
- * @param t 实体对象
- * @return 受影响行数
- */
- int add(TbCostomer t);
- /**
- * 删
- * @param id 要删除的数据id
- * @return 受影响行数
- */
- int delete(String id);
- /**
- * 改
- * @param t 实体对象
- * @return 受影响行数
- */
- int update(TbCostomer t);
- /**
- * 查 - 根据id
- * @param id 要查询的数据id
- * @return 实体对象
- */
- TbCostomer getById(String id);
- /**
- * 查集合 - 根据条件(参数为空时代表忽略指定条件)
- * @param so 参数集合
- * @return 数据列表
- */
- List<TbCostomer> getList(SoMap so);
- List<String> findByBusinessTypeOpenid(@Param("businessType") String businessType, @Param("bigBusinessType") Integer bigBusinessType);
- }
|