package com.zy.asrs.service;
|
|
import com.baomidou.mybatisplus.plugins.Page;
|
import com.baomidou.mybatisplus.service.IService;
|
import com.zy.asrs.entity.LocDetl;
|
import com.zy.asrs.entity.LocDetlWarningDTO;
|
|
import java.util.List;
|
|
public interface LocDetlService extends IService<LocDetl> {
|
|
// Page<LocDetl> getStockStatis(Page<LocDetl> page);
|
|
Page<LocDetl> getStockOut(Page<LocDetl> page);
|
|
/**
|
* 修改库存明细数量,如果数量为0,则删除记录
|
*/
|
boolean updateAnfme(Double qty, String locNo, String matNo,String supplier);
|
|
boolean updateLocNo(String newLocNo, String oldLocNo);
|
|
/**
|
* 获取当天相同规格货物的深库位号
|
* @param matNo 产品号
|
* @return locNo 库位号
|
*/
|
List<String> getSameDetlToday(String matNo, Integer start, Integer end);
|
|
/**
|
*
|
* @param matNo 产品号
|
* @return kuwei
|
*/
|
List<LocDetl> getlocDetlList(String matNo);
|
|
/**
|
* 查询库位详情中的产品数量
|
* @return
|
*/
|
Double getLocDetlSumQty(String locNo);
|
|
/**
|
* 查询库位状态并且分页
|
* @param toPage 分页信息
|
* @return
|
*/
|
Page<LocDetl> getStockStatis(Page<LocDetl> toPage);
|
|
|
/**
|
* 导出全部库存统计
|
* @return
|
*/
|
List<LocDetl> getStockStatisExcel(LocDetl locDetl);
|
|
/**
|
* 搜索库存统计
|
* @param locDetl
|
* @return
|
*/
|
// List<LocDetl> getlocDetlByMatNoAndMatName(LocDetl locDetl);
|
|
/**
|
* 库存上报ERP时,根据物料汇总查询库存总量
|
* @return
|
*/
|
public List<LocDetl> getStockSum();
|
|
List<LocDetlWarningDTO> selectAllWarning(LocDetlWarningDTO locDetlWarningDTO);
|
|
int getAllWarningCount(LocDetlWarningDTO locDetlWarningDTO);
|
}
|