package io.renren.modules.app.service;

import com.baomidou.mybatisplus.service.IService;
import com.github.pagehelper.PageInfo;
import io.renren.modules.app.entity.GoodsEntity;
import java.util.Map;

/**
 * 商品管理
 *
 * @author ly
 * @email 1271428398@qq.com
 * @date 2019-03-21 13:29:12
 */
public interface GoodsService extends IService<GoodsEntity> {

    /**
     * 分页模糊查询
     * @param pageNum
     * @param pageSize
     * @param goodsEntity
     * @return
     */
    PageInfo<GoodsEntity> queryByPage(Integer pageNum, Integer pageSize, GoodsEntity goodsEntity);


    /**
    * 单个或批量删除
    * @param ids
    */
    void deleteBatch(String[] ids);
}

