feat(wms): 添加按时间范围查询已绑定钢卷ID功能
- 在 IWmsDeliveryWaybillDetailService 接口中新增 getBoundCoilIdsByTimeRange 方法 - 在控制器中添加 startTime 和 endTime 参数支持时间范围查询 - 实现服务层方法根据时间段筛选已绑定的钢卷ID列表 - 使用 LambdaQueryWrapper 构建时间范围查询条件 - 对查询结果进行空值检查和去重处理 - 保持原有无时间范围查询的兼容性逻辑
This commit is contained in:
@@ -7,6 +7,7 @@ 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;
|
||||
|
||||
/**
|
||||
@@ -56,4 +57,9 @@ public interface IWmsDeliveryWaybillDetailService {
|
||||
* 查询所有已绑定的钢卷ID列表
|
||||
*/
|
||||
List<Long> getBoundCoilIds();
|
||||
|
||||
/**
|
||||
* 根据时间段查询已绑定的钢卷ID列表
|
||||
*/
|
||||
List<Long> getBoundCoilIdsByTimeRange(Date startTime, Date endTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user