This commit is contained in:
2025-12-17 10:11:09 +08:00
parent 01ca38079b
commit bf2eb85233
7 changed files with 93 additions and 27 deletions

View File

@@ -13,15 +13,16 @@ import com.mybatisflex.core.service.IService;
* @since 2025-12-15
*/
public interface GbWareService extends IService<GbWare> {
//操作店铺功能开关
boolean upShopConfig(Integer status, Long shopId);
//拼团 活动 注意分店 主店的 问题
Page<GbWare> getGbWarePage(GbWareQueryParamDTO param, Long shopId);
//添加
boolean addGbWare(GbWareDTO param);
//修改 上架状态可修改
boolean editGbWareOnlineStatus(Long id, Integer onlineStatus);
//修改 下架状态可修改
boolean updateGbWareById(GbWareDTO param);

View File

@@ -38,13 +38,24 @@ public interface GbOrderService extends IService<GbOrder> {
//支付回调 处理成团人数, 如果没团则创团
void payCallBack(Long recordId, Long payOrderId);
//用户申请退款
boolean applyRefund(CommonRefundDTO param, Long userId);
//取消退款
boolean cancelRefund(CommonRefundDTO param, Long userId, Long shopId);
//退款 同意退款/任务过期 自动退款
//退款 同意退款
boolean agreeRefund(CommonRefundDTO param, Long shopId);
//商品下架 同步操作退款
boolean editGbWareOnlineStatus(Long id, Integer onlineStatus);
//任务过期 自动退款 成团期限超时
boolean expireRefund(Long gbOrderId);
//商品下架 退款 所属活动变更为下架状态
boolean wareDownRefund(Long wareId);
//店铺商品拼团功能关闭 退款
boolean shopDownRefund(Long shopId);
}