AccountMapper.java 579 B

12345678910111213141516171819202122
  1. package com.mapper;
  2. import com.pojo.dto.AccountVO;
  3. import com.pojo.entity.AccountEntity;
  4. import com.pojo.entity.AccountRealEntity;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import org.springframework.stereotype.Component;
  7. import org.springframework.stereotype.Repository;
  8. import java.util.List;
  9. public interface AccountMapper {
  10. List<AccountEntity> findAll(Integer id);
  11. void updateOne(AccountEntity accountEntity);
  12. void insertOne(AccountEntity accountEntity);
  13. AccountRealEntity findByResultMap();
  14. // 多对一查询
  15. AccountVO findVO(Integer id);
  16. }