Showing
1 changed file
with
0 additions
and
6 deletions
@@ -57,13 +57,7 @@ public class OrderPushConsumer implements YhConsumer { | @@ -57,13 +57,7 @@ public class OrderPushConsumer implements YhConsumer { | ||
57 | */ | 57 | */ |
58 | private void saveUnionOrder(String orderData) { | 58 | private void saveUnionOrder(String orderData) { |
59 | UserOrders userOrders = convertData(orderData); | 59 | UserOrders userOrders = convertData(orderData); |
60 | - if(StringUtils.isNotEmpty(userOrders.getOrderCode())){ | ||
61 | - UserOrders userOrdersDb = userOrdersDAO.selectByOrderCode(Long.valueOf(userOrders.getOrderCode())); | ||
62 | - if(null==userOrdersDb){ | ||
63 | userOrdersDAO.insertSelective(userOrders); | 60 | userOrdersDAO.insertSelective(userOrders); |
64 | - } | ||
65 | - } | ||
66 | - | ||
67 | // 将从订单那边传过来的union_data 存进db | 61 | // 将从订单那边传过来的union_data 存进db |
68 | String unionData = userOrders.getUnionData(); | 62 | String unionData = userOrders.getUnionData(); |
69 | 63 |
-
Please register or login to post a comment