From 70710fc4405ad6501f9d3d3c7b14510a2ca3cd7b Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期三, 14 六月 2023 13:49:53 +0800
Subject: [PATCH] 找库位返回dto

---
 src/main/java/com/zy/asrs/task/OrderSyncScheduler.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java b/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java
index 19876f6..1619b74 100644
--- a/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java
+++ b/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java
@@ -1,6 +1,5 @@
 package com.zy.asrs.task;
 
-import com.baomidou.mybatisplus.mapper.EntityWrapper;
 import com.core.common.Cools;
 import com.zy.asrs.entity.Order;
 import com.zy.asrs.service.ApiLogService;
@@ -44,7 +43,7 @@
     public void completeAndReport(){
         String erpReport = Parameter.get().getErpReport();
         if (!Cools.isEmpty(erpReport) && erpReport.equals("true")) {
-            List<Order> orders = orderService.selectList(new EntityWrapper<Order>().eq("settle", 4L).eq("status", 1));
+            List<Order> orders = orderService.selectComplete();
             for (Order order : orders) {
                 ReturnT<String> result = orderSyncHandler.start(order);
                 if (!result.isSuccess()) {

--
Gitblit v1.9.1