充值代理-周统计
This commit is contained in:
@@ -29,4 +29,6 @@ public interface RechargeUserMapper extends BaseMapper<RechargeUser> {
|
||||
|
||||
|
||||
Integer countByManageUid(@Param("manageUid") Long manageUid);
|
||||
|
||||
List<RechargeUser> listByPartitionId(@Param("partitionId") Integer partitionId);
|
||||
}
|
||||
|
@@ -59,4 +59,11 @@
|
||||
from recharge_user
|
||||
where manage_uid = #{manageUid}
|
||||
</select>
|
||||
|
||||
<select id="listByPartitionId" resultType="com.accompany.payment.model.RechargeUser">
|
||||
select * from recharge_user ru
|
||||
inner join users u on ru.uid = u.uid
|
||||
where u.partition_id = #{partitionId}
|
||||
</select>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user