| | |
| | | Order order = new Order(); |
| | | JSONObject json = JSONObject.parseObject(messageStr); |
| | | String orderno = json.getString("orderno"); |
| | | String orderType = json.getString("orderType"); |
| | | if (!"2".equals(orderType)){ |
| | | return; |
| | | } |
| | | //判断这个订单是否已经存在 |
| | | Order checkOrder = SqlliteDbManage.getInstance().selectOrtder(orderno); |
| | | if (checkOrder == null){ |
| | | String seqnum = json.getString("seqnum"); |
| | | String orderType = json.getString("orderType"); |
| | | String bookingType = json.getString("bookingType"); |
| | | String orderId = json.getString("orderId"); |
| | | if (json.getString("startTime")!=null) { |