You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
3.4 KiB
92 lines
3.4 KiB
package com.gaotao.modules.automatedWarehouse.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.gaotao.modules.notify.entity.SOIssueNotifyOrderListData;
|
|
import com.gaotao.modules.notify.entity.SOIssueNotifyOrderMaterialListDetail;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @Description 申请单明细通用查询Mapper - rqrq
|
|
* @Author rqrq
|
|
* @Date 2025/12/02
|
|
*/
|
|
@Mapper
|
|
public interface NotifyDetailQueryMapper {
|
|
|
|
/**
|
|
* @Description 查询申请单订单列表(分页)- rqrq
|
|
* @param page 分页对象
|
|
* @param data 查询条件
|
|
* @return IPage<SOIssueNotifyOrderListData>
|
|
* @author rqrq
|
|
*/
|
|
IPage<SOIssueNotifyOrderListData> searchNotifyOrderList(Page<SOIssueNotifyOrderListData> page, @Param("query") SOIssueNotifyOrderListData data);
|
|
|
|
/**
|
|
* @Description 查询申请单物料明细(根据notify_no+site+item_no)- rqrq
|
|
* @param data 查询条件
|
|
* @return List<SOIssueNotifyOrderMaterialListDetail>
|
|
* @author rqrq
|
|
*/
|
|
List<SOIssueNotifyOrderMaterialListDetail> searchMaterialListDetail(@Param("query") SOIssueNotifyOrderMaterialListDetail data);
|
|
|
|
/**
|
|
* @Description 根据主键查询申请单订单记录 - rqrq
|
|
* @param site 工厂
|
|
* @param notifyNo 领料单号
|
|
* @param itemNo 行号
|
|
* @return SOIssueNotifyOrderList
|
|
* @author rqrq
|
|
*/
|
|
com.gaotao.modules.notify.entity.SOIssueNotifyOrderList getOrderByPrimaryKey(@Param("site") String site, @Param("notifyNo") String notifyNo, @Param("itemNo") java.math.BigDecimal itemNo);
|
|
|
|
/**
|
|
* @Description 查询要解除调用的栈板列表 - rqrq
|
|
* @param site 工厂
|
|
* @param notifyNo 领料单号
|
|
* @param soorderNo 订单号
|
|
* @return List<String> 栈板ID列表
|
|
* @author rqrq
|
|
*/
|
|
java.util.List<String> getPalletsToRelease(@Param("site") String site, @Param("notifyNo") String notifyNo, @Param("soorderNo") String soorderNo);
|
|
|
|
/**
|
|
* @Description 更新申请单的transport_flag为'Y'(用主键定位)- rqrq
|
|
* @param site 工厂
|
|
* @param notifyNo 领料单号
|
|
* @param itemNo 行号
|
|
* @author rqrq
|
|
*/
|
|
void updateTransportFlag(@Param("site") String site, @Param("notifyNo") String notifyNo, @Param("itemNo") java.math.BigDecimal itemNo);
|
|
|
|
/**
|
|
* @Description 解除栈板调用状态(根据remark匹配)- rqrq
|
|
* @param site 工厂
|
|
* @param notifyNo 领料单号
|
|
* @param soorderNo 订单号
|
|
* @author rqrq
|
|
*/
|
|
void releasePalletCallingFlag(@Param("site") String site, @Param("notifyNo") String notifyNo, @Param("soorderNo") String soorderNo);
|
|
|
|
/**
|
|
* @Description 查询要解除预留的标签列表 - rqrq
|
|
* @param notifyNo 领料单号
|
|
* @param itemNo 行号
|
|
* @return List<String> 标签ID列表
|
|
* @author rqrq
|
|
*/
|
|
java.util.List<String> getReservedLabelsToRelease(@Param("notifyNo") String notifyNo, @Param("itemNo") String itemNo);
|
|
|
|
/**
|
|
* @Description 解除标签预留状态(根据notifyNo和itemNo)- rqrq
|
|
* @param notifyNo 领料单号
|
|
* @param itemNo 行号(转成varchar)
|
|
* @author rqrq
|
|
*/
|
|
void releaseHandlingUnitReserve(@Param("notifyNo") String notifyNo, @Param("itemNo") String itemNo);
|
|
}
|
|
|