package com.ischoolbar.programmer.dao.common; import java.util.List; import java.util.Map; import org.springframework.stereotype.Repository; import com.ischoolbar.programmer.entity.common.Order; import com.ischoolbar.programmer.entity.common.OrderItem; @Repository public interface OrderDao { public int add(Order order); public int addItem(OrderItem orderItem); public int edit(Order order); public int delete(Long id); public List findList(Map queryMap); public Integer getTotal(Map queryMap); public Order findById(Long id); public List findOrderItemList(Long orderId); public List> getStats(Map queryMap); }