|
@@ -595,7 +595,7 @@ class Application extends Base
|
|
|
$water_type = self::WATER_TYPE['ADD'];
|
|
|
$water_why = self::WATER_WHY['REFUNDINCOME'];
|
|
|
try{
|
|
|
- DB::table('remote_order')->where('order_id', $order_id)->update(["status" => self::ORDER_STATUS["CANCEL"]]);
|
|
|
+ DB::table('remote_order')->where('id', $order_id)->update(["status" => self::ORDER_STATUS["CANCEL"]]);
|
|
|
$hospital = DB::table('institution')
|
|
|
->where('id', $hospital_id)
|
|
|
->field('current_money')
|
|
@@ -623,7 +623,7 @@ class Application extends Base
|
|
|
}
|
|
|
private function cancelPatientsOrder($order_id) {
|
|
|
try{
|
|
|
- DB::table('remote_order')->where('order_id', $order_id)->update(["status" => self::ORDER_STATUS["CANCEL"]]);
|
|
|
+ DB::table('remote_order')->where('id', $order_id)->update(["status" => self::ORDER_STATUS["CANCEL"]]);
|
|
|
// todo 消息推送
|
|
|
return json_encode(['status'=>'ok','code'=>'0000']);
|
|
|
} catch (\Exception $e) {
|