package com.slcf.service;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.slcf.bean.LocationCondition;
|
import com.slcf.pojo.LocationBean;
|
|
/**
|
* 库位管理接口
|
* @author admin
|
* @date 2018年11月7日
|
*/
|
public interface LocationService {
|
|
//添加信息
|
public int insertLocation(LocationBean location);
|
|
// //统计数量
|
// public int queryLocationCount();
|
|
//查询所有
|
//public List<LocationBean> queryLocationList(int spage,int epage);
|
public Map<String,Object> queryLocationList(LocationCondition locationCon);
|
|
//根据id查询
|
public LocationBean queryLocationById(String id);
|
|
//更新信息
|
public int upLocation(LocationBean location);
|
|
//根据id删除信息
|
public int delLocation(String id);
|
|
/**
|
* 查询所有信息
|
* @return
|
*/
|
public List<LocationBean> getLocationList();
|
|
//重置库位
|
public int resetLocation();
|
|
public List<LocationBean> getRowList();
|
|
public LocationBean getLocNoByRow(int row1, int loc_type);
|
|
public String getLocationListBySts(String loc_sts);
|
|
public String queryLocationBySts(String loc_sts);
|
|
public String queryLocationByBarcode(String barcode);
|
}
|