Helius
2021-05-20 ab4f788aaba47910e3edf0fe1b001e56cdea26db
src/main/java/com/xcong/excoin/modules/otc/dao/OtcOrderDao.java
@@ -1,7 +1,10 @@
package com.xcong.excoin.modules.otc.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xcong.excoin.modules.otc.entity.OtcOrder;
import com.xcong.excoin.modules.otc.vo.OrderListVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -9,4 +12,10 @@
public interface OtcOrderDao extends BaseMapper<OtcOrder> {
    List<OtcOrder> selectOrderListUnFinish(@Param("memberId") Long memberId, @Param("entrustOrderId") Long entrustOrderId);
    IPage<OrderListVo> selectOrdderListInPage(@Param("record") OtcOrder order, Page<OrderListVo> page);
    int updateOrderStatusByOrderNo(@Param("status") Integer status, @Param("payName") String payName, @Param("orderNo") String orderNo);
    OtcOrder selectOrderByOrderNoAndType(String orderNo, String orderType);
}