package com.softwarebr.nunu.dao.user;

import com.brframework.commondb.core.CommonRepository;
import com.softwarebr.nunu.entity.user.Order;
import org.springframework.stereotype.Repository;

/**
 * @date 2020-02-27 12:00:43
 * @author lilin
 */

@Repository
public interface OrderDao extends CommonRepository<Long, Order> {


    /**
     * 订单号查询订单
     * @param orderNo 订单
     * @return
     */
    Order findByOrderNo(String orderNo);

}