/*
|
* Copyright (c) 2018-2025, ztt All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the pig4cloud.com developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: ztt
|
*/
|
|
package com.chinaztt.mes.warehouse.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.chinaztt.mes.basic.entity.Warehouse;
|
import com.chinaztt.mes.warehouse.entity.InventoryDetail;
|
import com.chinaztt.mes.warehouse.entity.InventoryMain;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
/**
|
* 新盘点明细表
|
*
|
* @author yangyao
|
* @date 2022-10-13 11:06:00
|
*/
|
@Mapper
|
public interface InventoryDetailMapper extends BaseMapper<InventoryDetail> {
|
|
/**
|
* 取消未盘点的明细行
|
*
|
* @param ids
|
* @return
|
*/
|
void cancelNoIny(@Param("ids") List<Long> ids);
|
/**
|
* 根据库位号获取仓库名称
|
*
|
* @param locNo
|
* @return
|
*/
|
Warehouse getWarehouseName(@Param("locNo")String locNo);
|
/**
|
* 根据SN号从产出表和分割表拿创建时间
|
*
|
* @param sn
|
* @return
|
*/
|
List<LocalDateTime> getOutputCreateTime(@Param("sn")String sn);
|
|
|
|
}
|