图款订单
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
package com.peanut.modules.common.dao;
|
||||||
|
|
||||||
|
import com.github.yulichang.base.MPJBaseMapper;
|
||||||
|
import com.peanut.modules.common.entity.BuyOrderRefund;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface BuyOrderRefundDao extends MPJBaseMapper<BuyOrderRefund> {
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
package com.peanut.modules.common.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
//退款订单
|
||||||
|
@Data
|
||||||
|
@TableName("buy_order_refund")
|
||||||
|
public class BuyOrderRefund implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Integer id;
|
||||||
|
private Integer userId;
|
||||||
|
//订单类型 线上 线下
|
||||||
|
private String type;
|
||||||
|
private Integer orderId;
|
||||||
|
private String orderSn;
|
||||||
|
private String payType;
|
||||||
|
private BigDecimal fee;
|
||||||
|
//商品名称
|
||||||
|
private String title;
|
||||||
|
private String remark;
|
||||||
|
private Date createTime;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
package com.peanut.modules.common.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.peanut.modules.common.entity.BuyOrderRefund;
|
||||||
|
|
||||||
|
public interface BuyOrderRefundService extends IService<BuyOrderRefund> {
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
package com.peanut.modules.common.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.peanut.modules.common.dao.BuyOrderRefundDao;
|
||||||
|
import com.peanut.modules.common.entity.BuyOrderRefund;
|
||||||
|
import com.peanut.modules.common.service.BuyOrderRefundService;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Slf4j
|
||||||
|
@Service("commonBuyOrderRefundService")
|
||||||
|
public class BuyOrderRefundServiceImpl extends ServiceImpl<BuyOrderRefundDao, BuyOrderRefund> implements BuyOrderRefundService {
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user