Browse Source

u8拉取bug

huxy 2 years ago
parent
commit
ec033e0a24

+ 3 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/service/impl/SyPackingListFabricServiceImpl.java

@@ -1262,6 +1262,9 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 				maps.get(account).add(id);
 			}
 		}
+		if(arrs.length<1){
+			return "没有新的数据";
+		}
 		UpdateWrapper updateWrapper=new UpdateWrapper();
 		updateWrapper.set("is_pull","1");//拉取中
 		updateWrapper.in("sy_order_data_id",Arrays.asList(arrs));