You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
742 B

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<Order> findList(Map<String, Object> queryMap);
public Integer getTotal(Map<String, Object> queryMap);
public Order findById(Long id);
public List<OrderItem> findOrderItemList(Long orderId);
public List<Map<String,String>> getStats(Map<String, Object> queryMap);
}