幸运24-后台-关注用户个人数据
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
@@ -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}
|
||||
|
Reference in New Issue
Block a user