fix:倒冲领料定时任务优化

This commit is contained in:
zhaoyf
2026-09-22 10:58:12 +08:00
parent 9f0f63cac6
commit f6453b64d9

View File

@@ -39,6 +39,7 @@ public class ReceiveReturnAutoTask {
.or()
.eq(ReceiveOutReturn::getStatus, StockReturnStatusEnum.FAIL.getCode()))
.ge(ReceiveOutReturn::getBiztime, startOfMonth)
.orderByAsc(ReceiveOutReturn::getStatus)
.orderByAsc(ReceiveOutReturn::getUpdateTime)
.last("limit 10"));
log.info("========>倒冲领料定时回传列表:{}", list.stream().map(ReceiveOutReturn::getBillno).collect(Collectors.joining(",")));