| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package com.pj.project.tb_account;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.pj.utils.so.SoMap;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.stereotype.Repository;
- import java.math.BigDecimal;
- import java.util.List;
- import java.util.Map;
- /**
- * Mapper: tb_account -- 客户账户
- *
- * @author qzy
- */
- @Mapper
- @Repository
- public interface TbAccountMapper extends BaseMapper<TbAccount> {
- /**
- * 查集合 - 根据条件(参数为空时代表忽略指定条件)
- *
- * @param so 参数集合
- * @return 数据列表
- */
- List<TbAccount> getList(SoMap so);
- /**
- * 查 - 根据id
- * @param id 要查询的数据id
- * @return 实体对象
- */
- TbAccount getById(Long id);
- /**
- * 查集合 - 根据条件(参数为空时代表忽略指定条件)
- * @param so
- * @return 数据列表
- */
- List<TbAccountBO> getTbAccountBOList(SoMap so);
- TbAccountBO getByCustomerId(String customerId);
- TbAccount getAccountByPlate(String plate);
- void updateBalance(@Param("id") String id, @Param("balance") BigDecimal balance);
- }
|