提交 6dd89361 authored 作者: huyufan's avatar huyufan

增加运单确认收货填充完成时间

上级 99716c98
...@@ -27,7 +27,9 @@ public class ThirdComponent { ...@@ -27,7 +27,9 @@ public class ThirdComponent {
public static String decrypt(String data) { public static String decrypt(String data) {
try { try {
return EncryptUtil.decrypt(data, TRANSPORT_KEY); String decrypt = EncryptUtil.decrypt(data, TRANSPORT_KEY);
log.info("解密:{}", decrypt);
return decrypt;
} catch (GeneralSecurityException e) { } catch (GeneralSecurityException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
......
...@@ -78,6 +78,7 @@ public class SettlementServiceImpl implements SettlementService { ...@@ -78,6 +78,7 @@ public class SettlementServiceImpl implements SettlementService {
HttpDTO httpDTOResult = transportFeignService.orderChildSync(param); HttpDTO httpDTOResult = transportFeignService.orderChildSync(param);
String decrypt = ThirdComponent.decrypt(httpDTOResult.getData()); String decrypt = ThirdComponent.decrypt(httpDTOResult.getData());
OrderChildSyncDTO bean = JSONUtil.toBean(decrypt, OrderChildSyncDTO.class); OrderChildSyncDTO bean = JSONUtil.toBean(decrypt, OrderChildSyncDTO.class);
log.info("OrderChildSyncDTO信息为:{}", JSONUtil.parse(bean));
if (bean.getCode() == 0) { if (bean.getCode() == 0) {
Integer status = bean.getData().getStatus(); Integer status = bean.getData().getStatus();
if (status == 1) { if (status == 1) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论