管理端 回显店铺信息
This commit is contained in:
@@ -15,9 +15,21 @@ import com.czg.market.entity.MkPointsGoodsRecord;
|
||||
*/
|
||||
public interface MkPointsGoodsRecordService extends IService<MkPointsGoodsRecord> {
|
||||
|
||||
Page<MkPointsGoodsRecordDTO> getGoodsRecordPage(MkPointsGoodsRecordQueryDTO param);
|
||||
|
||||
/**
|
||||
* 积分兑换记录统计
|
||||
*/
|
||||
PointsExchangeSummaryVo total(MkPointsGoodsRecordQueryDTO param);
|
||||
|
||||
boolean checkout(String couponCode,Long shopId);
|
||||
/**
|
||||
* 积分兑换记录列表 管理端
|
||||
*/
|
||||
Page<MkPointsGoodsRecordDTO> getGoodsRecordPage(MkPointsGoodsRecordQueryDTO param);
|
||||
|
||||
/**
|
||||
* 积分兑换记录列表 用户端
|
||||
*/
|
||||
Page<MkPointsGoodsRecord> userGoodsRecordPage(Integer page, Integer size, Long shopId, String status, Long userId);
|
||||
|
||||
boolean checkout(String couponCode, Long shopId);
|
||||
}
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
package com.czg.market.service;
|
||||
|
||||
import com.czg.BaseQueryParam;
|
||||
import com.czg.market.entity.MkPointsGoodsRecord;
|
||||
import com.czg.order.dto.PointGoodsRefundDTO;
|
||||
import com.czg.market.entity.MkPointsGoods;
|
||||
import com.mybatisflex.core.paginate.Page;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
import com.czg.market.entity.MkPointsGoods;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@@ -20,14 +18,6 @@ public interface MkPointsGoodsService extends IService<MkPointsGoods> {
|
||||
Page<MkPointsGoods> getPointsGoodsPage(BaseQueryParam param, Long shopId);
|
||||
|
||||
Map<String, Object> getPointsGoodsPageByUser(Integer page, Integer size, Long shopId, String goodsCategory, Long userId);
|
||||
|
||||
Page<MkPointsGoodsRecord> getGoodsRecordPage(Integer page, Integer size, Long shopId, String status, Long userId);
|
||||
|
||||
//用户申请退款
|
||||
boolean applyRefund(PointGoodsRefundDTO param, Long userId);
|
||||
|
||||
boolean cancelRefund(PointGoodsRefundDTO param, Long userId, Long shopId);
|
||||
|
||||
/**
|
||||
* 更新商品数量
|
||||
*
|
||||
|
||||
@@ -16,8 +16,14 @@ public interface PointsGoodPayService {
|
||||
//积分商品兑换
|
||||
CzgResult<Map<String, Object>> exchange(String ip, PointGoodsExchangeDTO param);
|
||||
|
||||
//用户申请退款
|
||||
boolean applyRefund(PointGoodsRefundDTO param, Long userId);
|
||||
|
||||
//取消退款
|
||||
boolean cancelRefund(PointGoodsRefundDTO param, Long userId, Long shopId);
|
||||
|
||||
//同意退款
|
||||
boolean applyRefund(PointGoodsRefundDTO param, Long shopId);
|
||||
boolean agreeRefund(PointGoodsRefundDTO param, Long shopId);
|
||||
|
||||
//支付回调 进行兑换内容发放
|
||||
void payCallBack(Long recordId, Long payOrderId);
|
||||
|
||||
Reference in New Issue
Block a user