insertGetId($data); return $id; } public static function updt($id, $data) { return DB::table("t_phone_devices")->where("id", $id)->update($data); } public static function updtByOrdDrvId($did, $data) { return DB::table("t_phone_devices")->where("did", $did)->update($data); } public static function dlt($id) { return DB::table("t_phone_devices")->where("id", $id)->delete(); } public static function dltByOrdDrvId($did) { return DB::table("t_phone_devices")->where("did", $did)->delete(); } }