yujian
2020-06-01 d48079c9eeec9c4f19f550a44d461275b4a31fd4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.yeshi.fanli.dao.mybatis.user.cloud;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.bus.user.cloud.UserCloud;
 
public interface UserCloudMapper extends BaseMapper<UserCloud> {
    
    /**
     * 查询有效信息
     * @return
     */
    UserCloud getValidByUid(@Param("uid") Long uid);
    
    /**
     * 查询有效信息
     * @return
     */
    UserCloud getLastByUid(@Param("uid") Long uid);
    
    
    /**
     * 统计所有记录
     * @param uid
     * @return
     */
    Long countByUid(@Param("uid") Long uid);
    
    
    /**
     * 查询有效信息
     * @return
     */
    UserCloud getByOrderId(@Param("orderId") Long orderId);
    
}