package com.iamberry.wechat.face.customized;

import com.iamberry.wechat.core.entity.customized.OrderCustomized;
import com.iamberry.wechat.core.entity.page.PageRequest;
import com.iamberry.wechat.core.entity.page.PagedResult;

import java.util.List;

/**
 *  牙刷定制-定制牙刷信息接口
 * @author w
 * @Date 2018-05-25
 */
public interface OrderCustomizedService {
    /**
     * 获取集合
     * @param  orderCustomized
     * @return List
     */
    List<OrderCustomized> getOrderCustomizedList(OrderCustomized  orderCustomized);

    public PagedResult<OrderCustomized> listOrderCustomizedPage(PageRequest<OrderCustomized> pageRequest);

    /**
     * 查询单条数据
     * @param  id
     * @return  orderCustomized
     */
    OrderCustomized  getOrderCustomizedById(Integer  id);
    /**
     * 增加数据
     * @param  orderCustomized
     * @return Integer
     */
    Integer  save(OrderCustomized  orderCustomized);
    /**
     * 修改数据
     * @param  orderCustomized
     * @return Integer
     */
    Integer  update(OrderCustomized  orderCustomized);
}