| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package com.dk.oauth.mapper.integral;
- import com.dk.oauth.entity.Trade;
- import com.dk.oauth.model.pojo.integral.Integral;
- import com.dk.common.mapper.BaseMapper;
- import com.dk.oauth.model.query.integral.IntegralQuery;
- import com.dk.oauth.model.response.integral.IntegralResponse;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- /**
- * 积分 Mapper
- */
- @Repository
- public interface IntegralMapper extends BaseMapper<Integral>{
- /**
- * @desc : 根据id查询
- * @date : 2024/7/24 10:14
- * @author : 寇珊珊
- */
- IntegralResponse selectById(@Param("id") Integer id);
- /**
- * @desc : 条件查询
- * @date : 2024/7/24 9:36
- * @author : 寇珊珊
- */
- List<IntegralResponse> selectByCond(IntegralQuery integralQuery);
- /**
- * @desc : 条件查询个数
- * @date : 2024/7/24 9:35
- * @author : 寇珊珊
- */
- Long countByCond(IntegralQuery integralQuery);
- int updateById(Integral t);
- }
|