提交 6a0e037d authored 作者: aiqingguo's avatar aiqingguo

增加日志

上级 80f6cddf
...@@ -41,8 +41,4 @@ public class IntegralOrderGoodsAddListener { ...@@ -41,8 +41,4 @@ public class IntegralOrderGoodsAddListener {
} }
public static void main(String[] args) {
String a = "{\"data\":{\"data\":{\"orderType\":1,\"receiveAddressId\":2,\"receiveAddress\":\"收货地址\",\"orderGoodsNo\":\"PT2023092100031\",\"sendAddressId\":1,\"sendAddress\":\"发货地址\"},\"createTime\":\"2023-10-13 15:27:05\"},\"exchange\":\"clx-performance.integral.default.exchange\",\"routerKey\":\"clx-performance.integral.orderGoods.add.routing.key\"}";
}
} }
...@@ -116,6 +116,7 @@ public class OrderChildServiceImpl implements OrderChildService { ...@@ -116,6 +116,7 @@ public class OrderChildServiceImpl implements OrderChildService {
try { try {
flag = lock.tryLock(1, 3, TimeUnit.SECONDS); flag = lock.tryLock(1, 3, TimeUnit.SECONDS);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
throw new ServiceSystemException(PerformanceResultEnum.ORDER_CHILD_SAVE_FAIL, e.getMessage()); throw new ServiceSystemException(PerformanceResultEnum.ORDER_CHILD_SAVE_FAIL, e.getMessage());
} }
if (!flag) { if (!flag) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论