|
|
|
@ -182,8 +182,12 @@ public class DeliveryNoteServiceImpl extends BaseServiceImpl<DeliveryNoteMapper,
|
|
|
|
|
} |
|
|
|
|
if (linsyProperties.getOldAdvance()) { |
|
|
|
|
String post = HttpUtil.post(linsyProperties.getOldSystemHost() + linsyProperties.getOldSystemCancelAdvanceUrl(), JSONUtil.parseObj(param)); |
|
|
|
|
|
|
|
|
|
// return result;
|
|
|
|
|
if (StrUtil.isNotEmpty(post)) { |
|
|
|
|
JSONObject entries = JSONUtil.parseObj(post); |
|
|
|
|
if (ObjectUtil.equals(entries.getInt("code"), 200)) { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|