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);
|
|
}
|