...
|
...
|
@@ -140,7 +140,7 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
$data['time']=ceil((time()-$order['start_time'])/3600);
|
|
|
Db::startTrans();
|
|
|
try{
|
|
|
Db::name('equipment')->where('id',$id)->update(['use'=>0]);
|
|
|
\db('equipment')->where('id',$id)->update(['use'=>0]);
|
|
|
// echo \db('equipment')->getLastSql();
|
|
|
\db('order')->where($map)->update($data);
|
|
|
$user_updata['is_use']=0;
|
...
|
...
|
|