UserOrderInfoService.java 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. package com.zsElectric.boot.business.service;
  2. import com.zsElectric.boot.business.model.entity.UserOrderInfo;
  3. import com.zsElectric.boot.business.model.form.UserOrderInfoForm;
  4. import com.zsElectric.boot.business.model.form.applet.AppLevelOrderForm;
  5. import com.zsElectric.boot.business.model.form.applet.AppUserPayForm;
  6. import com.zsElectric.boot.business.model.query.UserOrderInfoQuery;
  7. import com.zsElectric.boot.business.model.query.applet.AppUserOrderInfoQuery;
  8. import com.zsElectric.boot.business.model.vo.UserOrderInfoVO;
  9. import com.baomidou.mybatisplus.core.metadata.IPage;
  10. import com.baomidou.mybatisplus.extension.service.IService;
  11. import com.zsElectric.boot.business.model.vo.applet.AppUserInfoVO;
  12. import jakarta.servlet.http.HttpServletRequest;
  13. import jakarta.servlet.http.HttpServletResponse;
  14. import java.util.Map;
  15. /**
  16. * 用户支付订单信息服务类
  17. *
  18. * @author zsElectric
  19. * @since 2025-12-16 16:25
  20. */
  21. public interface UserOrderInfoService extends IService<UserOrderInfo> {
  22. /**
  23. * 用户支付订单信息分页列表
  24. *
  25. * @return {@link IPage<UserOrderInfoVO>} 用户支付订单信息分页列表
  26. */
  27. IPage<UserOrderInfoVO> getUserOrderInfoPage(UserOrderInfoQuery queryParams);
  28. /**
  29. * 获取用户支付订单信息表单数据
  30. *
  31. * @param id 用户支付订单信息ID
  32. * @return 用户支付订单信息表单数据
  33. */
  34. UserOrderInfoForm getUserOrderInfoFormData(Long id);
  35. /**
  36. * 新增用户支付订单信息
  37. *
  38. * @param formData 用户支付订单信息表单对象
  39. * @return 是否新增成功
  40. */
  41. boolean saveUserOrderInfo(UserOrderInfoForm formData);
  42. /**
  43. * 修改用户支付订单信息
  44. *
  45. * @param id 用户支付订单信息ID
  46. * @param formData 用户支付订单信息表单对象
  47. * @return 是否修改成功
  48. */
  49. boolean updateUserOrderInfo(Long id, UserOrderInfoForm formData);
  50. /**
  51. * 删除用户支付订单信息
  52. *
  53. * @param ids 用户支付订单信息ID,多个以英文逗号(,)分割
  54. * @return 是否删除成功
  55. */
  56. boolean deleteUserOrderInfos(String ids);
  57. AppUserPayForm createOrder(AppLevelOrderForm appLevelOrderForm);
  58. AppUserPayForm payOrder(String orderId);
  59. String orderQuery(String orderNo) throws Exception;
  60. Map<String, String> wechatPayNotify(HttpServletRequest request, HttpServletResponse response);
  61. String cancelOrder(String orderId);
  62. String refundOrder() throws Exception;
  63. Map<String, Object> refundCallback(HttpServletRequest request, HttpServletResponse response);
  64. IPage<UserOrderInfoVO> getTicketRecords(AppUserOrderInfoQuery queryParams);
  65. AppUserInfoVO getAppletUserInfo(Long userId);
  66. }