This commit is contained in:
2026-06-04 14:28:38 +08:00

View File

@@ -148,6 +148,9 @@ public class WmsDeliveryWaybillDetailController extends BaseController {
return new TableDataInfo<>();
}
bo.setCoilIds(boundCoilIds.stream().map(String::valueOf).collect(java.util.stream.Collectors.joining(",")));
// startTime/endTime 已用于 waybill delivery_time 筛选,清除避免误作为 coil update_time 条件
bo.setStartTime(null);
bo.setEndTime(null);
bo.setStatusFirst(true);
if (planId == null) {
bo.setOrderByPlanDesc(true);
@@ -177,6 +180,9 @@ public class WmsDeliveryWaybillDetailController extends BaseController {
return R.ok(new HashMap<>());
}
bo.setCoilIds(boundCoilIds.stream().map(String::valueOf).collect(Collectors.joining(",")));
// startTime/endTime 已用于 waybill delivery_time 筛选,清除避免误作为 coil update_time 条件
bo.setStartTime(null);
bo.setEndTime(null);
return R.ok(iWmsMaterialCoilService.getStatistics(bo));
}