IntegralMapper.java 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.dk.oauth.mapper.integral;
  2. import com.dk.oauth.entity.Trade;
  3. import com.dk.oauth.model.pojo.integral.Integral;
  4. import com.dk.common.mapper.BaseMapper;
  5. import com.dk.oauth.model.query.integral.IntegralQuery;
  6. import com.dk.oauth.model.response.integral.IntegralResponse;
  7. import org.apache.ibatis.annotations.Param;
  8. import org.springframework.stereotype.Repository;
  9. import java.util.List;
  10. /**
  11. * 积分 Mapper
  12. */
  13. @Repository
  14. public interface IntegralMapper extends BaseMapper<Integral>{
  15. /**
  16. * @desc : 根据id查询
  17. * @date : 2024/7/24 10:14
  18. * @author : 寇珊珊
  19. */
  20. IntegralResponse selectById(@Param("id") Integer id);
  21. /**
  22. * @desc : 条件查询
  23. * @date : 2024/7/24 9:36
  24. * @author : 寇珊珊
  25. */
  26. List<IntegralResponse> selectByCond(IntegralQuery integralQuery);
  27. /**
  28. * @desc : 条件查询个数
  29. * @date : 2024/7/24 9:35
  30. * @author : 寇珊珊
  31. */
  32. Long countByCond(IntegralQuery integralQuery);
  33. int updateById(Integral t);
  34. }