| | |
| | | if("1".equals(orderType)){ |
| | | OrderPrivateCar orderPrivateCar = orderPrivateCarService.selectById(orderId); |
| | | orderPrivateCar.setVoice(fileUrl); |
| | | orderPrivateCar.setVoiceTime(new Date()); |
| | | orderPrivateCarService.updateById(orderPrivateCar); |
| | | } |
| | | if("2".equals(orderType)){ |
| | | OrderTaxi orderTaxi = orderTaxiService.selectById(orderId); |
| | | orderTaxi.setVoice(fileUrl); |
| | | orderTaxi.setVoiceTime(new Date()); |
| | | orderTaxiService.updateById(orderTaxi); |
| | | } |
| | | if("3".equals(orderType)){ |
| | | OrderCrossCity orderCrossCity = orderCrossCityService.selectById(orderId); |
| | | orderCrossCity.setVoice(fileUrl); |
| | | orderCrossCity.setVoiceTime(new Date()); |
| | | orderCrossCityService.updateById(orderCrossCity); |
| | | } |
| | | |
| | | // TODO 顺风车 |
| | | |
| | | } |
| | | PrintWriter out = null; |
| | | try { |