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.

39 lines
893 B

2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
2 months ago
1 month ago
2 months ago
1 month ago
4 weeks ago
  1. package com.example.demo.mapper.coin;
  2. import com.example.demo.domain.entity.UserGoldRecord;
  3. import com.example.demo.domain.vo.coin.ConsumeUser;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import java.util.List;
  6. /**
  7. * @program: gold-java
  8. * @ClassName ConsumeMapper
  9. * @description:
  10. * @author: Double
  11. * @create: 202506-23 13:45
  12. * @Version 1.0
  13. **/
  14. @Mapper
  15. public interface ConsumeMapper {
  16. //查找全部订单
  17. List<ConsumeUser> selectAll(ConsumeUser consumeUser);
  18. //查找经过筛选后的订单
  19. List<ConsumeUser> selectBy(ConsumeUser consumeUser);
  20. //添加消费订单
  21. void add(UserGoldRecord userGoldRecord);
  22. //更新退款状态
  23. void updateIsRefund(String orderCode);
  24. //获得订单号
  25. List<ConsumeUser> selectOrderCodeByJwcode(String jwcode,String orderCode);
  26. void updateUserGold(UserGoldRecord userGoldRecord);
  27. }