|
@@ -962,6 +962,14 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
@PostMapping("/updateDriverTel")
|
|
|
@ApiOperation(value = "修改司机电话号码")
|
|
|
public RESTfulResult updateDriverTel(@RequestBody Map<String,Object> map){
|
|
|
+ try {
|
|
|
+ int orderId = (int) map.get("orderId");
|
|
|
+ String driverTel = (String) map.get("driverTel");
|
|
|
+ //根据运输id去查找出运力ID更新司机电话
|
|
|
+ universalMapper.updateCapacityDriverTel(orderId,driverTel);
|
|
|
+ }catch (Exception e){
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
return success(universalMapper.updateDriverTel(map));
|
|
|
}
|
|
|
|