优化
This commit is contained in:
@ -41,6 +41,6 @@ public interface CardMapper extends BaseMapperX<CardDO> {
|
||||
.orderByDesc(CardDO::getId));
|
||||
}
|
||||
|
||||
@Select("select IFNULL(sum(money),0) as money,count(*) as count FROM member_card where user_id = #{userId} and flag = #{flag} and create_time BETWEEN #{startTime} and #{endTime}")
|
||||
@Select("select IFNULL(sum(change_money),0) as money,count(*) as count FROM member_card where user_id = #{userId} and flag = #{flag} and create_time BETWEEN #{startTime} and #{endTime}")
|
||||
AppCardMonthVO selectMonth(@Param("userId") Long userId,@Param("flag") String flag, @Param("startTime") LocalDateTime startTime, @Param("endTime")LocalDateTime endTime);
|
||||
}
|
Reference in New Issue
Block a user