package cn.wisenergy.mapper; import cn.wisenergy.model.app.AccountInfo; import cn.wisenergy.model.app.LastMonthAccount; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; public interface LastAccountMapper extends BaseMapper<LastMonthAccount> { /** * 通过userId 和 yearMonth获取账户信息 * * @param userId 用户id * @param yearMonth 年月 * @return 账户信息 */ LastMonthAccount getByUserIdAndTime(@Param("userId") String userId, @Param("yearMonth") String yearMonth); }