Files
klp-oa/klp-wms/src/main/java/com/klp/service/IWmsDeliveryWaybillDetailService.java
Joshi b840574286 feat(wms): 添加根据钢卷ID查询发货关联信息功能
- 在 IWmsDeliveryWaybillDetailService 中新增 queryRelationByCoilId 方法
- 在 WmsDeliveryWaybillDetailController 中新增 /coilRelation/{coilId} 接口
- 在 WmsDeliveryWaybillDetailServiceImpl 中实现完整的关联查询逻辑
- 创建 WmsDeliveryCoilRelationVo 数据传输对象
- 支持查询发货单明细、发货单、发货计划和钢卷的完整关联信息
2026-04-23 09:54:22 +08:00

72 lines
1.8 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);
}