Files
klp-oa/klp-wms/src/main/java/com/klp/service/IWmsDeliveryWaybillDetailService.java
Joshi 6f488c74fc feat(wms/delivery): 新增根据发货计划ID查询已绑定钢卷功能,优化钢卷查询备注匹配
1. 在发货计划明细服务层新增getBoundCoilIdsByPlanId接口,支持根据计划ID和时间段筛选已绑定的钢卷ID列表
2. 在发货计划明细控制器中扩展已绑定钢卷查询接口,新增planId参数,优先按计划ID查询,兼容原有时间段查询逻辑
3. 在钢卷服务实现中为钢卷查询条件增加remark字段的模糊匹配支持,提升查询灵活性
2026-05-29 14:01:44 +08:00

82 lines
2.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.service;
import com.klp.domain.WmsDeliveryWaybillDetail;
import com.klp.domain.vo.WmsDeliveryWaybillDetailVo;
import com.klp.domain.vo.WmsDeliveryCoilRelationVo;
import com.klp.domain.bo.WmsDeliveryWaybillDetailBo;
import com.klp.common.core.page.TableDataInfo;
import com.klp.common.core.domain.PageQuery;
import java.util.Collection;
import java.util.Date;
import java.util.List;
/**
* 发货单明细Service接口
*
* @author klp
* @date 2025-11-25
*/
public interface IWmsDeliveryWaybillDetailService {
/**
* 查询发货单明细
*/
WmsDeliveryWaybillDetailVo queryById(Long detailId);
/**
* 根据钢卷ID查询发货关联信息发货单明细+发货单+发货计划+钢卷信息)
*/
WmsDeliveryCoilRelationVo queryRelationByCoilId(Long coilId);
/**
* 查询发货单明细列表
*/
TableDataInfo<WmsDeliveryWaybillDetailVo> queryPageList(WmsDeliveryWaybillDetailBo bo, PageQuery pageQuery);
/**
* 查询发货单明细列表
*/
List<WmsDeliveryWaybillDetailVo> queryList(WmsDeliveryWaybillDetailBo bo);
/**
* 新增发货单明细
*/
Boolean insertByBo(WmsDeliveryWaybillDetailBo bo);
/**
* 批量新增发货单明细
*/
Boolean insertBatchByBo(List<WmsDeliveryWaybillDetailBo> boList);
/**
* 修改发货单明细
*/
Boolean updateByBo(WmsDeliveryWaybillDetailBo bo);
/**
* 校验并批量删除发货单明细信息
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
/**
* 查询所有已绑定的钢卷ID列表
*/
List<Long> getBoundCoilIds();
/**
* 根据时间段查询已绑定的钢卷ID列表
*/
List<Long> getBoundCoilIdsByTimeRange(Date startTime, Date endTime);
/**
* 根据负责人(principal)查询已绑定的钢卷ID列表
*/
List<Long> getBoundCoilIdsByPrincipal(String principal);
/**
* 根据发货计划ID查询已绑定的钢卷ID列表可结合时间段筛选
*/
List<Long> getBoundCoilIdsByPlanId(Long planId, Date startTime, Date endTime);
}