幸运24-后台-关注用户个人数据
This commit is contained in:
@@ -37,11 +37,11 @@ public interface Lucky24RecordMapper extends BaseMapper<Lucky24Record> {
|
||||
List<Lucky24PersonalStat> listPersonal(@Param("zoneDate")String zoneDate, @Param("partitionId") Integer partitionId,
|
||||
@Param("poolTypeList")List<Integer> poolTypeList,
|
||||
@Param("startTime") Date startTime, @Param("endTime") Date endTime,
|
||||
@Param("uid") Long uid, @Param("userRechargeLevel") String userRechargeLevel);
|
||||
@Param("uidList") List<Long> uidList, @Param("userRechargeLevel") String userRechargeLevel);
|
||||
|
||||
List<Lucky24PersonalStat> listPersonalByPoolType(@Param("zoneDate")String zoneDate, @Param("partitionId") Integer partitionId,
|
||||
@Param("poolTypeList")List<Integer> poolTypeList,
|
||||
@Param("startTime") Date startTime, @Param("endTime") Date endTime,
|
||||
@Param("uid") Long uid, @Param("userRechargeLevel") String userRechargeLevel);
|
||||
@Param("uidList") List<Long> uidList, @Param("userRechargeLevel") String userRechargeLevel);
|
||||
|
||||
}
|
||||
|
@@ -247,8 +247,8 @@
|
||||
where r.partition_id = #{partitionId}
|
||||
and r.pool_type in <foreach collection="poolTypeList" item="poolType" separator="," open="(" close=")">#{poolType}</foreach>
|
||||
and r.create_time between #{startTime} and #{endTime}
|
||||
<if test="null != uid">
|
||||
and r.uid = #{uid}
|
||||
<if test="null != uidList and uidList.size() > 0">
|
||||
and r.uid in <foreach collection="uidList" item="uid" separator="," open="(" close=")">#{uid}</foreach>
|
||||
</if>
|
||||
group by r.uid
|
||||
</select>
|
||||
@@ -274,8 +274,8 @@
|
||||
where r.partition_id = #{partitionId}
|
||||
and r.pool_type in <foreach collection="poolTypeList" item="poolType" separator="," open="(" close=")">#{poolType}</foreach>
|
||||
and r.create_time between #{startTime} and #{endTime}
|
||||
<if test="null != uid">
|
||||
and r.uid = #{uid}
|
||||
<if test="null != uidList and uidList.size() > 0">
|
||||
and r.uid in <foreach collection="uidList" item="uid" separator="," open="(" close=")">#{uid}</foreach>
|
||||
</if>
|
||||
group by r.pool_type, r.uid
|
||||
</select>
|
||||
|
Reference in New Issue
Block a user