额外 支付
This commit is contained in:
@@ -79,6 +79,8 @@ public class CheckOrderPay implements Serializable {
|
||||
*/
|
||||
private Integer pointsNum;
|
||||
|
||||
private String remark;
|
||||
|
||||
|
||||
public Integer getSeatNum() {
|
||||
return seatNum == null ? 0 : seatNum;
|
||||
|
||||
@@ -25,7 +25,9 @@ import java.time.LocalDateTime;
|
||||
public interface OrderInfoService extends IService<OrderInfo> {
|
||||
|
||||
Page<OrderInfoVo> getOrderByPage(OrderInfoQueryDTO param);
|
||||
HistoryOrderVo historyOrder(Long orderId,String tableCode);
|
||||
|
||||
HistoryOrderVo historyOrder(Long orderId, String tableCode);
|
||||
|
||||
OrderInfo createOrder(OrderInfoAddDTO param);
|
||||
|
||||
OrderInfo checkOrderPay(CheckOrderPay param);
|
||||
@@ -37,4 +39,9 @@ public interface OrderInfoService extends IService<OrderInfo> {
|
||||
void upOrderInfo(OrderInfo orderInfo, BigDecimal payAmount, LocalDateTime payTime, Long payOrderId, PayEnums payType);
|
||||
|
||||
void expired(Long orderId);
|
||||
|
||||
OrderInfo createPayOrder(Long shopId, BigDecimal amount, String remark);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import lombok.Getter;
|
||||
@Getter
|
||||
public enum SysParamCodeEnum {
|
||||
|
||||
SHOP_ORDER_PAY_BASE_URL("shop_order_pay_base_url", "店铺订单支付BaseUrl"),
|
||||
PAY_CZG_DOMAIN("pay_czg_domain", "超掌柜支付域名"),
|
||||
PAY_CZG_NOTIFY_URL("pay_czg_notify_url", "超掌柜支付回调地址"),
|
||||
PAY_CZG_REFUND_NOTIFY_URL("pay_czg_refund_notify_url", "超掌柜退款回调地址"),
|
||||
|
||||
@@ -41,14 +41,21 @@ public interface SysParamsService extends IService<SysParams> {
|
||||
|
||||
/**
|
||||
* 根据参数编码获取参数
|
||||
* {@link com.czg.system.enums.SysParamCodeEnum}
|
||||
*
|
||||
* @param code 参数编码
|
||||
* @return 参数
|
||||
*/
|
||||
CzgResult<SysParamsDTO> getParamsByCode(String code);
|
||||
|
||||
/**
|
||||
* {@link com.czg.system.enums.SysParamCodeEnum}
|
||||
*/
|
||||
SysParams getSysParam(String code);
|
||||
|
||||
/**
|
||||
* {@link com.czg.system.enums.SysParamCodeEnum}
|
||||
*/
|
||||
String getSysParamValue(String code);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user