You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.4 KiB
41 lines
1.4 KiB
package com.example.demo.mapper;
|
|
|
|
import com.example.demo.domain.entity.User;
|
|
import com.example.demo.domain.entity.UserGoldRecord;
|
|
import com.example.demo.domain.vo.RechargeAudit;
|
|
import com.example.demo.domain.vo.RefundAudit;
|
|
import com.github.pagehelper.PageInfo;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @program: gold-java
|
|
* @ClassName AuditMapper
|
|
* @description:
|
|
* @author: Ethan
|
|
* @create: 2025−06-19 17:38
|
|
* @Version 1.0
|
|
**/
|
|
|
|
@Mapper
|
|
public interface AuditMapper {
|
|
//根据订单号查订单
|
|
UserGoldRecord selectOrderByOrderCode(String orderCode);
|
|
//修改订单审核人与审核状态
|
|
int updateOrder (UserGoldRecord userGoldRecord);
|
|
//修改用户余额
|
|
int updateUserGold(User user);
|
|
//修改消费订单为以退款
|
|
int updateOrderRefund(String orderCode ,Byte isRefund);
|
|
//多条件查询充值审核订单
|
|
List<RechargeAudit> selectRechargeBy(@Param("pageNum") Integer pageNum,
|
|
@Param("pageSize") Integer pageSize,
|
|
@Param("rechargeAudit") RechargeAudit rechargeAudit);
|
|
//多条件查询消费审核订单
|
|
List<RefundAudit> selectRefundBy(@Param("pageNum") Integer pageNum,
|
|
@Param("pageSize") Integer pageSize,
|
|
@Param("refundAudit") RefundAudit refundAudit);
|
|
|
|
}
|