This commit is contained in:
psh
2023-12-17 13:10:54 +08:00
parent bfb9838df1
commit b31a892cf0

View File

@@ -102,6 +102,8 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
public JSONObject apply(JSONObject param) {
String url = "";
try {
//申请任务延迟5秒防止出现库位变动还没同步到LMS导致下发组盘号不一致的情况
Thread.sleep(5000L);
String wmsUrl = paramService.findByCode(AcsConfig.WMSURL).getValue();
AddressDto addressDto = addressService.findByCode("apply");
String methods_url = addressDto.getMethods_url();