insertGetId($data); return $id; } public static function updt($id, $data) { return DB::table("t_orders_insurances")->where("id", $id)->update($data); } public static function updtByOrdId($ord_id, $data) { return DB::table("t_orders_insurances")->where("ord_id", $ord_id)->update($data); } public static function dlt($id) { return DB::table("t_orders_insurances")->where("id", $id)->delete(); } public static function dltByOrdId($ord_id) { return DB::table("t_orders_insurances")->where("ord_id", $ord_id)->delete(); } }