package com.matrix.system.hive.dao;
|
|
import com.matrix.core.pojo.PaginationVO;
|
import com.matrix.system.hive.bean.Warehouse;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
|
/**
|
*
|
* @date 2016-08-12 09:50
|
*/
|
|
|
public interface WarehouseDao {
|
|
public int insert(Warehouse warehouse);
|
|
public int update(Warehouse warehouse);
|
|
public int deleteByIds(@Param("list") List<Long> list);
|
|
public int deleteById(Long id);
|
|
public List<Warehouse> selectInPage(@Param("record") Warehouse warehouse, @Param("pageVo") PaginationVO pageVo);
|
|
public int selectTotalRecord(@Param("record") Warehouse warehouse);
|
|
public Warehouse selectById(Long id);
|
|
public List<Warehouse> findZongbuAll(Long companyId);
|
|
public List<Warehouse> findShopWarehouse(@Param("shopId") Long shopId);
|
|
|
}
|