peter
2025-09-28 20ab0322832eac0744f6fd63edcd360f8be9a54a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.nq.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nq.pojo.DkModel;
import com.nq.vo.dk.DkModelVo;
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;
 
@Mapper
@Repository
public interface DkMapper  extends BaseMapper<DkModel> {
 
    List<DkModelVo>  queryDk();
 
    int countByUserIdAndRStatus(@Param("userId") String userId, @Param("rStatus") Integer rStatus);
 
    BigDecimal sumSpMoneyByUserIdAndRStatus(@Param("userId") String userId);
}