...
|
...
|
@@ -57,13 +57,7 @@ public class OrderPushConsumer implements YhConsumer { |
|
|
*/
|
|
|
private void saveUnionOrder(String orderData) {
|
|
|
UserOrders userOrders = convertData(orderData);
|
|
|
if(StringUtils.isNotEmpty(userOrders.getOrderCode())){
|
|
|
UserOrders userOrdersDb = userOrdersDAO.selectByOrderCode(Long.valueOf(userOrders.getOrderCode()));
|
|
|
if(null==userOrdersDb){
|
|
|
userOrdersDAO.insertSelective(userOrders);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
userOrdersDAO.insertSelective(userOrders);
|
|
|
// 将从订单那边传过来的union_data 存进db
|
|
|
String unionData = userOrders.getUnionData();
|
|
|
|
...
|
...
|
|