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