package com.stylefeng.guns.modular.system.dao;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import com.stylefeng.guns.modular.system.model.OrderCancel;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Map;
|
|
public interface OrderCancelMapper extends BaseMapper<OrderCancel> {
|
|
|
/**
|
* 获取数据
|
* @param orderId
|
* @param orderType
|
* @param money
|
* @param payType
|
* @param state
|
* @return
|
*/
|
OrderCancel query(@Param("orderId") Integer orderId, @Param("orderType") Integer orderType,
|
@Param("money") Double money, @Param("payType") Integer payType,
|
@Param("state") Integer state);
|
|
|
/**
|
* 获取用户取消记录
|
* @param uid
|
* @param isPay 1=不需要支付,2=需要支付
|
* @return
|
*/
|
List<Map<String, Object>> queryCancel(@Param("uid") Integer uid, @Param("isPay") Integer isPay);
|
}
|