充值代理-周统计

This commit is contained in:
khalil
2025-07-18 16:48:09 +08:00
parent 04a8d4357a
commit 1ab8bd8be9
12 changed files with 265 additions and 0 deletions

View File

@@ -29,4 +29,6 @@ public interface RechargeUserMapper extends BaseMapper<RechargeUser> {
Integer countByManageUid(@Param("manageUid") Long manageUid);
List<RechargeUser> listByPartitionId(@Param("partitionId") Integer partitionId);
}

View File

@@ -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>