hjl
2024-07-01 03c6572c7918beaa20365e69c9694a11f0d9948a
ruoyi-service/ruoyi-admin/src/main/java/com/ruoyi/admin/mapper/WithdrawMapper.java
@@ -23,26 +23,26 @@
    /**
     * 获取用户提现金额
     *
     * @param cityIdList 城市id
     * @param cityList 城市集合
     * @return 总金额
     */
    BigDecimal withdrawalTotalMoney(@Param("ids") List<String> cityIdList);
    BigDecimal withdrawalTotalMoney(@Param("cityList") List<String> cityList);
    /**
     * 年度查询
     *
     * @param cityIdList 城市id
     * @param cityList 城市列表
     * @return 年度提现总额
     */
    BigDecimal withdrawalTotalMoneyByYear(@Param("ids") List<String> cityIdList);
    BigDecimal withdrawalTotalMoneyByYear(@Param("cityList") List<String> cityList);
    /**
     * 月度查询
     *
     * @param cityIdList 城市id
     * @param cityList 城市列表
     * @return 年度提现总额
     */
    BigDecimal withdrawalTotalMoneyByMonth(@Param("ids") List<String> cityIdList);
    BigDecimal withdrawalTotalMoneyByMonth(@Param("cityList") List<String> cityList);
    /**
     * 用户所关联提现记录分页列表
@@ -52,4 +52,39 @@
     * @return 分页列表
     */
    IPage<UserWithdrawRecordVO> withdrawList(@Param("userId") Integer userId, Page<UserWithdrawRecordVO> page);
    /**
     * 用户所关联提现记录分页列表
     *
     * @param nickname     用户名称
     * @param userPhone    用户手机号
     * @param applyForTime 申请时间
     * @param state        审核状态
     * @param page         分页
     * @return 分页列表
     */
    IPage<UserWithdrawRecordVO> withdrawPage(@Param("name") String nickname, @Param("phone") String userPhone,
                                             @Param("time") String applyForTime,
                                             @Param("state") Integer state, Page<UserWithdrawRecordVO> page);
    /**
     * 提现记录列表
     *
     * @param nickname     用户名称
     * @param userPhone    用户手机号
     * @param applyForTime 申请时间
     * @param state        审核状态
     * @return 分页列表
     */
    List<UserWithdrawRecordVO> exportList(@Param("name") String nickname, @Param("phone") String userPhone,
                                          @Param("time") String applyForTime,
                                          @Param("state") Integer state);
    /**
     * 根据所选id导出
     *
     * @param ids 提现记录ids
     * @return 列表
     */
    List<UserWithdrawRecordVO> exportByIdList(List<String> ids);
}