Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
mazhiping committed Jul 16, 2018
1 parent d3b4f2e commit 4524a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Transmanage/Dispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public function getInfo($dispatch_id){
}
public function getInfoForApp($dispatch_id)
{
$sql = "SELECT d.mobile as driver_mobile,god.id,god.dispatch_number,god.order_number,god.order_id,god.ctype_name,god.driver_name,god.supercargo_name,god.cars_number,god.end_time,god.start_time,god.weights,go.cargo_id,god.cars_id,god.driver_id,god.supercargo_id,god.ctype_id,god.status,god.start_weights,god.end_weights,god.end_time
$sql = "SELECT d.mobile as driver_mobile,god.id,god.dispatch_number,god.order_number,god.order_id,god.ctype_name,god.driver_name,god.supercargo_name,god.cars_number,god.end_time,god.start_time,god.weights,go.cargo_id,god.cars_id,god.driver_id,god.supercargo_id,god.ctype_id,god.status,god.start_weights,god.end_weights,god.end_time,god.status
FROM gl_order_dispatch god
LEFT JOIN gl_driver d on d.id=god.driver_id
LEFT JOIN gl_order go ON go.id=god.order_id WHERE god.id=".intval($dispatch_id);
Expand Down

0 comments on commit 4524a29

Please sign in to comment.