幸运24-后台-关注用户个人数据

This commit is contained in:
2025-09-27 20:59:03 +08:00
parent 481b034b3b
commit dc1f9ade6d
7 changed files with 151 additions and 49 deletions

View File

@@ -16,7 +16,7 @@ public interface Lucky24StatMapper {
@Param("startDate") String startDate, @Param("endDate") String endDate);
List<Lucky24PersonalStat> listPersonalStat(@Param("partitionId") Integer partitionId,
@Param("uid") Long uid, @Param("userRechargeLevel") String userRechargeLevel, @Param("poolType") Integer poolType,
@Param("uidList") List<Long> uidList, @Param("userRechargeLevel") String userRechargeLevel, @Param("poolType") Integer poolType,
@Param("startDate") String startDate, @Param("endDate") String endDate);
}

View File

@@ -36,8 +36,8 @@
inner join user_recharge_level url on s.uid = url.uid
where s.date between #{startDate} and #{endDate}
and s.partition_id = #{partitionId}
<if test="null != uid">
and s.uid = #{uid}
<if test="null != uidList and uidList.size() > 0">
and s.uid in <foreach collection="uidList" item="uid" separator="," open="(" close=")">#{uid}</foreach>
</if>
<if test="null != poolType">
and s.pool_type = #{poolType}