--
-- Host: localhost    Database: digital
-- ------------------------------------------------------


--
-- Current Database: `digital`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `digital` /*!40100 DEFAULT CHARACTER SET utf8 */ /*!80016 DEFAULT ENCRYPTION='N' */;

USE `digital`;

--
-- Table structure for table `admin_logs`
--

CREATE TABLE `admin_logs` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `op_code` varchar(30) NOT NULL,
  `op_content` varchar(50) NOT NULL,
  `op_ip` char(15) NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=159 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `admin_logs`
--

INSERT INTO `admin_logs` VALUES (1,1,'TERMINAL_ADD','終端機新增 ID: (51)','10.0.2.2',1,'2016-09-26 21:49:04'),(2,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-26 21:55:46'),(3,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-26 21:58:15'),(4,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-26 21:58:27'),(5,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-26 21:58:50'),(6,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-26 23:27:04'),(7,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-26 23:27:18'),(8,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-26 23:56:22'),(9,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-27 00:01:16'),(10,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-27 00:10:25'),(11,1,'TERMINAL_EDIT','終端機修改 ID: (51)','10.0.2.2',1,'2016-09-27 00:10:36'),(12,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2018-07-20 15:19:01'),(13,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-01-20 18:09:32'),(14,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-01-20 18:18:33'),(15,8,'TERMINAL_ADD','終端機新增 ID: (1)','10.0.2.2',1,'2020-01-20 18:21:53'),(16,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-02-04 16:24:11'),(17,0,'LOGIN_ERROR','登入失敗! (admin)','10.0.2.2',1,'2020-02-19 15:16:41'),(18,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-03-03 11:36:42'),(19,8,'TERMINAL_ADD','終端機新增 ID: (2)','10.0.2.2',1,'2020-03-03 11:37:02'),(20,8,'VIDEO_ADD','影片新增 ID: (1)','10.0.2.2',1,'2020-03-03 11:37:32'),(21,8,'MARQUEE_ADD','跑馬燈新增 ID: (1)','10.0.2.2',1,'2020-03-03 11:37:49'),(22,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2020-03-03 11:38:11'),(23,8,'VIDEO_EDIT','影片修改 ID: (1)','10.0.2.2',1,'2020-03-03 11:38:47'),(24,8,'VIDEO_EDIT','影片修改 ID: (1)','10.0.2.2',1,'2020-03-03 11:39:08'),(25,8,'VIDEO_EDIT','影片修改 ID: (1)','10.0.2.2',1,'2020-03-03 11:39:37'),(26,8,'VIDEO_EDIT','影片修改 ID: (1)','10.0.2.2',1,'2020-03-03 11:39:41'),(27,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-04-30 13:23:24'),(28,8,'TERMINAL_EDIT','終端機修改 ID: (1)','10.0.2.2',1,'2020-04-30 13:24:31'),(29,8,'TERMINAL_EDIT','終端機修改 ID: (1)','10.0.2.2',1,'2020-04-30 15:31:22'),(30,0,'LOGIN_ERROR','登入失敗! (intercom_test)','10.0.2.2',1,'2020-05-04 11:40:59'),(31,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-05-05 11:16:15'),(32,8,'TERMINAL_EDIT','終端機修改 ID: (1)','10.0.2.2',1,'2020-05-05 11:17:21'),(33,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-05-22 14:09:41'),(34,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-03 15:25:34'),(35,8,'PIC_ADD','圖片新增 ID: (1)','10.0.2.2',1,'2020-06-03 15:45:33'),(36,8,'PIC_ADD','圖片新增 ID: (2)','10.0.2.2',1,'2020-06-03 15:45:39'),(37,8,'PIC_ADD','圖片新增 ID: (3)','10.0.2.2',1,'2020-06-03 15:45:46'),(38,8,'PIC_ADD','圖片新增 ID: (4)','10.0.2.2',1,'2020-06-03 15:45:55'),(39,8,'PIC_ADD','圖片新增 ID: (5)','10.0.2.2',1,'2020-06-03 15:46:01'),(40,8,'PIC_ADD','圖片新增 ID: (6)','10.0.2.2',1,'2020-06-03 15:46:09'),(41,8,'PIC_ADD','圖片新增 ID: (7)','10.0.2.2',1,'2020-06-03 15:46:19'),(42,8,'PIC_ADD','圖片新增 ID: (8)','10.0.2.2',1,'2020-06-03 15:46:23'),(43,8,'PIC_EDIT','圖片修改 ID: (8)','10.0.2.2',1,'2020-06-03 15:46:32'),(44,8,'PIC_ADD','圖片新增 ID: (9)','10.0.2.2',1,'2020-06-03 15:46:41'),(45,8,'PIC_ADD','圖片新增 ID: (10)','10.0.2.2',1,'2020-06-03 15:46:48'),(46,8,'PIC_ADD','圖片新增 ID: (11)','10.0.2.2',1,'2020-06-03 15:46:53'),(47,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2020-06-03 15:49:43'),(48,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2020-06-03 15:52:05'),(49,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2020-06-03 16:00:15'),(50,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2020-06-03 16:01:37'),(51,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2020-06-03 16:06:38'),(52,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2020-06-03 17:05:39'),(53,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-08 15:34:50'),(54,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-08 15:44:48'),(55,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-08 16:08:38'),(56,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-08 16:27:16'),(57,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-09 09:21:23'),(58,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-09 12:27:16'),(59,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-11 11:44:46'),(60,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-11 13:26:50'),(61,8,'PIC_EDIT','圖片修改 ID: (2)','10.0.2.2',1,'2020-06-11 13:39:31'),(62,8,'PIC_EDIT','圖片修改 ID: (2)','10.0.2.2',1,'2020-06-11 13:39:36'),(63,8,'PIC_DEL','圖片刪除 ID: (1)','10.0.2.2',1,'2020-06-11 13:39:50'),(64,8,'PIC_EDIT','圖片修改 ID: (3)','10.0.2.2',1,'2020-06-11 13:42:05'),(65,8,'PIC_EDIT','圖片修改 ID: (4)','10.0.2.2',1,'2020-06-11 13:44:28'),(66,8,'PIC_EDIT','圖片修改 ID: (5)','10.0.2.2',1,'2020-06-11 13:46:22'),(67,8,'PIC_EDIT','圖片修改 ID: (6)','10.0.2.2',1,'2020-06-11 13:53:57'),(68,8,'PIC_DEL','圖片刪除 ID: (7)','10.0.2.2',1,'2020-06-11 13:59:03'),(69,8,'PIC_DEL','圖片刪除 ID: (8)','10.0.2.2',1,'2020-06-11 13:59:08'),(70,8,'PIC_DEL','圖片刪除 ID: (9)','10.0.2.2',1,'2020-06-11 13:59:10'),(71,8,'PIC_DEL','圖片刪除 ID: (10)','10.0.2.2',1,'2020-06-11 13:59:14'),(72,8,'PIC_DEL','圖片刪除 ID: (11)','10.0.2.2',1,'2020-06-11 13:59:16'),(73,8,'MARQUEE_EDIT','跑馬燈修改 ID: (1)','10.0.2.2',1,'2020-06-11 14:05:42'),(74,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2020-06-11 14:06:09'),(75,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2020-06-11 14:06:27'),(76,8,'MARQUEE_EDIT','跑馬燈修改 ID: (1)','10.0.2.2',1,'2020-06-11 14:12:27'),(77,8,'MARQUEE_EDIT','跑馬燈修改 ID: (1)','10.0.2.2',1,'2020-06-11 14:12:52'),(78,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-11 14:38:53'),(79,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-06-17 15:51:10'),(80,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-07-06 10:32:20'),(81,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-07-09 15:47:06'),(82,8,'TERMINAL_ADD','終端機新增 ID: (3)','10.0.2.2',1,'2020-07-09 15:47:47'),(83,8,'TERMINAL_EDIT','終端機修改 ID: (3)','10.0.2.2',1,'2020-07-09 15:48:45'),(84,8,'TERMINAL_EDIT','終端機修改 ID: (3)','10.0.2.2',1,'2020-07-09 15:50:52'),(85,8,'TERMINAL_EDIT','終端機修改 ID: (3)','10.0.2.2',1,'2020-07-09 15:51:12'),(86,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-07-09 17:07:11'),(87,8,'TERMINAL_ADD','終端機新增 ID: (4)','10.0.2.2',1,'2020-07-09 17:07:54'),(88,8,'TERMINAL_EDIT','終端機修改 ID: (4)','10.0.2.2',1,'2020-07-09 17:08:52'),(89,8,'TERMINAL_EDIT','終端機修改 ID: (4)','10.0.2.2',1,'2020-07-09 17:09:38'),(90,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-07-09 17:30:10'),(91,8,'TERMINAL_ADD','終端機新增 ID: (5)','10.0.2.2',1,'2020-07-09 17:32:26'),(92,8,'TERMINAL_EDIT','終端機修改 ID: (5)','10.0.2.2',1,'2020-07-09 17:33:45'),(93,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-07-09 18:09:44'),(94,8,'TERMINAL_ADD','終端機新增 ID: (6)','10.0.2.2',1,'2020-07-09 18:10:42'),(95,8,'TERMINAL_ADD','終端機新增 ID: (7)','10.0.2.2',1,'2020-07-09 18:11:15'),(96,8,'TERMINAL_EDIT','終端機修改 ID: (7)','10.0.2.2',1,'2020-07-09 18:13:36'),(97,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2020-12-11 10:42:53'),(98,1,'LOGIN_SUCCESS','登入成功! (nsst)','10.0.2.2',1,'2021-01-06 19:08:01'),(99,1,'USER_EDIT','管理者修改 ID: (8)','10.0.2.2',1,'2021-01-06 19:08:46'),(100,1,'LOGIN_SUCCESS','登入成功! (nsst)','10.0.2.2',1,'2021-01-06 19:47:03'),(101,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-01-13 11:15:03'),(102,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-03-04 14:35:01'),(103,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-03-04 14:35:26'),(104,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-03-04 14:41:20'),(105,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2021-03-04 14:43:33'),(106,8,'TERMINAL_EDIT','終端機修改 ID: (2)','10.0.2.2',1,'2021-03-04 14:54:16'),(107,8,'PIC_ADD','圖片新增 ID: (7)','10.0.2.2',1,'2021-03-04 14:57:00'),(108,8,'PIC_ADD','圖片新增 ID: (8)','10.0.2.2',1,'2021-03-04 15:05:26'),(109,8,'PIC_DEL','圖片刪除 ID: (8)','10.0.2.2',1,'2021-03-04 15:05:29'),(110,8,'PIC_DEL','圖片刪除 ID: (7)','10.0.2.2',1,'2021-03-04 15:05:30'),(111,8,'PIC_ADD','圖片新增 ID: (9)','10.0.2.2',1,'2021-03-04 15:39:19'),(112,8,'MARQUEE_EDIT','跑馬燈修改 ID: (1)','10.0.2.2',1,'2021-03-04 15:43:36'),(113,8,'PIC_ADD','圖片新增 ID: (10)','10.0.2.2',1,'2021-03-04 15:52:06'),(114,8,'PIC_DEL','圖片刪除 ID: (9)','10.0.2.2',1,'2021-03-04 15:52:09'),(115,8,'PIC_DEL','圖片刪除 ID: (10)','10.0.2.2',1,'2021-03-04 15:52:10'),(116,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-03-04 16:01:36'),(117,8,'MARQUEE_EDIT','跑馬燈修改 ID: (1)','10.0.2.2',1,'2021-03-04 16:01:56'),(118,8,'MARQUEE_EDIT','跑馬燈修改 ID: (1)','10.0.2.2',1,'2021-03-04 16:02:17'),(119,8,'MARQUEE_EDIT','跑馬燈修改 ID: (1)','10.0.2.2',1,'2021-03-04 16:02:33'),(120,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-03-04 17:35:36'),(121,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-04-08 09:55:23'),(122,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-04-19 14:05:51'),(123,8,'PIC_ADD','圖片新增 ID: (7)','10.0.2.2',1,'2021-04-19 14:06:12'),(124,0,'LOGIN_ERROR','登入失敗! (admin)','10.0.2.2',1,'2021-04-22 10:31:40'),(125,0,'LOGIN_ERROR','登入失敗! (admin)','10.0.2.2',1,'2021-04-22 10:31:48'),(126,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-04-22 10:32:08'),(127,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-07-14 14:34:53'),(128,8,'TERMINAL_ADD','終端機新增 ID: (8)','10.0.2.2',1,'2021-07-14 14:35:14'),(129,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-07-22 11:09:59'),(130,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-07-22 11:12:29'),(131,8,'VIDEO_ADD','影片新增 ID: (2)','10.0.2.2',1,'2021-07-22 11:13:04'),(132,8,'TERMINAL_EDIT','終端機修改 ID: (8)','10.0.2.2',1,'2021-07-22 11:13:30'),(133,0,'LOGIN_ERROR','登入失敗! (admin)','10.0.2.2',1,'2021-09-06 17:08:20'),(134,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-09-06 17:08:25'),(135,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-09-09 16:29:29'),(136,8,'TERMINAL_ADD','終端機新增 ID: (11)','10.0.2.2',1,'2021-09-10 08:59:17'),(137,8,'TERMINAL_ADD','終端機新增 ID: (12)','10.0.2.2',1,'2021-09-10 08:59:34'),(138,8,'MARQUEE_ADD','跑馬燈新增 ID: (2)','10.0.2.2',1,'2021-09-10 09:00:31'),(139,8,'VIDEO_ADD','影片新增 ID: (3)','10.0.2.2',1,'2021-09-10 09:01:45'),(140,8,'VIDEO_ADD','影片新增 ID: (4)','10.0.2.2',1,'2021-09-10 09:02:05'),(141,8,'PIC_ADD','圖片新增 ID: (8)','10.0.2.2',1,'2021-09-10 09:02:48'),(142,8,'METEORO_ADD','氣象新增 ID: (87)','10.0.2.2',1,'2021-09-10 09:04:28'),(143,8,'METEORO_DEL','氣象刪除 ID: (87)','10.0.2.2',1,'2021-09-10 09:04:57'),(144,8,'CLOCK_ADD','時鐘新增 ID: (5)','10.0.2.2',1,'2021-09-10 09:06:47'),(145,8,'TIMER_ADD','倒數新增 ID: (6)','10.0.2.2',1,'2021-09-10 09:07:27'),(146,8,'OTHER_SET_EDIT','其它設定修改 ID: (1)','10.0.2.2',1,'2021-09-10 09:11:40'),(147,8,'COMPANY_ADD','公司新增 ID: (1)','10.0.2.2',1,'2021-09-10 09:29:04'),(148,8,'FLOOR_ADD','樓層新增 ID: (88)','10.0.2.2',1,'2021-09-10 09:29:55'),(149,8,'CLASS_ADD','類型新增 ID: (89)','10.0.2.2',1,'2021-09-10 09:30:08'),(150,8,'FACILTY_ADD','設施新增 ID: (58)','10.0.2.2',1,'2021-09-10 09:31:54'),(151,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-09-28 10:02:42'),(152,8,'TERMINAL_ADD','終端機新增 ID: (13)','10.0.2.2',1,'2021-09-28 10:03:02'),(153,8,'LOGIN_SUCCESS','登入成功! (admin)','10.0.2.2',1,'2021-10-06 06:43:57'),(154,8,'TERMINAL_ADD','終端機新增 ID: (14)','10.0.2.2',1,'2021-10-06 06:44:14'),(155,8,'TERMINAL_EDIT','終端機修改 ID: (14)','10.0.2.2',1,'2021-10-06 07:04:26'),(156,8,'TERMINAL_EDIT','終端機修改 ID: (14)','10.0.2.2',1,'2021-10-06 07:04:43'),(157,8,'MARQUEE_ADD','跑馬燈新增 ID: (3)','10.0.2.2',1,'2021-10-06 07:05:09'),(158,8,'PIC_ADD','圖片新增 ID: (9)','10.0.2.2',1,'2021-10-06 07:08:33');

--
-- Table structure for table `admin_user_auth`
--

CREATE TABLE `admin_user_auth` (
  `id` int NOT NULL AUTO_INCREMENT,
  `admin_id` int NOT NULL,
  `prog_code` varchar(20) NOT NULL,
  `auth_code` varchar(10) NOT NULL COMMENT 'N無權限,R唯讀,A增修,E全開',
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `view_all` int NOT NULL DEFAULT '0',
  `create_date` datetime NOT NULL,
  `modify_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=72 DEFAULT CHARSET=utf8mb3 COMMENT='使用者權限';

--
-- Dumping data for table `admin_user_auth`
--

INSERT INTO `admin_user_auth` VALUES (1,6,'TERMINAL','A',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(2,6,'DATA','A',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(3,6,'COMPANY','A',3,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(4,6,'LOCATION','A',4,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(5,7,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(6,7,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(7,7,'COMPANY','N',3,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(8,7,'LOCATION','N',4,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(9,8,'TERMINAL','E',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(10,8,'DATA','E',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(11,8,'COMPANY','E',3,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(12,8,'LOCATION','E',4,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(13,10,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(14,10,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(15,10,'COMPANY','A',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(16,10,'LOCATION','A',4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(17,11,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(18,11,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(19,11,'COMPANY','A',3,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(20,11,'LOCATION','A',4,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(21,13,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(22,13,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(23,13,'COMPANY','E',3,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(24,13,'LOCATION','A',4,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(25,14,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(26,14,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(27,14,'COMPANY','E',3,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(28,14,'LOCATION','E',4,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(29,15,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(30,15,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(31,15,'COMPANY','A',3,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(32,15,'LOCATION','A',4,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(33,16,'TERMINAL','R',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(34,16,'DATA','R',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(35,16,'COMPANY','A',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(36,16,'LOCATION','E',4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(37,17,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(38,17,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(39,17,'COMPANY','E',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(40,18,'TERMINAL','R',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(41,18,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(42,18,'COMPANY','A',3,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(43,18,'LOCATION','E',4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(44,19,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(45,19,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(46,19,'COMPANY','E',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(47,19,'LOCATION','N',4,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(48,20,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(49,20,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(50,20,'COMPANY','R',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(51,20,'LOCATION','R',4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(52,21,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(53,21,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(54,21,'COMPANY','A',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(55,21,'LOCATION','A',4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(56,22,'TERMINAL','E',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(57,22,'DATA','E',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(58,22,'COMPANY','E',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(59,22,'LOCATION','E',4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(60,23,'TERMINAL','A',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(61,23,'DATA','A',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(62,23,'COMPANY','A',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(63,23,'LOCATION','A',4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(64,24,'TERMINAL','R',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(65,24,'DATA','R',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(66,24,'COMPANY','R',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(67,24,'LOCATION','R',4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(68,25,'TERMINAL','N',1,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(69,25,'DATA','N',2,1,0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(70,25,'COMPANY','N',3,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(71,25,'LOCATION','N',4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00');

--
-- Table structure for table `clock`
--

CREATE TABLE `clock` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int NOT NULL,
  `admin_id` int NOT NULL,
  `clock_code` varchar(10) NOT NULL,
  `pic_w` int DEFAULT NULL,
  `pic_h` int DEFAULT NULL,
  `pic_topic` varchar(200) NOT NULL,
  `pic_name` varchar(200) DEFAULT NULL,
  `pic_name_md5` varchar(50) DEFAULT NULL,
  `pic_type` varchar(20) DEFAULT NULL,
  `pic_size` varchar(50) DEFAULT NULL,
  `pic_desc` text,
  `code_id` int NOT NULL,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COMMENT='時鐘列表';

--
-- Dumping data for table `clock`
--

INSERT INTO `clock` VALUES (4,1,1,'C0004',1024,768,'正式時鐘','Desert.jpg','20150103053936605926.jpg','image/jpeg','845941','0',70,1,1,'2014-12-20 09:18:18','2015-02-04 11:02:37'),(5,1,8,'C0005',NULL,NULL,'645',NULL,NULL,NULL,NULL,NULL,50,2,1,'2021-09-10 09:06:47',NULL);

--
-- Table structure for table `company`
--

CREATE TABLE `company` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int NOT NULL,
  `admin_id` int NOT NULL,
  `company_code` varchar(10) NOT NULL,
  `company_name_tw` varchar(200) NOT NULL,
  `company_name_en` varchar(200) NOT NULL,
  `address` text NOT NULL,
  `tel` varchar(50) NOT NULL,
  `fax` varchar(50) NOT NULL,
  `web_site` varchar(200) NOT NULL,
  `business` varchar(200) NOT NULL,
  `invoice_no` varchar(8) NOT NULL,
  `charge_name` varchar(100) NOT NULL,
  `capital` varchar(100) NOT NULL,
  `admin_name` varchar(100) NOT NULL,
  `admin_ext` varchar(20) NOT NULL,
  `admin_mail` varchar(100) NOT NULL,
  `walfare_name` varchar(100) NOT NULL,
  `walfare_ext` varchar(20) NOT NULL,
  `walfare_mail` varchar(100) NOT NULL,
  `urgent_name_1` varchar(100) NOT NULL,
  `urgent_phone_1` varchar(50) NOT NULL,
  `urgent_name_2` varchar(100) NOT NULL,
  `urgent_phone_2` varchar(50) NOT NULL,
  `urgent_name_3` varchar(100) NOT NULL,
  `urgent_phone_3` varchar(50) NOT NULL,
  `floor_code_id` int NOT NULL,
  `class_code_id` int NOT NULL,
  `pic1` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic2` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic3` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '左下圖片',
  `pic4` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '中下圖片',
  `pic5` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '右下圖片',
  `pic6` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic7` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic8` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic9` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `company_desc` text NOT NULL,
  `keyword` text,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  `time_start_1` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_end_1` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_start_2` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_end_2` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_start_3` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_end_3` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COMMENT='公司資料';

--
-- Dumping data for table `company`
--

INSERT INTO `company` VALUES (1,1,8,'M0001','','','','','','','','','','','','','','','','','','','','','','',0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,1,1,'2021-09-10 09:29:04',NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `facility`
--

CREATE TABLE `facility` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int NOT NULL,
  `admin_id` int NOT NULL,
  `floor_code_id` int NOT NULL,
  `class_code_id` int NOT NULL,
  `topic` varchar(200) NOT NULL,
  `topic_en` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `detail` text NOT NULL,
  `pic1` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic2` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'icon',
  `pic3` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic4` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic5` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic6` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic7` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `pic8` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '排程圖片2',
  `pic9` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '排程圖片3',
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  `time_start_1` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_end_1` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_start_2` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_end_2` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_start_3` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `time_end_3` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=utf8mb3 COMMENT='設施列表';

--
-- Dumping data for table `facility`
--

INSERT INTO `facility` VALUES (11,1,1,76,75,'站牌查詢：F912','','<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n\r\n<table style=\"font-size: medium; border: 2px solid rgb(0, 153, 255); ; width: 100%\">\r\n	<tbody>\r\n		<tr style=\"background-color: #D02F2F\">\r\n			<td colspan=\"2\">起訖站</td>\r\n			<td colspan=\"2\">票價資訊</td>\r\n			<td width=\"23%\">服務專線</td>\r\n		</tr>\r\n		<tr>\r\n			<td width=\"13%\">起點：</td>\r\n			<td width=\"27%\">汐止公園</td>\r\n			<td width=\"18%\">票　價：</td>\r\n			<td width=\"19%\">&nbsp;</td>\r\n			<td>汐止區公所</td>\r\n		</tr>\r\n		<tr>\r\n			<td>迄點：</td>\r\n			<td>汐止火車站</td>\r\n			<td>緩衝區：</td>\r\n			<td>&nbsp;</td>\r\n			<td>(02)2641-1111</td>\r\n		</tr>\r\n		<tr style=\"background-color: #D02F2F\">\r\n			<td colspan=\"2\">A線發車時間(平日)(假日)</td>\r\n			<td colspan=\"3\">A線發車間距(平日)(例假日)</td>\r\n		</tr>\r\n		<tr>\r\n		  <td>頭班車：</td>\r\n		  <td>0620</td>\r\n		  <td colspan=\"3\" rowspan=\"2\">06:20 07:20 08:30 10:15 14:00 16:00 18:00 21:00</td>\r\n		</tr>\r\n		<tr>\r\n		  <td>末班車：</td>\r\n		  <td>2100</td>\r\n		</tr>\r\n		<tr style=\"background-color: #D02F2F\">\r\n		  <td colspan=\"2\">B線發車時間(平日)(假日)</td>\r\n		  <td colspan=\"3\">A線發車間距(平日)(例假日)</td>\r\n	  </tr>\r\n		<tr>\r\n		  <td>頭班車：</td>\r\n		  <td>0650</td>\r\n		  <td colspan=\"3\" rowspan=\"2\">06:50 08:00 09:00 11:30 12:45 15:00 17:00 19:00</td>\r\n	  </tr>\r\n		<tr>\r\n		  <td>末班車：</td>\r\n		  <td>1900</td>\r\n	  </tr>\r\n	</tbody>\r\n</table>','20150408095220958557.jpg','20150408095307973388.jpg','20150408095235124939.jpg','20150408095256888061.jpg','20150408095302359680.jpg','20150408095229980468.jpg','','','',2,1,'2015-01-23 08:59:42','2015-04-08 09:53:24','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(12,1,1,76,75,'站牌查詢：F913','','<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n\r\n<table style=\"font-size: medium; border: 2px solid rgb(0, 153, 255); ; width: 100%\">\r\n	<tbody>\r\n		<tr style=\"background-color: #D02F2F\">\r\n			<td colspan=\"2\">起訖站</td>\r\n			<td colspan=\"2\">票價資訊</td>\r\n			<td width=\"23%\">服務專線</td>\r\n		</tr>\r\n		<tr>\r\n			<td width=\"12%\">起　點：</td>\r\n			<td width=\"15%\">崇義高中</td>\r\n			<td width=\"12%\">票　價：</td>\r\n			<td width=\"38%\">&nbsp;</td>\r\n			<td>汐止區公所</td>\r\n		</tr>\r\n		<tr>\r\n			<td>訖　點：</td>\r\n			<td>木南煤礦(瓏山林社區)</td>\r\n			<td>緩衝區：</td>\r\n			<td>&nbsp;</td>\r\n			<td>(02)2641-1111</td>\r\n		</tr>\r\n		<tr style=\"background-color: #D02F2F\">\r\n			<td colspan=\"2\">發車時間(平日)(假日)</td>\r\n			<td colspan=\"3\">發車間距(平日)(例假日)</td>\r\n		</tr>\r\n		<tr>\r\n		  <td>F913去</td>\r\n		  <td>0650-2120</td>\r\n		  <td colspan=\"3\">06:50 07:10 16:15 17:30 18:30 19:40 20:10 21:20</td>\r\n	  </tr>\r\n		<tr>\r\n		  <td>F913返</td>\r\n		  <td>0645-2155</td>\r\n		  <td colspan=\"3\">06:40 07:30 07:50 09:10 9:40 11:20 15:45 16:50 18:10 19:05 20:10 20:40 21:15 21:55</td>\r\n      </tr>\r\n		<tr>\r\n			<td>F913去延</td>\r\n		  <td>0605-2120</td>\r\n		  <td colspan=\"3\">06:05 06:50 07:10 07:25 08:35 09:15 09:50 10:50 11:50 13:30 15:20 15:50 16:15 16:55 17:30 18:00 18:30 19:40 20:10 20:45 21:20</td>\r\n		</tr>\r\n		<tr>\r\n			<td>F913返延</td>\r\n			<td>0645-2155</td>\r\n			<td colspan=\"3\">06:45 07:05 07:30 07:50 08:10 09:15 09:45 10:30 11:20 12:30 14:10 15:45 16:30 16:50 17:40 18:10 18:45 19:05 20:10 20:40 21:55</td>\r\n		</tr>\r\n	</tbody>\r\n</table>','20150408095333101075.jpg','2015040809541729480.jpg','2015040809535663355.jpg','20150408095404515442.jpg','2015040809540978370.jpg','20150408095349538513.jpg','','','',4,1,'2015-01-23 09:00:07','2015-04-08 09:54:35','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(13,1,1,76,75,'站牌查詢：F915','','<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n\r\n<table style=\"font-size: medium; border: 2px solid rgb(0, 153, 255); ; width: 100%\">\r\n	<tbody>\r\n		<tr style=\"background-color: #D02F2F\">\r\n			<td colspan=\"2\">起訖站</td>\r\n			<td colspan=\"2\">票價資訊</td>\r\n			<td width=\"23%\">服務專線</td>\r\n		</tr>\r\n		<tr>\r\n			<td width=\"13%\">去-起訖站：</td>\r\n			<td width=\"27%\">汐止公園－金龍國小</td>\r\n			<td width=\"18%\">票　價：</td>\r\n			<td width=\"19%\">&nbsp;</td>\r\n			<td>汐止區公所</td>\r\n		</tr>\r\n		<tr>\r\n		  <td width=\"13%\">返-起訖站：</td>\r\n			<td>金龍國小－汐止公園</td>\r\n			<td>緩衝區：</td>\r\n			<td>&nbsp;</td>\r\n			<td>(02)2641-1111</td>\r\n		</tr>\r\n		<tr style=\"background-color: #D02F2F\">\r\n			<td colspan=\"2\">（去）發車時間(平日)(假日)</td>\r\n			<td colspan=\"3\">（去）發車間距(平日)(例假日)</td>\r\n		</tr>\r\n		<tr>\r\n		  <td>頭班車：</td>\r\n		  <td>0610</td>\r\n		  <td colspan=\"3\" rowspan=\"2\">06:10 06:50 07:30 08:10 08:50 09:40 10:40 12:00 13:00 14:00 15:00 16:20 16:40 17:30 18:10 18:30 19:00 19:40 20:20</td>\r\n		</tr>\r\n		<tr>\r\n		  <td>末班車：</td>\r\n		  <td>2020</td>\r\n		</tr>\r\n		<tr style=\"background-color: #D02F2F\">\r\n		  <td colspan=\"2\">（返）發車時間(平日)(假日)</td>\r\n		  <td colspan=\"3\">（返）發車間距(平日)(例假日)</td>\r\n	  </tr>\r\n		<tr>\r\n		  <td>頭班車：</td>\r\n		  <td>0645</td>\r\n		  <td colspan=\"3\" rowspan=\"2\">06:45 07:35 08:15 08:55 09:30 10:15 11:10 12:30 13:30 14:30 15:30 17:00 17:20 18:15 18:50 19:10 19:35 20:10 20:50</td>\r\n	  </tr>\r\n		<tr>\r\n		  <td>末班車：</td>\r\n		  <td>2050</td>\r\n	  </tr>\r\n	</tbody>\r\n</table>','20150408095446578613.jpg','20150408095536889282.jpg','20150408095512172669.jpg','20150408095520587158.jpg','20150408095527952331.jpg','20150408095506931518.jpg','','','',5,1,'2015-01-23 09:00:24','2015-04-08 09:55:51','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(14,1,1,76,75,'站牌查詢：內科通勤專車7','','<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n\r\n<table style=\"font-size: medium; border: 2px solid rgb(0, 153, 255); ; width: 100%\">\r\n	<tbody>\r\n		<tr style=\"background-color: #D02F2F\">\r\n			<td colspan=\"2\">起訖站</td>\r\n			<td colspan=\"2\">票價資訊</td>\r\n			<td width=\"23%\">服務專線</td>\r\n		</tr>\r\n		<tr>\r\n			<td width=\"12%\">起　點：</td>\r\n			<td width=\"15%\">汐止</td>\r\n			<td width=\"12%\">票　價：</td>\r\n			<td width=\"38%\">二段票</td>\r\n			<td>新北客運</td>\r\n		</tr>\r\n		<tr>\r\n			<td>訖　點：</td>\r\n			<td>內湖科技園區</td>\r\n			<td>緩衝區：</td>\r\n			<td>南港軟體園區北站</td>\r\n			<td>0800-002-277</td>\r\n		</tr>\r\n		<tr style=\"background-color: #D02F2F\">\r\n			<td colspan=\"2\">發車時間(平日)</td>\r\n			<td colspan=\"3\">發車間距(平日)</td>\r\n		</tr>\r\n		<tr>\r\n			<td>頭班車：</td>\r\n		  <td>07:10</td>\r\n			<td colspan=\"3\" rowspan=\"2\">07:10 (汐止車站-內科)<br />\r\n			  18:10 (內科-汐止車站)</td>\r\n		</tr>\r\n		<tr>\r\n			<td>末班車：</td>\r\n			<td>18:10</td>\r\n		</tr>\r\n		<tr style=\"background-color: #D02F2F\">\r\n			<td colspan=\"2\">發車時間(假日)</td>\r\n			<td colspan=\"3\">發車間距(例假日)</td>\r\n		</tr>\r\n		<tr>\r\n			<td>頭班車：</td>\r\n			<td>停駛</td>\r\n		  <td colspan=\"3\" rowspan=\"2\">停駛</td>\r\n		</tr>\r\n		<tr>\r\n			<td>末班車：</td>\r\n			<td>停駛</td>\r\n		</tr>\r\n	</tbody>\r\n</table>','20150408095614757965.jpg','20150408095656445404.jpg','2015040809563466437.jpg','20150408095640354706.jpg','20150408095648341705.jpg','20150408095625777679.jpg','','','',6,1,'2015-01-23 09:02:57','2015-04-08 09:57:20','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(28,1,1,76,75,'站牌查詢：F901','','<table style=\"border:2px solid rgb(0, 153, 255); font-size:medium; width:100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td colspan=\"2\">起訖站</td>\r\n			<td colspan=\"2\">票價資訊</td>\r\n			<td>服務專線</td>\r\n		</tr>\r\n		<tr>\r\n			<td>訖　點A：</td>\r\n			<td>汐碇路石頭公</td>\r\n			<td>票　價：</td>\r\n			<td>&nbsp;</td>\r\n			<td>汐止區公所</td>\r\n		</tr>\r\n		<tr>\r\n			<td>訖　點B：</td>\r\n			<td>汐止火車站</td>\r\n			<td>緩衝區：</td>\r\n			<td>&nbsp;</td>\r\n			<td>(02)2641-1111</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"2\">發車時間(平日)</td>\r\n			<td colspan=\"3\">發車A間距(平日)(例假日)</td>\r\n		</tr>\r\n		<tr>\r\n			<td>頭班車A：0605</td>\r\n			<td>頭班車B：0635</td>\r\n			<td colspan=\"3\" rowspan=\"2\">06:05 06:25 06:40 07:15 07:40 08:00 09:00 10:20 11:40 12:20 13:50 14:30 15:10 15:50 16:20 17:00 17:30 18:30 19:00 20:00 21:00</td>\r\n		</tr>\r\n		<tr>\r\n			<td>末班車A：2100</td>\r\n			<td>末班車B：2130</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"2\">發車時間(假日)</td>\r\n			<td colspan=\"3\">發車B間距(平日)(例假日)</td>\r\n		</tr>\r\n		<tr>\r\n			<td>頭班車A：0605</td>\r\n			<td>頭班車B：0635</td>\r\n			<td colspan=\"3\" rowspan=\"2\">06:35 06:55 07:15 07:50 08:15 08:40 09:35 10:50 12:10 12:50 14:20 15:00 15:40 16:20 16:50 17:30 18:00 19:00 19:30 20:30 21:30</td>\r\n		</tr>\r\n		<tr>\r\n			<td>末班車A：2100</td>\r\n			<td>末班車B：2130</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n','20150408095055593140.jpg','20150408095147504944.jpg','20150408095120459717.jpg','20150408095128320984.jpg','20150408095137347778.jpg','20150408095113392883.jpg','20150812093219686004.png','20150812093254253083.png','',1,1,'2015-01-23 10:49:50','2015-08-12 09:33:09','08/12/2015 5:00pm','08/12/2015 6:00pm','08/12/2015 5:00pm','08/12/2015 7:00pm','',''),(41,1,8,115,13,'McDonald\'s 麥當勞','McDonald\'s ','<p><span style=\"color:rgb(20, 24, 35)\">i&#39;m lovin&#39; it是麥當勞的全新精神，這是ㄧ種盡興表現自己，享受生活其中的態度，從現在起只要誰說 i&#39;m lovin&#39; it，就表示他正熱愛、並享受此刻。</span></p>\r\n\r\n<p>營業時間：周一至周日　上午０６：００至晚間１２：００</p>\r\n','20150408100231866119.jpg','2015012604580226764.jpg','2015081205170660517.jpg','20150126051714659210.jpg','2015012605171995917.jpg','20150126051703366364.jpg','20150812065549223389.png','20150812072235833862.png','20150812072230988708.png',7,1,'2015-01-26 04:56:23','2015-08-12 08:23:47','08/12/2015 4:00pm','08/12/2015 4:30pm','08/12/2015 4:00pm','08/12/2015 4:30pm','08/12/2015 4:00pm','08/12/2015 4:30pm'),(42,1,8,115,155,'松青超市','MATSUSEI','<p><span style=\"color:rgb(31, 89, 73)\">松青超市隸屬於味全集團，於民國75年由味全食品工業股份有限公司與日本松青株式會社合資成立。 松青超市因應國內消費趨勢與生活型態的改變，引進國外超市經營新概念，以「達人嚴選」與「名地名產」的概念為出發點，堅持提供顧客新鮮、健康、有特色的生鮮食材與日常用品，以貼心的服務讓顧客在明亮舒適的環境中，享受最大的購物樂趣，讓生活多一點享受。</span></p>\r\n\r\n<p><span style=\"color:rgb(0, 0, 0)\">營業時間：周一至周日　上午０９：００至晚間１０：００</span><br />\r\n樓層位置：B1F</p>\r\n','20150408100206111298.jpg','20150126062533322418.jpg','20150408100215619964.jpg','20150408100219756378.jpg','2015040810022348554.jpg','20150408100210658844.jpg','','','',8,1,'2015-01-26 06:27:22','2015-04-08 10:02:26','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(43,1,8,47,13,'馬辣火鍋','Malaaaa','<p>午餐$545　AM 11:30 ~ PM 16:00<br />\r\n晚餐$635　PM 16:00 ~ AM 02:00<br />\r\n周六日/例假日$635　AM 11:30 ~ AM 02:00<br />\r\n兒童半價小一至小六、限一大配一小、用餐時間２小時</p>\r\n\r\n<p>10%清潔費另計，單人用餐需加100元</p>\r\n\r\n<p>4到6歲用餐，酌收清潔費100元</p>\r\n\r\n<p>歡迎自帶飲料、酒類，免收開瓶費</p>\r\n','20150408100146985748.jpg','20150126063949106415.jpg','201501260639357721.jpg','20150126063940377045.jpg','','20150126063844380097.jpg','','','',9,1,'2015-01-26 06:37:13','2015-04-09 09:05:04','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(44,1,8,12,13,'千葉火鍋','1000Leaf','<p><span style=\"color:rgb(20, 24, 35)\">因為用心，所以千葉火鍋有自信可以給您最好的！</span><br />\r\n<span style=\"color:rgb(20, 24, 35)\">一直秉持著「給您最好的」讓您盡情的「享受無拘束美食」</span></p>\r\n\r\n<p><span style=\"color:rgb(20, 24, 35)\">千葉火鍋堅守四大信條：</span><br />\r\n<span style=\"color:rgb(20, 24, 35)\">一、食材的新鮮</span><br />\r\n<span style=\"color:rgb(20, 24, 35)\">二、品項的豐富<br />\r\n三、衛生的環境&nbsp;<br />\r\n四、親切的服務</span></p>\r\n\r\n<p><span style=\"font-size:13px\">營業時間　週一 - 週日：11:00 到 23:00</span></p>\r\n','20150408100136256531.jpg','20150126064933768188.jpg','20150126064922332825.jpg','20150126064925403565.jpg','20150126064929674988.jpg','20150126064915685425.jpg','','','',10,1,'2015-01-26 06:51:07','2015-04-08 10:01:38','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(45,1,8,47,13,'北澤壽喜燒','Susi','<p><span style=\"color:rgb(78, 86, 101)\">～來自日本 ★最傳統的幸福美味★ 北澤壽喜燒～</span></p>\r\n\r\n<p><span style=\"color:rgb(78, 86, 101)\">營業時間 11:00 - 22:30</span></p>\r\n\r\n<p><span style=\"color:rgb(115, 77, 39)\">北澤壽喜燒採</span>桌邊式服務<span style=\"color:rgb(115, 77, 39)\">，限時九十分鐘，用餐方式為壽喜燒鍋，以及雙鍋兩種消費模式，您可以依照需求選擇。主餐之肉品、蔬食、菇類等食材均可無限量供應，無酒精飲料可無限暢飲，另提供一份餐後甜點。</span><br />\r\n&nbsp;</p>\r\n','20150408100123487030.jpg','20150126065643376557.jpg','20150126065631790558.jpg','20150126065635137421.jpg','20150126065639276764.jpg','20150126065624786957.jpg','','','',11,1,'2015-01-26 06:58:49','2015-04-08 10:01:26','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(46,1,8,47,13,'泰板燒',' Thaipanyaki ','<p><span style=\"color:rgb(78, 86, 101)\">羅阿明 廚藝總監 與 智群帷幄顧問公司堅強團隊 攜手打造全世界第一個泰式鐵板料理品牌。</span></p>\r\n\r\n<p><span style=\"color:rgb(78, 86, 101)\">本日營業時間 11:30 - 14:30, 17:30 - 22:00</span></p>\r\n','20150408100059684357.jpg','20150126070715113495.jpg','20150126070701649567.jpg','20150126070705895843.jpg','20150126070710973663.jpg','20150126070655223114.jpg','','','',12,1,'2015-01-26 07:07:51','2015-04-08 10:01:04','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(47,1,8,12,13,'驚嚇搖滾廚房','Rock Shock','<p><span style=\"color:rgb(20, 24, 35)\">老闆所堅持不拖泥帶水的手工創新料理! 把最道地的美式餐點,義式料理做結合, 帶給喜歡嘗鮮的</span><span style=\"color:rgb(20, 24, 35)\">饕客們不一樣的美食! 當然喜歡音樂和攝影的朋友們,也不要錯過老闆精心設計的拍照主題和所推薦的音樂喔!</span></p>\r\n','20150408100036803802.jpg','20150126071948723663.jpg','20150126071934973114.jpg','20150126071938399567.jpg','20150126071943645843.jpg','20150126071928823517.jpg','','','',13,1,'2015-01-26 07:20:57','2015-04-08 10:00:43','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(48,1,8,12,13,'香菜餐廳Bar','','<p><span style=\"color:rgb(78, 86, 101)\">香菜餐廳Bar ,不用昂貴的價格,卻有美味道地的泰式料理‧串燒及啤酒, 舒適整潔的環境, 和親切的服務, 不管兩人約會小酌.家庭聚會,員工聚餐都適合的最佳選擇! :)</span></p>\r\n','20150408100022864166.jpg','20150126072907624725.jpg','20150126072855719391.jpg','20150126072859977386.jpg','20150126072903285675.jpg','20150126072849749969.jpg','','','',14,1,'2015-01-26 07:29:36','2015-04-08 10:00:29','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(49,1,8,76,13,'澄日式精緻料理帝王蟹鍋物','','<p><span style=\"color:rgb(78, 86, 101)\">座落於熱鬧的台北東區巷弄內,交通便利外 在用餐環境方面更特聘日系設計師帶入以結合中日文化的&quot;竹&quot;為店內裝潢的主要元素 在大片落地窗及店內隔間玻璃中鑲入竹片呈現出在熱鬧的東區街頭罕見的寧靜,帶著些許禪意的氛圍&nbsp;</span><br />\r\n<span style=\"color:rgb(78, 86, 101)\">店內座位配置上有別於一般t吃到飽餐廳的擁擠,吵雜 採L行走道設計並在座位區加入隔間玻璃創造獨立空間效果讓賓客們都能輕鬆愉快的享受 澄 細心為您打造的精緻美食饗宴~</span><br />\r\n<span style=\"color:rgb(78, 86, 101)\">以豪華帝王蟹,台灣黃金蝦,東石鮮蚵,鮮凍大軟絲等嚴選食材加上頂級肉品(美國Prime 無骨牛小排,雪花牛.小羔羊等)吃到飽為店內主打 搭配精緻日本料理:各式手捲,每周不定期由基隆魚市新鮮直送的生魚片(老闆的堅持)</span><br />\r\n<span style=\"color:rgb(78, 86, 101)\">握壽司:日本生食干貝.比目魚緣側.炙燒星鰻.炙燒鮭魚.</span><br />\r\n<span style=\"color:rgb(78, 86, 101)\">並依季節性適時的調整以呈現食材的豐富變化性及用料的講究</span><br />\r\n<span style=\"color:rgb(78, 86, 101)\">(全店備有約可容納80人座位 可供公司團體宴會使用 歡迎預約訂位)</span></p>\r\n','20150408095938552521.jpg','20150126073952678467.jpg','20150408095950167633.jpg','20150408095955542816.jpg','20150408095959155793.jpg','20150408095944768524.jpg','','','',15,1,'2015-01-26 07:39:57','2015-04-08 10:00:02','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(50,1,8,76,13,'炙 酒食廚房','','<p>對食材的執著，新鮮的漁獲，以及對服務的熱忱。</p>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p>營業時間&nbsp;週一 - 週日：&nbsp;17:30 到 1:00</p>\r\n\r\n<p>&nbsp;</p>\r\n','20150127101405577118.jpg','20150126074804773773.jpg','20150127101350369049.jpg','20150127101354316498.jpg','2015012710135917365.jpg','20150127101342288300.jpg','','','',16,1,'2015-01-26 08:58:20','2015-01-27 10:14:10','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(51,1,8,76,13,'川.譜 渝派四川美饌','','<p>川。譜有吃到飽囉!!!!!!!!!!! 【想吃川菜，有譜了】 【川。譜訴求】: 。中菜西吃--&gt;菜色特別而美味、裝潢走時尚LOUNGE風，吃川菜原 來也可以是一種潮流、享受樂趣!川。譜希望將傳統與時尚做一個巧 妙的結合! 。口味獨特--&gt;行政主廚師承四川，學藝精湛，為大家帶來最特別又 美味的菜色，未來會持續推出新的拿手菜! 。川菜居酒屋--&gt;川。譜雖然以四川菜為主打，但是有一個美麗的吧 台，想喝點小酒又吃膩一般下酒菜的顧客，可以試試川菜配酒的絕 妙搭配! 想嚐鮮? 想享受台灣獨一無二的美食? 想喝點小酒? 川。譜永遠歡迎您。</p>\r\n','20150127082434636017.jpg','2015012609053245258.jpg','20150127082447212067.jpg','20150127082450958343.jpg','20150127082454536163.jpg','20150127082441285614.jpg','','','',17,1,'2015-01-26 09:05:13','2015-01-27 08:24:56','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(52,1,8,76,155,'全家FamilyMart','','<p><span style=\"color:rgb(78, 86, 101)\">☆全家。就是你家。☆&nbsp;</span>http://www.family.com.tw/<span style=\"color:rgb(78, 86, 101)\">&nbsp;全家與你親密在一起，讓生活更有意思！</span></p>\r\n','2015012708194358320.jpg','20150126093053531830.jpg','20150127082004165741.jpg','20150127082020608002.jpg','20150127082024875274.jpg','20150127082012750396.jpg','','','',18,1,'2015-01-26 09:50:11','2015-01-27 08:20:27','0000-00-00 00:00:00','0000-00-00 00:00:00','','','',''),(53,1,11,117,13,'TEST2新增設施','','','','','','','','','','','',19,1,'2015-08-18 11:38:31','2015-09-04 03:33:48','','','','','',''),(54,1,11,117,75,'TEST2新增設施2','','','','','','','','','','','',20,0,'2015-08-18 11:38:54','0000-00-00 00:00:00','','','','','',''),(55,1,1,110,162,'nsst 設施','nsst local','<p>nsst 設施nsst 設施nsst 設施nsst 設施nsst 設施nsst 設施nsst 設施ㄒ</p>\r\n','20150904033516101838.jpg','20150904033519696747.jpg','20150904033511351959.jpg','20150904033509704803.jpg','20150904033505162629.jpg','20150904033514772064.jpg','','','',21,1,'2015-09-04 03:35:21','2015-09-04 03:37:02','','','','','',''),(56,1,22,163,165,'level4 設施','','<p>吃資5555555555555555555555555</p>\r\n','20150904034612173371.jpg','20150904034639668426.jpg','20150904034629784576.jpg','20150904034632696869.jpg','20150904034635706329.jpg','20150904034626332733.jpg','','','',22,1,'2015-09-04 03:47:09','2015-09-04 03:47:46','','','','','',''),(57,1,23,103,75,'level3 設施','','<p>gggggggggg</p>\r\n','20150904040236951355.jpg','20150904040257965759.jpg','20150904040249286743.gif','20150904040251846252.gif','20150904040255688476.gif','','','','',23,0,'2015-09-04 04:03:19','0000-00-00 00:00:00','','','','','',''),(58,1,8,88,89,'4',NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,1,'2021-09-10 09:31:54',NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `layout`
--

CREATE TABLE `layout` (
  `id` int NOT NULL AUTO_INCREMENT,
  `layout_type` varchar(10) NOT NULL,
  `topic` varchar(200) NOT NULL,
  `pic1` varchar(50) NOT NULL,
  `amount` int NOT NULL COMMENT '數量',
  `html_name` varchar(50) NOT NULL COMMENT '引用的HTML檔案',
  `layout_width` int NOT NULL,
  `layout_height` int NOT NULL,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb3 COMMENT='版面主檔';

--
-- Dumping data for table `layout`
--

INSERT INTO `layout` VALUES (1,'hor','橫樣式1','1.png',2,'layout-01.html',1920,1040,1,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(2,'hor','橫樣式2','2.png',1,'layout-02.html',1920,1040,2,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(3,'hor','橫樣式3','3.png',2,'layout-03.html',1920,1040,3,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(4,'hor','橫樣式4','4.png',2,'layout-04.html',1920,1040,4,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(5,'hor','橫樣式5','5.png',4,'layout-05.html',1920,1040,5,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(6,'hor','橫樣式6','6.png',4,'layout-06.html',1920,1040,6,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(7,'hor','橫樣式7','7.png',5,'layout-07.html',1920,1040,7,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(8,'hor','橫樣式8','8.png',5,'layout-08.html',1920,1040,8,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(9,'hor','橫樣式9','9.png',5,'layout-09.html',1920,1040,9,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(10,'hor','橫樣式10','10.png',5,'layout-10.html',1920,1040,10,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(11,'hor','橫樣式11','11.png',2,'layout-11.html',1920,1040,11,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(12,'hor','橫樣式12','12.png',5,'layout-12.html',1920,1040,12,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(13,'hor','橫樣式13','13.png',5,'layout-13.html',1920,1040,13,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(14,'hor','橫樣式14','14.png',5,'layout-14.html',1920,1040,14,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(16,'hor','橫樣式16','16.png',0,'layout-16.html',1920,1040,16,0,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(17,'hor','橫樣式17','17.png',0,'layout-17.html',1920,1040,17,0,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(18,'vert','直樣式18','18.png',1,'layout-18.html',1080,1860,18,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(19,'vert','直樣式19','19.png',2,'layout-19.html',1080,1860,19,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(20,'vert','直樣式20','20.png',2,'layout-20.html',1080,1860,20,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(21,'vert','直樣式21','21.png',4,'layout-21.html',1080,1860,21,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(22,'vert','直樣式22','22.png',4,'layout-22.html',1080,1860,22,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(23,'vert','直樣式23','23.png',5,'layout-23.html',1080,1860,23,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(24,'vert','直樣式24','24.png',2,'layout-24.html',1080,1860,24,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(25,'vert','直樣式25','25.png',5,'layout-25.html',1080,1860,25,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(26,'vert','直樣式26','26.png',5,'layout-26.html',1080,1860,26,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(27,'vert','直樣式27','27.png',5,'layout-27.html',1080,1860,27,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(28,'vert','直樣式28','28.png',5,'layout-28.html',1080,1860,28,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(29,'vert','直樣式29','29.png',5,'layout-29.html',1080,1860,29,1,'2014-12-02 00:00:00','2014-12-02 00:00:00'),(30,'hor','樣式e2tv','2.png',1,'layout-e2tv.html',1920,1040,18,1,'2016-01-15 11:34:13','2016-01-15 11:34:17');

--
-- Table structure for table `layout_item`
--

CREATE TABLE `layout_item` (
  `id` int NOT NULL AUTO_INCREMENT,
  `layout_id` int NOT NULL,
  `width` int NOT NULL,
  `height` int NOT NULL,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=103 DEFAULT CHARSET=utf8mb3 COMMENT='版面細項';

--
-- Dumping data for table `layout_item`
--

INSERT INTO `layout_item` VALUES (1,1,1138,1040,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(2,1,462,1040,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(3,2,1600,1040,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(4,3,1600,960,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(5,3,1600,80,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(6,4,1600,80,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(7,4,1600,960,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(8,5,426,480,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(9,5,426,480,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(10,5,1170,960,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(11,5,1600,80,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(12,6,1174,960,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(13,6,426,480,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(14,6,426,480,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(15,6,1600,80,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(16,7,284,320,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(17,7,284,320,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(18,7,284,320,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(19,7,1316,960,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(20,7,1600,80,5,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(21,8,1316,960,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(22,8,284,320,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(23,8,284,320,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(24,8,284,320,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(25,8,1600,80,5,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(26,9,284,320,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(27,9,284,192,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(28,9,284,448,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(29,9,1316,960,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(30,9,1600,80,5,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(31,10,1316,960,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(32,10,284,320,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(33,10,284,192,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(34,10,284,448,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(35,10,1600,80,5,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(36,11,462,1040,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(37,11,1138,1040,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(38,12,1600,80,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(39,12,284,320,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(40,12,284,320,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(41,12,284,320,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(42,12,1316,960,5,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(43,13,1600,80,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(44,13,1316,960,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(45,13,284,320,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(46,13,284,320,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(47,13,284,320,5,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(48,14,1600,80,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(49,14,284,320,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(50,14,284,192,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(51,14,284,448,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(52,14,1316,960,5,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(53,15,1600,80,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(54,15,1316,960,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(55,15,284,320,3,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(56,15,284,192,4,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(57,15,284,448,5,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(58,18,1060,1570,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(59,19,1060,1490,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(60,19,1060,80,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(61,20,1060,80,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(62,20,1060,1490,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(63,21,530,462,1,1,'2015-01-11 15:02:52','2015-01-11 15:02:52'),(64,21,530,462,2,1,'2015-01-11 15:02:52','2015-01-11 15:02:53'),(65,21,1060,1028,3,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(66,21,1060,80,4,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(67,22,1060,80,1,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(68,22,1060,1028,2,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(69,22,530,462,3,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(70,22,530,462,4,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(71,23,352,308,1,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(72,23,354,308,2,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(73,23,354,308,3,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(74,23,1060,1182,4,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(75,23,1060,80,5,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(76,24,1060,462,1,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(77,24,1060,1108,2,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(78,25,352,308,1,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(79,25,354,308,2,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(80,25,354,308,3,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(81,25,1060,1182,4,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(82,25,1060,80,5,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(83,26,1060,80,1,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(84,26,1060,1182,2,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(85,26,352,308,3,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(86,26,354,308,4,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(87,26,354,308,5,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(88,27,496,308,1,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(89,27,212,308,2,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(90,27,352,308,3,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(91,27,1060,1182,4,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(92,27,1060,80,5,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(93,28,1060,80,1,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(94,28,1060,1182,2,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(95,28,496,308,3,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(96,28,212,308,4,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(97,28,352,308,5,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(98,29,1060,80,1,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(99,29,1060,1182,2,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(100,29,352,308,3,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(101,29,354,308,4,1,'2015-01-11 15:02:53','2015-01-11 15:02:53'),(102,29,354,308,5,1,'2015-01-11 15:02:53','2015-01-11 15:02:53');

--
-- Table structure for table `marquee`
--

CREATE TABLE `marquee` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int NOT NULL,
  `admin_id` int NOT NULL,
  `marquee_code` varchar(10) NOT NULL,
  `topic` varchar(200) NOT NULL,
  `detail` text NOT NULL,
  `color_code` varchar(6) NOT NULL,
  `url_link` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `content` text NOT NULL,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COMMENT='跑馬燈';

--
-- Dumping data for table `marquee`
--

INSERT INTO `marquee` VALUES (1,1,8,'Q0001','跑馬燈1','歡迎蒞臨！ 防疫期間請配戴口罩、勤洗手、保持安全距離，謝謝　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　歡迎蒞臨！ 防疫期間請配戴口罩、勤洗手、保持安全距離，謝謝　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　歡迎蒞臨！ 防疫期間請配戴口罩、勤洗手、保持安全距離，謝謝','e2ddcf','','',1,1,'2020-03-03 11:37:49','2021-03-04 16:02:33'),(2,1,8,'Q0002','123','123','e2ddcf',NULL,'<p>123</p>\n',2,1,'2021-09-10 09:00:31',NULL),(3,1,8,'Q0003','321','321','e2ddcf',NULL,'<p>321</p>\n',3,1,'2021-10-06 07:05:09',NULL);

--
-- Table structure for table `meteoro_log`
--

CREATE TABLE `meteoro_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `time` datetime NOT NULL,
  `value` varchar(255) NOT NULL,
  `content` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=422 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `meteoro_log`
--

INSERT INTO `meteoro_log` VALUES (24,'2020-05-04 06:00:00','30','晴時多雲'),(25,'2020-05-05 06:00:00','30','多雲午後短暫雷陣雨'),(26,'2020-05-22 06:00:00','24','陰陣雨或雷雨'),(27,'2020-07-06 06:00:00','32','多雲午後短暫雷陣雨'),(28,'2020-07-09 06:00:00','32','多雲午後短暫雷陣雨'),(29,'2020-07-09 18:00:00','29','多雲'),(30,'2021-03-04 06:00:00','21','多雲'),(31,'2021-09-10 06:00:00','32','多雲'),(32,'2021-09-13 06:00:00','32','多雲'),(33,'2021-09-13 06:00:00','32','多雲'),(34,'2021-09-13 06:00:00','32','多雲'),(35,'2021-09-13 06:00:00','32','多雲'),(36,'2021-09-13 06:00:00','32','多雲'),(37,'2021-09-13 06:00:00','32','多雲'),(38,'2021-09-13 06:00:00','32','多雲'),(39,'2021-09-13 06:00:00','32','多雲'),(40,'2021-09-13 06:00:00','32','多雲'),(41,'2021-09-13 06:00:00','32','多雲'),(42,'2021-09-13 06:00:00','32','多雲'),(43,'2021-09-13 06:00:00','32','多雲'),(44,'2021-09-13 06:00:00','32','多雲'),(45,'2021-09-13 06:00:00','32','多雲'),(46,'2021-09-13 06:00:00','32','多雲'),(47,'2021-09-13 06:00:00','32','多雲'),(48,'2021-09-13 06:00:00','32','多雲'),(49,'2021-09-13 06:00:00','32','多雲'),(50,'2021-09-13 06:00:00','32','多雲'),(51,'2021-09-13 06:00:00','32','多雲'),(52,'2021-09-13 06:00:00','32','多雲'),(53,'2021-09-13 06:00:00','32','多雲'),(54,'2021-09-13 06:00:00','32','多雲'),(55,'2021-09-13 06:00:00','32','多雲'),(56,'2021-09-13 06:00:00','32','多雲'),(57,'2021-09-13 06:00:00','32','多雲'),(58,'2021-09-13 06:00:00','32','多雲'),(59,'2021-09-13 06:00:00','32','多雲'),(60,'2021-09-13 06:00:00','32','多雲'),(61,'2021-09-13 06:00:00','32','多雲'),(62,'2021-09-13 06:00:00','32','多雲'),(63,'2021-09-13 06:00:00','32','多雲'),(64,'2021-09-13 06:00:00','32','多雲'),(65,'2021-09-13 06:00:00','32','多雲'),(66,'2021-09-13 06:00:00','32','多雲'),(67,'2021-09-13 06:00:00','32','多雲'),(68,'2021-09-13 06:00:00','32','多雲'),(69,'2021-09-13 06:00:00','32','多雲'),(70,'2021-09-13 06:00:00','32','多雲'),(71,'2021-09-13 06:00:00','32','多雲'),(72,'2021-09-13 06:00:00','32','多雲'),(73,'2021-09-13 06:00:00','32','多雲'),(74,'2021-09-13 06:00:00','32','多雲'),(75,'2021-09-13 06:00:00','32','多雲'),(76,'2021-09-13 06:00:00','32','多雲'),(77,'2021-09-13 06:00:00','32','多雲'),(78,'2021-09-13 06:00:00','32','多雲'),(79,'2021-09-13 06:00:00','32','多雲'),(80,'2021-09-13 06:00:00','32','多雲'),(81,'2021-09-13 06:00:00','32','多雲'),(82,'2021-09-13 06:00:00','32','多雲'),(83,'2021-09-13 06:00:00','32','多雲'),(84,'2021-09-13 06:00:00','32','多雲'),(85,'2021-09-13 06:00:00','32','多雲'),(86,'2021-09-13 06:00:00','32','多雲'),(87,'2021-09-13 06:00:00','32','多雲'),(88,'2021-09-13 06:00:00','32','多雲'),(89,'2021-09-13 06:00:00','32','多雲'),(90,'2021-09-13 06:00:00','32','多雲'),(91,'2021-09-13 06:00:00','32','多雲'),(92,'2021-09-13 06:00:00','32','多雲'),(93,'2021-09-13 06:00:00','32','多雲'),(94,'2021-09-13 06:00:00','32','多雲'),(95,'2021-09-13 06:00:00','32','多雲'),(96,'2021-09-13 06:00:00','32','多雲'),(97,'2021-09-13 06:00:00','32','多雲'),(98,'2021-09-13 06:00:00','32','多雲'),(99,'2021-09-13 06:00:00','32','多雲'),(100,'2021-09-13 06:00:00','32','多雲'),(101,'2021-09-13 06:00:00','32','多雲'),(102,'2021-09-13 06:00:00','32','多雲'),(103,'2021-09-13 06:00:00','32','多雲'),(104,'2021-09-13 06:00:00','32','多雲'),(105,'2021-09-13 06:00:00','32','多雲'),(106,'2021-09-13 06:00:00','32','多雲'),(107,'2021-09-13 06:00:00','32','多雲'),(108,'2021-09-13 06:00:00','32','多雲'),(109,'2021-09-13 06:00:00','32','多雲'),(110,'2021-09-13 06:00:00','32','多雲'),(111,'2021-09-13 06:00:00','32','多雲'),(112,'2021-09-13 06:00:00','32','多雲'),(113,'2021-09-13 06:00:00','32','多雲'),(114,'2021-09-13 06:00:00','32','多雲'),(115,'2021-09-13 06:00:00','32','多雲'),(116,'2021-09-13 06:00:00','32','多雲'),(117,'2021-09-13 06:00:00','32','多雲'),(118,'2021-09-13 06:00:00','32','多雲'),(119,'2021-09-13 06:00:00','32','多雲'),(120,'2021-09-13 06:00:00','32','多雲'),(121,'2021-09-13 06:00:00','32','多雲'),(122,'2021-09-13 06:00:00','32','多雲'),(123,'2021-09-13 06:00:00','32','多雲'),(124,'2021-09-13 06:00:00','32','多雲'),(125,'2021-09-13 06:00:00','32','多雲'),(126,'2021-09-13 06:00:00','32','多雲'),(127,'2021-09-13 06:00:00','32','多雲'),(128,'2021-09-13 06:00:00','32','多雲'),(129,'2021-09-13 06:00:00','32','多雲'),(130,'2021-09-13 06:00:00','32','多雲'),(131,'2021-09-13 06:00:00','32','多雲'),(132,'2021-09-13 06:00:00','32','多雲'),(133,'2021-09-13 06:00:00','32','多雲'),(134,'2021-09-13 06:00:00','32','多雲'),(135,'2021-09-13 06:00:00','32','多雲'),(136,'2021-09-13 06:00:00','32','多雲'),(137,'2021-09-13 06:00:00','32','多雲'),(138,'2021-09-13 06:00:00','32','多雲'),(139,'2021-09-13 06:00:00','32','多雲'),(140,'2021-09-13 06:00:00','32','多雲'),(141,'2021-09-13 06:00:00','32','多雲'),(142,'2021-09-13 06:00:00','32','多雲'),(143,'2021-09-13 06:00:00','32','多雲'),(144,'2021-09-13 06:00:00','32','多雲'),(145,'2021-09-13 06:00:00','32','多雲'),(146,'2021-09-13 06:00:00','32','多雲'),(147,'2021-09-13 06:00:00','32','多雲'),(148,'2021-09-13 06:00:00','32','多雲'),(149,'2021-09-13 06:00:00','32','多雲'),(150,'2021-09-13 06:00:00','32','多雲'),(151,'2021-09-13 06:00:00','32','多雲'),(152,'2021-09-13 06:00:00','32','多雲'),(153,'2021-09-13 06:00:00','32','多雲'),(154,'2021-09-13 06:00:00','32','多雲'),(155,'2021-09-13 06:00:00','32','多雲'),(156,'2021-09-13 06:00:00','32','多雲'),(157,'2021-09-13 06:00:00','32','多雲'),(158,'2021-09-13 06:00:00','32','多雲'),(159,'2021-09-13 06:00:00','32','多雲'),(160,'2021-09-13 06:00:00','32','多雲'),(161,'2021-09-13 06:00:00','32','多雲'),(162,'2021-09-13 06:00:00','32','多雲'),(163,'2021-09-13 06:00:00','32','多雲'),(164,'2021-09-13 06:00:00','32','多雲'),(165,'2021-09-13 06:00:00','32','多雲'),(166,'2021-09-13 06:00:00','32','多雲'),(167,'2021-09-13 06:00:00','32','多雲'),(168,'2021-09-13 06:00:00','32','多雲'),(169,'2021-09-13 06:00:00','32','多雲'),(170,'2021-09-13 06:00:00','32','多雲'),(171,'2021-09-13 06:00:00','32','多雲'),(172,'2021-09-13 06:00:00','32','多雲'),(173,'2021-09-13 06:00:00','32','多雲'),(174,'2021-09-13 06:00:00','32','多雲'),(175,'2021-09-13 06:00:00','32','多雲'),(176,'2021-09-13 06:00:00','32','多雲'),(177,'2021-09-13 06:00:00','32','多雲'),(178,'2021-09-13 06:00:00','32','多雲'),(179,'2021-09-13 06:00:00','32','多雲'),(180,'2021-09-13 06:00:00','32','多雲'),(181,'2021-09-13 06:00:00','32','多雲'),(182,'2021-09-13 06:00:00','32','多雲'),(183,'2021-09-13 06:00:00','32','多雲'),(184,'2021-09-13 06:00:00','32','多雲'),(185,'2021-09-13 06:00:00','32','多雲'),(186,'2021-09-14 18:00:00','29','多雲'),(187,'2021-09-14 18:00:00','29','多雲'),(188,'2021-09-14 18:00:00','29','多雲'),(189,'2021-09-14 18:00:00','29','多雲'),(190,'2021-09-14 18:00:00','29','多雲'),(191,'2021-09-14 18:00:00','29','多雲'),(192,'2021-09-14 18:00:00','29','多雲'),(193,'2021-09-14 18:00:00','29','多雲'),(194,'2021-09-14 18:00:00','29','多雲'),(195,'2021-09-14 18:00:00','29','多雲'),(196,'2021-09-14 18:00:00','29','多雲'),(197,'2021-09-14 18:00:00','29','多雲'),(198,'2021-09-14 18:00:00','29','多雲'),(199,'2021-09-14 18:00:00','29','多雲'),(200,'2021-09-14 18:00:00','29','多雲'),(201,'2021-09-14 18:00:00','29','多雲'),(202,'2021-09-14 18:00:00','29','多雲'),(203,'2021-09-14 18:00:00','29','多雲'),(204,'2021-09-14 18:00:00','29','多雲'),(205,'2021-09-14 18:00:00','29','多雲'),(206,'2021-09-14 18:00:00','29','多雲'),(207,'2021-09-14 18:00:00','29','多雲'),(208,'2021-09-14 18:00:00','29','多雲'),(209,'2021-09-14 18:00:00','29','多雲'),(210,'2021-09-14 18:00:00','29','多雲'),(211,'2021-09-14 18:00:00','29','多雲'),(212,'2021-09-14 18:00:00','29','多雲'),(213,'2021-09-14 18:00:00','29','多雲'),(214,'2021-09-14 18:00:00','29','多雲'),(215,'2021-09-14 18:00:00','29','多雲'),(216,'2021-09-14 18:00:00','29','多雲'),(217,'2021-09-14 18:00:00','29','多雲'),(218,'2021-09-14 18:00:00','29','多雲'),(219,'2021-09-14 18:00:00','29','多雲'),(220,'2021-09-14 18:00:00','29','多雲'),(221,'2021-09-14 18:00:00','29','多雲'),(222,'2021-09-14 18:00:00','29','多雲'),(223,'2021-09-14 18:00:00','29','多雲'),(224,'2021-09-14 18:00:00','29','多雲'),(225,'2021-09-14 18:00:00','29','多雲'),(226,'2021-09-14 18:00:00','29','多雲'),(227,'2021-09-14 18:00:00','29','多雲'),(228,'2021-09-14 18:00:00','29','多雲'),(229,'2021-09-14 18:00:00','29','多雲'),(230,'2021-09-14 18:00:00','29','多雲'),(231,'2021-09-14 18:00:00','29','多雲'),(232,'2021-09-14 18:00:00','29','多雲'),(233,'2021-09-14 18:00:00','29','多雲'),(234,'2021-09-14 18:00:00','29','多雲'),(235,'2021-09-14 18:00:00','29','多雲'),(236,'2021-09-14 18:00:00','29','多雲'),(237,'2021-09-14 18:00:00','29','多雲'),(238,'2021-09-14 18:00:00','29','多雲'),(239,'2021-09-14 18:00:00','29','多雲'),(240,'2021-09-14 18:00:00','29','多雲'),(241,'2021-09-14 18:00:00','29','多雲'),(242,'2021-09-14 18:00:00','29','多雲'),(243,'2021-09-14 18:00:00','29','多雲'),(244,'2021-09-14 18:00:00','29','多雲'),(245,'2021-09-14 18:00:00','29','多雲'),(246,'2021-09-14 18:00:00','29','多雲'),(247,'2021-09-14 18:00:00','29','多雲'),(248,'2021-09-14 18:00:00','29','多雲'),(249,'2021-09-14 18:00:00','29','多雲'),(250,'2021-09-14 18:00:00','29','多雲'),(251,'2021-09-14 18:00:00','29','多雲'),(252,'2021-09-14 18:00:00','29','多雲'),(253,'2021-09-14 18:00:00','29','多雲'),(254,'2021-09-14 18:00:00','29','多雲'),(255,'2021-09-14 18:00:00','29','多雲'),(256,'2021-09-14 18:00:00','29','多雲'),(257,'2021-09-14 18:00:00','29','多雲'),(258,'2021-09-14 18:00:00','29','多雲'),(259,'2021-09-14 18:00:00','29','多雲'),(260,'2021-09-14 18:00:00','29','多雲'),(261,'2021-09-14 18:00:00','29','多雲'),(262,'2021-09-14 18:00:00','29','多雲'),(263,'2021-09-14 18:00:00','29','多雲'),(264,'2021-09-14 18:00:00','29','多雲'),(265,'2021-09-14 18:00:00','29','多雲'),(266,'2021-09-14 18:00:00','29','多雲'),(267,'2021-09-14 18:00:00','29','多雲'),(268,'2021-09-14 18:00:00','29','多雲'),(269,'2021-09-14 18:00:00','29','多雲'),(270,'2021-09-14 18:00:00','29','多雲'),(271,'2021-09-14 18:00:00','29','多雲'),(272,'2021-09-14 18:00:00','29','多雲'),(273,'2021-09-14 18:00:00','29','多雲'),(274,'2021-09-14 18:00:00','29','多雲'),(275,'2021-09-14 18:00:00','29','多雲'),(276,'2021-09-14 18:00:00','29','多雲'),(277,'2021-09-14 18:00:00','29','多雲'),(278,'2021-09-14 18:00:00','29','多雲'),(279,'2021-09-14 18:00:00','29','多雲'),(280,'2021-09-14 18:00:00','29','多雲'),(281,'2021-09-14 18:00:00','29','多雲'),(282,'2021-09-14 18:00:00','29','多雲'),(283,'2021-09-14 18:00:00','29','多雲'),(284,'2021-09-14 18:00:00','29','多雲'),(285,'2021-09-14 18:00:00','29','多雲'),(286,'2021-09-14 18:00:00','29','多雲'),(287,'2021-09-14 18:00:00','29','多雲'),(288,'2021-09-14 18:00:00','29','多雲'),(289,'2021-09-14 18:00:00','29','多雲'),(290,'2021-09-14 18:00:00','29','多雲'),(291,'2021-09-14 18:00:00','29','多雲'),(292,'2021-09-14 18:00:00','29','多雲'),(293,'2021-09-14 18:00:00','29','多雲'),(294,'2021-09-14 18:00:00','29','多雲'),(295,'2021-09-14 18:00:00','29','多雲'),(296,'2021-09-14 18:00:00','29','多雲'),(297,'2021-09-14 18:00:00','29','多雲'),(298,'2021-09-14 18:00:00','29','多雲'),(299,'2021-09-14 18:00:00','29','多雲'),(300,'2021-09-14 18:00:00','29','多雲'),(301,'2021-09-14 18:00:00','29','多雲'),(302,'2021-09-14 18:00:00','29','多雲'),(303,'2021-09-14 18:00:00','29','多雲'),(304,'2021-09-14 18:00:00','29','多雲'),(305,'2021-09-14 18:00:00','29','多雲'),(306,'2021-09-14 18:00:00','29','多雲'),(307,'2021-09-14 18:00:00','29','多雲'),(308,'2021-09-14 18:00:00','29','多雲'),(309,'2021-09-14 18:00:00','29','多雲'),(310,'2021-09-14 18:00:00','29','多雲'),(311,'2021-09-14 18:00:00','29','多雲'),(312,'2021-09-14 18:00:00','29','多雲'),(313,'2021-09-14 18:00:00','29','多雲'),(314,'2021-09-14 18:00:00','29','多雲'),(315,'2021-09-14 18:00:00','29','多雲'),(316,'2021-09-14 18:00:00','29','多雲'),(317,'2021-09-14 18:00:00','29','多雲'),(318,'2021-09-14 18:00:00','29','多雲'),(319,'2021-09-14 18:00:00','29','多雲'),(320,'2021-09-14 18:00:00','29','多雲'),(321,'2021-09-14 18:00:00','29','多雲'),(322,'2021-09-14 18:00:00','29','多雲'),(323,'2021-09-14 18:00:00','29','多雲'),(324,'2021-09-14 18:00:00','29','多雲'),(325,'2021-09-14 18:00:00','29','多雲'),(326,'2021-09-14 18:00:00','29','多雲'),(327,'2021-09-14 18:00:00','29','多雲'),(328,'2021-09-14 18:00:00','29','多雲'),(329,'2021-09-14 18:00:00','29','多雲'),(330,'2021-09-14 18:00:00','29','多雲'),(331,'2021-09-14 18:00:00','29','多雲'),(332,'2021-09-14 18:00:00','29','多雲'),(333,'2021-09-14 18:00:00','29','多雲'),(334,'2021-09-14 06:00:00','32','多雲'),(335,'2021-09-14 06:00:00','32','多雲'),(336,'2021-09-14 06:00:00','32','多雲'),(337,'2021-09-14 06:00:00','32','多雲'),(338,'2021-09-14 06:00:00','32','多雲'),(339,'2021-09-14 06:00:00','32','多雲'),(340,'2021-09-14 06:00:00','32','多雲'),(341,'2021-09-14 06:00:00','32','多雲'),(342,'2021-09-14 06:00:00','32','多雲'),(343,'2021-09-14 06:00:00','32','多雲'),(344,'2021-09-14 06:00:00','32','多雲'),(345,'2021-09-14 06:00:00','32','多雲'),(346,'2021-09-14 06:00:00','32','多雲'),(347,'2021-09-14 06:00:00','32','多雲'),(348,'2021-09-14 06:00:00','32','多雲'),(349,'2021-09-14 06:00:00','32','多雲'),(350,'2021-09-14 06:00:00','32','多雲'),(351,'2021-09-14 06:00:00','32','多雲'),(352,'2021-09-14 06:00:00','32','多雲'),(353,'2021-09-14 06:00:00','32','多雲'),(354,'2021-09-14 06:00:00','32','多雲'),(355,'2021-09-14 06:00:00','32','多雲'),(356,'2021-09-14 06:00:00','32','多雲'),(357,'2021-09-14 06:00:00','32','多雲'),(358,'2021-09-14 06:00:00','32','多雲'),(359,'2021-09-14 06:00:00','32','多雲'),(360,'2021-09-14 06:00:00','32','多雲'),(361,'2021-09-14 06:00:00','32','多雲'),(362,'2021-09-14 06:00:00','32','多雲'),(363,'2021-09-14 06:00:00','32','多雲'),(364,'2021-09-14 06:00:00','32','多雲'),(365,'2021-09-14 06:00:00','32','多雲'),(366,'2021-09-14 06:00:00','32','多雲'),(367,'2021-09-14 06:00:00','32','多雲'),(368,'2021-09-14 06:00:00','32','多雲'),(369,'2021-09-14 06:00:00','32','多雲'),(370,'2021-09-14 06:00:00','32','多雲'),(371,'2021-09-14 06:00:00','32','多雲'),(372,'2021-09-14 06:00:00','32','多雲'),(373,'2021-09-14 06:00:00','32','多雲'),(374,'2021-09-14 06:00:00','32','多雲'),(375,'2021-09-14 06:00:00','32','多雲'),(376,'2021-09-14 06:00:00','32','多雲'),(377,'2021-09-14 06:00:00','32','多雲'),(378,'2021-09-14 06:00:00','32','多雲'),(379,'2021-09-14 06:00:00','32','多雲'),(380,'2021-09-14 06:00:00','32','多雲'),(381,'2021-09-14 06:00:00','32','多雲'),(382,'2021-09-14 06:00:00','32','多雲'),(383,'2021-09-14 06:00:00','32','多雲'),(384,'2021-09-14 06:00:00','32','多雲'),(385,'2021-09-14 06:00:00','32','多雲'),(386,'2021-09-14 06:00:00','32','多雲'),(387,'2021-09-14 06:00:00','32','多雲'),(388,'2021-09-14 06:00:00','32','多雲'),(389,'2021-09-14 06:00:00','32','多雲'),(390,'2021-09-14 06:00:00','32','多雲'),(391,'2021-09-14 06:00:00','32','多雲'),(392,'2021-09-14 06:00:00','32','多雲'),(393,'2021-09-14 06:00:00','32','多雲'),(394,'2021-09-14 06:00:00','32','多雲'),(395,'2021-09-14 06:00:00','32','多雲'),(396,'2021-09-14 06:00:00','32','多雲'),(397,'2021-09-14 06:00:00','32','多雲'),(398,'2021-09-14 06:00:00','32','多雲'),(399,'2021-09-14 06:00:00','32','多雲'),(400,'2021-09-14 06:00:00','32','多雲'),(401,'2021-09-14 06:00:00','32','多雲'),(402,'2021-09-14 06:00:00','32','多雲'),(403,'2021-09-14 06:00:00','32','多雲'),(404,'2021-09-14 06:00:00','32','多雲'),(405,'2021-09-14 06:00:00','32','多雲'),(406,'2021-09-14 06:00:00','32','多雲'),(407,'2021-09-14 06:00:00','32','多雲'),(408,'2021-09-14 06:00:00','32','多雲'),(409,'2021-09-14 06:00:00','32','多雲'),(410,'2021-09-14 06:00:00','32','多雲'),(411,'2021-09-14 06:00:00','32','多雲'),(412,'2021-09-14 06:00:00','32','多雲'),(413,'2021-09-14 06:00:00','32','多雲'),(414,'2021-09-14 06:00:00','32','多雲'),(415,'2021-09-14 06:00:00','32','多雲'),(416,'2021-09-14 06:00:00','32','多雲'),(417,'2021-09-14 06:00:00','32','多雲'),(418,'2021-09-14 06:00:00','32','多雲'),(419,'2021-09-14 06:00:00','32','多雲'),(420,'2021-09-14 06:00:00','32','多雲'),(421,'2021-09-14 06:00:00','32','多雲');

--
-- Table structure for table `monitor`
--

CREATE TABLE `monitor` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int NOT NULL,
  `admin_id` int NOT NULL,
  `terminal_id` int NOT NULL,
  `create_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

--
-- Dumping data for table `monitor`
--

INSERT INTO `monitor` VALUES (5,1,1,2,'2014-12-20 06:09:31'),(4,1,1,1,'2014-12-20 06:09:31'),(6,1,1,7,'2015-01-11 07:38:14'),(7,1,1,10,'2015-01-11 07:38:14');

--
-- Table structure for table `news_log`
--

CREATE TABLE `news_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `url_link` varchar(250) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `description` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `image` varchar(200) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `public_date` datetime NOT NULL,
  `create_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin COMMENT='新聞列表';

--
-- Dumping data for table `news_log`
--


--
-- Table structure for table `picture`
--

CREATE TABLE `picture` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int NOT NULL,
  `admin_id` int NOT NULL,
  `pic_code` varchar(10) NOT NULL,
  `pic_w` int DEFAULT NULL,
  `pic_h` int NOT NULL,
  `pic_topic` varchar(200) NOT NULL,
  `pic_name` varchar(200) DEFAULT NULL,
  `pic_name_md5` varchar(50) DEFAULT NULL,
  `pic_type` varchar(20) DEFAULT NULL,
  `pic_size` varchar(50) DEFAULT NULL,
  `pic_desc` text,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb3 COMMENT='圖片列表';

--
-- Dumping data for table `picture`
--

INSERT INTO `picture` VALUES (2,1,8,'P0002',2481,3509,'002','20200603154539456622.jpg','20200611133936178771.jpg','image/jpeg','825489','',1,1,'2020-06-03 15:45:39','2020-06-11 13:39:36'),(3,1,8,'P0003',2481,3509,'003','20200603154546716190.jpg','20200611134205738604.jpg','image/jpeg','641366','',2,1,'2020-06-03 15:45:46','2020-06-11 13:42:05'),(4,1,8,'P0004',2481,3509,'004','20200603154555890855.jpg','20200611134428688974.jpg','image/jpeg','451697','',3,1,'2020-06-03 15:45:55','2020-06-11 13:44:28'),(5,1,8,'P0005',2481,3509,'005','20200603154601227440.jpg','20200611134622521776.jpg','image/jpeg','560987','',4,1,'2020-06-03 15:46:01','2020-06-11 13:46:22'),(6,1,8,'P0006',2481,3509,'006','20200603154609693285.jpg','20200611135357281573.jpg','image/jpeg','538015','',5,1,'2020-06-03 15:46:09','2020-06-11 13:53:57'),(7,1,8,'P0007',409,408,'111','aaaa.jpg','20210419140612251098.jpg','image/jpeg','121062','',6,1,'2021-04-19 14:06:12','0000-00-00 00:00:00'),(8,1,8,'P0008',1912,861,'321','1619168326280.jpg','20210910090248881111.jpg','image/jpeg','281378','',7,1,'2021-09-10 09:02:48',NULL),(9,1,8,'P0009',1108,1478,'123','12495982109312.jpg','20211006070833760869.jpg','image/jpeg','396740','123',8,1,'2021-10-06 07:08:33',NULL);

--
-- Table structure for table `product`
--

CREATE TABLE `product` (
  `id` int NOT NULL AUTO_INCREMENT,
  `pic1` char(26) NOT NULL,
  `name1` varchar(50) NOT NULL,
  `point` mediumint unsigned NOT NULL,
  `sort_id` smallint unsigned NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `product`
--

INSERT INTO `product` VALUES (1,'20141030193338652191.jpg','MyCard-150點',1500,2,1,'2014-10-28 00:00:00','2014-10-31 00:09:20'),(2,'201410301951546897.jpg','MyCard-50點',500,1,1,'2014-10-28 00:00:00','2014-10-31 00:09:24'),(11,'20141030235705500885.jpg','MyCard-450點',4500,3,1,'2014-10-30 23:57:13','0000-00-00 00:00:00'),(12,'20141031000436548950.jpg','MyCard-500點',5000,4,1,'2014-10-31 00:04:46','0000-00-00 00:00:00'),(13,'20141031000531627991.jpg','MyCard-1000點',10000,5,1,'2014-10-31 00:05:39','0000-00-00 00:00:00'),(14,'2014103100061220997.jpg','MyCard-1150點',11500,6,1,'2014-10-31 00:06:21','0000-00-00 00:00:00'),(15,'20141031000647130310.jpg','MyCard-5000點',50000,7,1,'2014-10-31 00:06:52','0000-00-00 00:00:00');

--
-- Table structure for table `prog_list`
--

CREATE TABLE `prog_list` (
  `id` int NOT NULL AUTO_INCREMENT,
  `pid` int NOT NULL,
  `prog_code` varchar(20) NOT NULL,
  `prog_name` varchar(200) NOT NULL,
  `prog_url` varchar(100) NOT NULL,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb3 COMMENT='程式清單';

--
-- Dumping data for table `prog_list`
--

INSERT INTO `prog_list` VALUES (1,0,'TERMINAL','終端管理','/cms_terminal/monitor_list',2,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(2,0,'DATA','資料管理','/cms_data/data_list',3,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(3,0,'CONTENT','內容管理','/cms_content/content_list',4,0,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(4,0,'COMPANY','廠戶管理','/cms_company/company_list',5,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(5,0,'LOCATION','廠區管理','/cms_location/floor_list',6,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(6,1,'MONITOR_LIST','監控列表','/cms_terminal/monitor_list',1,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(7,1,'MONITOR_SCREEN','監控畫面','/cms_terminal/monitor_screen',2,0,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(8,1,'TERMINAL','終端機列表','/cms_terminal/terminal',4,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(9,1,'TERMINAL_SET','終端機設定','/cms_terminal/terminal_set',3,0,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(10,2,'VIDEO_LIST','影片列表','/cms_data/video',1,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(11,2,'PIC_LIST','圖片列表','/cms_data/pic',2,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(12,2,'MARQUEE','跑馬燈列表','/cms_data/marquee',3,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(13,2,'METEORO','氣象編輯','/cms_data/meteoro',4,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(14,2,'NEWS','新聞編輯','/cms_data/news',5,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(15,2,'FINANCE','財經編輯','/cms_data/finance',6,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(16,2,'CLOCK','時鐘編輯','/cms_data/clock',7,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(17,2,'TIMER','計時器編輯','/cms_data/timer',8,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(18,3,'EDITION_TYPE','編輯列表','',1,0,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(19,4,'COMPANY_LIST','廠戶列表','/cms_company/company',1,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(20,5,'FLOOR_LIST','樓層列表','/cms_location/floor_list',1,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(21,5,'TYPE_LIST','類型列表','/cms_location/class_list',2,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(22,5,'FACILITY_LIST','設施列表','/cms_location/facility_list',3,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(23,2,'SET','其它設定編輯','/cms_data/set_edit',9,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(24,0,'AUTH','帳號管理','/cms_auth/user',1,1,'2014-11-22 00:00:00','2014-11-22 00:00:00'),(25,24,'AUTH','帳號列表','/cms_auth/user',1,1,'2014-11-22 00:00:00','2014-11-22 00:00:00');

--
-- Table structure for table `pub_code`
--

CREATE TABLE `pub_code` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int DEFAULT NULL,
  `admin_id` int DEFAULT NULL,
  `kind_id` int NOT NULL,
  `code_code` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `code_name` text NOT NULL,
  `pic1` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=90 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `pub_code`
--

INSERT INTO `pub_code` VALUES (14,1,1,3,'Taipei_City','臺北市','',2,1,'2014-11-29 10:55:04','2014-11-29 12:19:10'),(15,1,1,3,'New_Taipei_City','新北市','',1,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(16,1,1,3,'Taichung_City','臺中市','',3,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(17,1,1,3,'Tainan_City','臺南市','',4,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(18,1,1,3,'Kaohsiung_City','高雄市','',5,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(19,1,1,3,'Keelung_City','基隆市','',6,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(20,1,1,3,'Taoyuan_County','桃園市','',7,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(21,1,1,3,'Hsinchu_City','新竹市','',8,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(22,1,1,3,'Hsinchu_County','新竹縣','',9,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(23,1,1,3,'Miaoli_County','苗栗縣','',10,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(24,1,1,3,'Changhua_County','彰化縣','',11,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(25,1,1,3,'Nantou_County','南投縣','',12,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(26,1,1,3,'Yunlin_County','雲林縣','',13,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(27,1,1,3,'Chiayi_City','嘉義市','',14,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(28,1,1,3,'Chiayi_County','嘉義縣','',15,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(29,1,1,3,'Pingtung_County','屏東縣','',16,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(30,1,1,3,'Yilan_County','宜蘭縣','',17,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(31,1,1,3,'Hualien_County','花蓮縣','',18,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(32,1,1,3,'Taitung_County','臺東縣','',19,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(33,1,1,3,'Penghu_County','澎湖縣','',20,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(34,1,1,3,'Kinmen_County','金門縣','',21,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(35,1,1,3,'Lienchiang_County','連江縣','',22,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(39,1,1,4,'google','http://news.google.com.tw/news?pz=1&cf=all&ned=tw&hl=zh-TW&output=rss','',14,1,'2014-11-29 12:36:10','2014-11-29 12:36:10'),(40,1,1,5,'華爾街','http://cn.wsj.com/big5/rss01.xml','',3,1,'2014-12-07 03:13:01','2014-12-07 03:13:01'),(50,1,1,6,'-12','國際換日線以西','',11,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(51,1,1,6,'-11','薩摩亞','',29,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(52,1,1,6,'-10','夏威夷','',31,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(53,1,1,6,'-9','阿拉斯加','',32,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(54,1,1,6,'-8','下加利福尼亞','',44,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(55,1,1,6,'-7','加拿大','',34,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(56,1,1,6,'-6','中美洲','',35,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(57,1,1,6,'-5','波哥大','',36,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(58,1,1,6,'-4','古雅巴','',37,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(59,1,1,6,'-3','紐芬蘭','',38,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(60,1,1,6,'-2','大西洋中部','',39,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(61,1,1,6,'-1','亞速爾群島','',40,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(62,1,1,6,'0','倫敦','',41,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(63,1,1,6,'+1','中西非','',42,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(64,1,1,6,'+2','巴黎','',43,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(65,1,1,6,'+3','巴格達','',45,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(66,1,1,6,'+4','巴庫','',46,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(67,1,1,6,'+5','伊斯蘭馬巴德','',47,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(68,1,1,6,'+6','新西伯利亞','',48,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(69,1,1,6,'+7','曼谷','',49,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(70,1,1,6,'+8','台北','',50,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(71,1,1,6,'+9','東京','',51,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(72,1,1,6,'+10','布里斯本','',52,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(73,1,1,6,'+11','索羅門群島','',53,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(74,1,1,6,'+12','斐濟','',54,1,'2014-11-29 10:55:04','2014-11-29 10:55:04'),(81,1,1,7,'logo','','',6,1,'2015-01-03 09:07:57','2015-01-03 09:07:57'),(82,1,1,7,'system_name1','','',22,1,'2015-01-03 09:07:57','2015-01-03 09:07:57'),(83,1,1,7,'system_name2','','',30,1,'2015-01-03 09:07:57','2015-01-03 09:07:57'),(84,1,1,7,'footer','','',33,1,'2015-01-03 09:07:57','2015-01-03 09:07:57'),(86,1,1,4,'民視','http://news.ftv.com.tw/hinetnews/ftvnews.xml','',26,1,'2014-11-29 12:36:10','2014-11-29 12:36:10'),(88,1,8,1,NULL,'1',NULL,1,1,'2021-09-10 09:29:55',NULL),(89,1,8,2,NULL,'4',NULL,1,1,'2021-09-10 09:30:08',NULL);

--
-- Table structure for table `pub_kind`
--

CREATE TABLE `pub_kind` (
  `id` int NOT NULL AUTO_INCREMENT,
  `kind_code` varchar(20) NOT NULL,
  `kind_name` varchar(100) NOT NULL,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `pub_kind`
--

INSERT INTO `pub_kind` VALUES (1,'FLOOR','樓層',1,1,'2014-11-23 00:00:00','2014-11-23 00:00:00'),(2,'CLASS','類型',2,1,'2014-11-23 00:00:00','2014-11-23 00:00:00'),(3,'METEORO','氣象',3,1,'2014-11-23 00:00:00','2014-11-23 00:00:00'),(4,'NEWS','新聞',4,1,'2014-11-23 00:00:00','2014-11-23 00:00:00'),(5,'FINANCE','財經',5,1,'2014-11-23 00:00:00','2014-11-23 00:00:00'),(6,'CLOCK_AREA','時區',6,1,'2014-11-23 00:00:00','2014-11-23 00:00:00'),(7,'SET','其它設定',7,1,'2014-11-23 00:00:00','2014-11-23 00:00:00');

--
-- Table structure for table `sys_config`
--

CREATE TABLE `sys_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sys_code` varchar(20) NOT NULL,
  `sys_key` varchar(20) NOT NULL,
  `sys_value` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `sys_config`
--

INSERT INTO `sys_config` VALUES (1,'COMPANY_NAME','公司名稱','新保技'),(2,'SIDEBAR_SWITCH','查詢側欄','0'),(3,'PAGE_SWITCH','頁籤','0');

--
-- Table structure for table `terminal`
--

CREATE TABLE `terminal` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int NOT NULL,
  `admin_id` int NOT NULL,
  `layout_id` int NOT NULL,
  `terminal_code` varchar(20) NOT NULL,
  `topic` varchar(200) NOT NULL,
  `pic1` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  `pic2` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  `pic3` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  `system_name` varchar(100) NOT NULL,
  `system_desc` varchar(100) NOT NULL,
  `version` varchar(100) NOT NULL,
  `amount` int NOT NULL DEFAULT '0',
  `protect_type` varchar(50) NOT NULL COMMENT '螢幕保護類型',
  `protect_sec` int NOT NULL COMMENT '螢幕保護秒數',
  `protect_type_2` varchar(20) NOT NULL DEFAULT 'gohome',
  `protect_sec_2` int NOT NULL DEFAULT '0',
  `sort_id` int NOT NULL,
  `right_function` varchar(50) DEFAULT NULL,
  `duty_1` varchar(50) DEFAULT NULL,
  `duty_2` varchar(50) DEFAULT NULL,
  `duty_3` varchar(50) DEFAULT NULL,
  `duty_4` varchar(50) DEFAULT NULL,
  `duty_5` varchar(50) DEFAULT NULL,
  `duty_6` varchar(50) DEFAULT NULL,
  `func_weather` int DEFAULT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb3 COMMENT='終端機資料';

--
-- Dumping data for table `terminal`
--

INSERT INTO `terminal` VALUES (1,1,8,2,'No.1','Company','','','','0','0','0',1,'refresh',120,'refresh',120,1,'search','','','','','','',14,1,'2020-01-20 18:21:53','2020-05-05 11:17:21'),(2,1,8,8,'','','','','','0','0','0',5,'refresh',130,'refresh',130,2,'other','王曉明','陳氏結','','','','',0,1,'2020-03-03 11:37:02','2021-03-04 14:54:16'),(3,1,8,10,'test','test','','','','0','0','0',5,'refresh',120,'refresh',120,3,'other','','','1231231','','','',15,1,'2020-07-09 15:47:47','2020-07-09 15:51:12'),(4,1,8,1,'test2','test','','','','0','0','0',2,'refresh',120,'refresh',120,4,'other','','','','','','',0,1,'2020-07-09 17:07:54','2020-07-09 17:09:38'),(5,1,8,10,'test1','test','','','','0','0','0',5,'refresh',120,'refresh',120,5,'search','','','','','','',0,1,'2020-07-09 17:32:26','2020-07-09 17:33:45'),(6,1,8,8,'test','test','','','','0','0','0',0,'refresh',120,'refresh',120,6,'search',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'2020-07-09 18:10:42','0000-00-00 00:00:00'),(7,1,8,8,'test','test','','','','0','0','0',5,'refresh',120,'refresh',120,7,'search','','','','','','',15,1,'2020-07-09 18:11:15','2020-07-09 18:13:36'),(8,1,8,1,'DEMO','DEMO','','','','0','0','0',2,'refresh',120,'refresh',120,8,'search','','','','','','',0,1,'2021-07-14 14:35:14','2021-07-22 11:13:30'),(9,1,8,1,'1','1','','','','0','0','0',0,'refresh',120,'refresh',120,9,'search',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'2021-09-10 08:58:12',NULL),(10,1,8,1,'1','1','','','','0','0','0',0,'refresh',120,'refresh',120,10,'search',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'2021-09-10 08:58:57',NULL),(11,1,8,1,'1','1','','','','0','0','0',0,'refresh',120,'refresh',120,11,'search',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'2021-09-10 08:59:17',NULL),(12,1,8,2,'2','2','','','','0','0','0',0,'refresh',120,'refresh',120,12,'search',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'2021-09-10 08:59:34',NULL),(13,1,8,1,'test','test','','','','0','0','0',2,'refresh',120,'refresh',120,13,'search','','','','','','',0,1,'2021-09-28 10:03:02','2021-09-28 10:15:06'),(14,1,8,2,'abc123','abc123','','','','0','0','0',1,'refresh',120,'refresh',120,14,'search','','','','','','',0,1,'2021-10-06 06:44:14','2021-10-06 07:04:43');

--
-- Table structure for table `terminal_item`
--

CREATE TABLE `terminal_item` (
  `id` int NOT NULL AUTO_INCREMENT,
  `terminal_id` int NOT NULL,
  `layout_item_id` int NOT NULL,
  `item_type` varchar(20) DEFAULT NULL,
  `play_type` tinyint DEFAULT NULL,
  `timer` int DEFAULT NULL,
  `moniter_type` tinyint DEFAULT NULL,
  `is_protect` tinyint DEFAULT NULL COMMENT '是否為營幕保護',
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8mb3 COMMENT='監視器細項';

--
-- Dumping data for table `terminal_item`
--

INSERT INTO `terminal_item` VALUES (1,51,3,'meteoro',0,0,1,0,1,1,'2016-09-26 21:49:04','0000-00-00 00:00:00'),(2,51,0,'',0,0,1,0,2,0,'2016-09-26 21:49:04','0000-00-00 00:00:00'),(3,51,0,'',0,0,1,0,3,0,'2016-09-26 21:49:04','0000-00-00 00:00:00'),(4,51,0,'',0,0,1,0,4,0,'2016-09-26 21:49:04','0000-00-00 00:00:00'),(5,51,0,'',0,0,1,0,5,0,'2016-09-26 21:49:04','0000-00-00 00:00:00'),(6,51,0,'',0,0,1,1,1,0,'2016-09-26 21:49:04','0000-00-00 00:00:00'),(7,1,3,'video',0,0,1,0,1,1,'2020-01-20 18:21:53','0000-00-00 00:00:00'),(8,1,0,'',0,0,1,0,2,0,'2020-01-20 18:21:53','0000-00-00 00:00:00'),(9,1,0,'',0,0,1,0,3,0,'2020-01-20 18:21:53','0000-00-00 00:00:00'),(10,1,0,'',0,0,1,0,4,0,'2020-01-20 18:21:53','0000-00-00 00:00:00'),(11,1,0,'',0,0,1,0,5,0,'2020-01-20 18:21:53','0000-00-00 00:00:00'),(12,1,0,'',0,0,1,1,1,0,'2020-01-20 18:21:53','0000-00-00 00:00:00'),(13,2,21,'pic',2,10,3,0,1,1,'2020-03-03 11:37:02','0000-00-00 00:00:00'),(14,2,22,'',0,0,1,0,2,1,'2020-03-03 11:37:02','0000-00-00 00:00:00'),(15,2,23,'',0,0,1,0,3,1,'2020-03-03 11:37:02','0000-00-00 00:00:00'),(16,2,24,'',0,0,1,0,4,1,'2020-03-03 11:37:02','0000-00-00 00:00:00'),(17,2,25,'marquee',0,0,1,0,5,1,'2020-03-03 11:37:02','0000-00-00 00:00:00'),(18,2,0,'',0,0,1,1,1,0,'2020-03-03 11:37:02','0000-00-00 00:00:00'),(19,3,31,'video',0,0,1,0,1,1,'2020-07-09 15:47:47','0000-00-00 00:00:00'),(20,3,32,'pic',0,0,3,0,2,1,'2020-07-09 15:47:47','0000-00-00 00:00:00'),(21,3,33,'',0,0,1,0,3,1,'2020-07-09 15:47:47','0000-00-00 00:00:00'),(22,3,34,'',0,0,1,0,4,1,'2020-07-09 15:47:47','0000-00-00 00:00:00'),(23,3,35,'marquee',0,0,1,0,5,1,'2020-07-09 15:47:47','0000-00-00 00:00:00'),(24,3,0,'',0,0,1,1,1,0,'2020-07-09 15:47:47','0000-00-00 00:00:00'),(25,4,1,'pic',2,5,2,0,1,1,'2020-07-09 17:07:54','0000-00-00 00:00:00'),(26,4,2,'',0,0,1,0,2,1,'2020-07-09 17:07:54','0000-00-00 00:00:00'),(27,4,0,'',0,0,1,0,3,0,'2020-07-09 17:07:54','0000-00-00 00:00:00'),(28,4,0,'',0,0,1,0,4,0,'2020-07-09 17:07:54','0000-00-00 00:00:00'),(29,4,0,'',0,0,1,0,5,0,'2020-07-09 17:07:54','0000-00-00 00:00:00'),(30,4,0,'',0,0,1,1,1,0,'2020-07-09 17:07:54','0000-00-00 00:00:00'),(31,5,31,'video',0,0,1,0,1,1,'2020-07-09 17:32:26','0000-00-00 00:00:00'),(32,5,32,'timer',0,0,1,0,2,1,'2020-07-09 17:32:26','0000-00-00 00:00:00'),(33,5,33,'meteoro',0,0,1,0,3,1,'2020-07-09 17:32:26','0000-00-00 00:00:00'),(34,5,34,'clock',0,0,1,0,4,1,'2020-07-09 17:32:26','0000-00-00 00:00:00'),(35,5,35,'marquee',0,0,1,0,5,1,'2020-07-09 17:32:26','0000-00-00 00:00:00'),(36,5,0,'',0,0,1,1,1,0,'2020-07-09 17:32:26','0000-00-00 00:00:00'),(37,6,21,NULL,NULL,NULL,NULL,0,1,1,'2020-07-09 18:10:42','0000-00-00 00:00:00'),(38,6,22,NULL,NULL,NULL,NULL,0,2,1,'2020-07-09 18:10:42','0000-00-00 00:00:00'),(39,6,23,NULL,NULL,NULL,NULL,0,3,1,'2020-07-09 18:10:42','0000-00-00 00:00:00'),(40,6,24,NULL,NULL,NULL,NULL,0,4,1,'2020-07-09 18:10:42','0000-00-00 00:00:00'),(41,6,25,NULL,NULL,NULL,NULL,0,5,1,'2020-07-09 18:10:42','0000-00-00 00:00:00'),(42,6,0,NULL,NULL,NULL,NULL,1,1,1,'2020-07-09 18:10:42','0000-00-00 00:00:00'),(43,7,21,'pic',2,5,2,0,1,1,'2020-07-09 18:11:15','0000-00-00 00:00:00'),(44,7,22,'',0,0,1,0,2,1,'2020-07-09 18:11:15','0000-00-00 00:00:00'),(45,7,23,'',0,0,1,0,3,1,'2020-07-09 18:11:15','0000-00-00 00:00:00'),(46,7,24,'',0,0,1,0,4,1,'2020-07-09 18:11:15','0000-00-00 00:00:00'),(47,7,25,'marquee',0,0,1,0,5,1,'2020-07-09 18:11:15','0000-00-00 00:00:00'),(48,7,0,'',0,0,1,1,1,0,'2020-07-09 18:11:15','0000-00-00 00:00:00'),(49,8,1,'video',0,0,1,0,1,1,'2021-07-14 14:35:14','0000-00-00 00:00:00'),(50,8,2,'marquee',0,0,1,0,2,1,'2021-07-14 14:35:14','0000-00-00 00:00:00'),(51,8,0,'',0,0,1,0,3,0,'2021-07-14 14:35:14','0000-00-00 00:00:00'),(52,8,0,'',0,0,1,0,4,0,'2021-07-14 14:35:14','0000-00-00 00:00:00'),(53,8,0,'',0,0,1,0,5,0,'2021-07-14 14:35:14','0000-00-00 00:00:00'),(54,8,0,'',0,0,1,1,1,0,'2021-07-14 14:35:14','0000-00-00 00:00:00'),(55,11,1,NULL,NULL,NULL,NULL,NULL,1,0,'2021-09-10 08:59:17',NULL),(56,11,2,NULL,NULL,NULL,NULL,NULL,2,0,'2021-09-10 08:59:17',NULL),(57,11,0,NULL,NULL,NULL,NULL,NULL,3,0,'2021-09-10 08:59:17',NULL),(58,11,0,NULL,NULL,NULL,NULL,NULL,4,0,'2021-09-10 08:59:17',NULL),(59,11,0,NULL,NULL,NULL,NULL,NULL,5,0,'2021-09-10 08:59:17',NULL),(60,11,0,NULL,NULL,NULL,NULL,1,1,1,'2021-09-10 08:59:17',NULL),(61,12,3,NULL,NULL,NULL,NULL,NULL,1,1,'2021-09-10 08:59:34',NULL),(62,12,0,NULL,NULL,NULL,NULL,NULL,2,0,'2021-09-10 08:59:34',NULL),(63,12,0,NULL,NULL,NULL,NULL,NULL,3,0,'2021-09-10 08:59:34',NULL),(64,12,0,NULL,NULL,NULL,NULL,NULL,4,0,'2021-09-10 08:59:34',NULL),(65,12,0,NULL,NULL,NULL,NULL,NULL,5,0,'2021-09-10 08:59:34',NULL),(66,12,0,NULL,NULL,NULL,NULL,1,1,1,'2021-09-10 08:59:34',NULL),(67,13,1,'pic',0,10,1,NULL,1,1,'2021-09-28 10:03:02',NULL),(68,13,2,NULL,NULL,NULL,NULL,NULL,2,0,'2021-09-28 10:03:02',NULL),(69,13,0,NULL,NULL,NULL,NULL,NULL,3,0,'2021-09-28 10:03:02',NULL),(70,13,0,NULL,NULL,NULL,NULL,NULL,4,0,'2021-09-28 10:03:02',NULL),(71,13,0,NULL,NULL,NULL,NULL,NULL,5,0,'2021-09-28 10:03:02',NULL),(72,13,0,NULL,NULL,NULL,NULL,1,1,1,'2021-09-28 10:03:02',NULL),(73,14,3,'video',0,0,1,NULL,1,1,'2021-10-06 06:44:14',NULL),(74,14,0,'',0,0,1,NULL,2,0,'2021-10-06 06:44:14',NULL),(75,14,0,'',0,0,1,NULL,3,0,'2021-10-06 06:44:14',NULL),(76,14,0,'',0,0,1,NULL,4,0,'2021-10-06 06:44:14',NULL),(77,14,0,'',0,0,1,NULL,5,0,'2021-10-06 06:44:14',NULL),(78,14,0,'pic',0,0,1,1,1,0,'2021-10-06 06:44:14',NULL);

--
-- Table structure for table `terminal_item_sub`
--

CREATE TABLE `terminal_item_sub` (
  `id` int NOT NULL AUTO_INCREMENT,
  `terminal_item_id` int NOT NULL,
  `code_id` int NOT NULL,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime DEFAULT NULL,
  `modify_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=58 DEFAULT CHARSET=utf8mb3 COMMENT='區塊選擇內容';

--
-- Dumping data for table `terminal_item_sub`
--

INSERT INTO `terminal_item_sub` VALUES (6,1,15,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(9,7,1,1,1,'2020-04-30 13:24:25','0000-00-00 00:00:00'),(27,13,2,1,1,'2020-06-11 14:06:07','0000-00-00 00:00:00'),(28,13,3,2,1,'2020-06-11 14:06:07','0000-00-00 00:00:00'),(29,13,4,3,1,'2020-06-11 14:06:07','0000-00-00 00:00:00'),(30,13,5,4,1,'2020-06-11 14:06:07','0000-00-00 00:00:00'),(31,13,6,5,1,'2020-06-11 14:06:07','0000-00-00 00:00:00'),(34,19,1,1,1,'2020-07-09 15:47:55','0000-00-00 00:00:00'),(35,20,2,1,1,'2020-07-09 15:48:03','0000-00-00 00:00:00'),(38,23,1,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(39,25,3,1,1,'2020-07-09 17:08:31','0000-00-00 00:00:00'),(40,25,4,2,1,'2020-07-09 17:08:31','0000-00-00 00:00:00'),(41,25,5,3,1,'2020-07-09 17:08:31','0000-00-00 00:00:00'),(42,25,6,4,1,'2020-07-09 17:08:31','0000-00-00 00:00:00'),(43,31,1,1,1,'2020-07-09 17:33:22','0000-00-00 00:00:00'),(44,32,5,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(45,33,15,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(46,34,4,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(47,35,1,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(48,43,4,1,1,'2020-07-09 18:11:31','0000-00-00 00:00:00'),(49,47,1,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(51,17,1,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(52,49,2,1,1,'2021-07-22 11:13:23','0000-00-00 00:00:00'),(53,50,1,1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(55,78,4,1,1,'2021-10-06 07:00:27',NULL),(57,73,3,1,1,'2021-10-06 07:04:37',NULL);

--
-- Table structure for table `timer`
--

CREATE TABLE `timer` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int NOT NULL,
  `admin_id` int NOT NULL,
  `timer_code` varchar(10) NOT NULL,
  `topic` varchar(200) NOT NULL,
  `detail` text NOT NULL,
  `r_year` varchar(4) NOT NULL,
  `r_month` varchar(2) NOT NULL,
  `r_day` varchar(2) NOT NULL,
  `r_hour` varchar(2) NOT NULL,
  `r_min` varchar(2) NOT NULL,
  `r_sec` varchar(2) NOT NULL,
  `full_date` varchar(20) NOT NULL,
  `default_type` tinyint NOT NULL COMMENT '1加2減',
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COMMENT='倒數計時';

--
-- Dumping data for table `timer`
--

INSERT INTO `timer` VALUES (4,1,1,'T0004','倒數計時抬頭','倒數計時描述','2015','1','31','17','00','00','2015-01-31 17:00:00',1,1,1,'2014-12-07 14:50:18','2015-08-04 04:57:07'),(5,1,8,'T0005','加計時','13','2015','7','1','00','00','00','2015-07-01 00:00:00',1,2,1,'2015-02-04 11:03:00','0000-00-00 00:00:00'),(6,1,8,'T0006','5','5','2021','1','1','00','00','00','2021-01-01 00:00:00',1,3,1,'2021-09-10 09:07:27',NULL);

--
-- Table structure for table `user`
--

CREATE TABLE `user` (
  `id` int NOT NULL AUTO_INCREMENT,
  `device_id` varchar(255) NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `user`
--


--
-- Table structure for table `video`
--

CREATE TABLE `video` (
  `id` int NOT NULL AUTO_INCREMENT,
  `parent_admin_id` int NOT NULL,
  `admin_id` int NOT NULL,
  `video_code` varchar(10) NOT NULL,
  `default_play` varchar(10) NOT NULL,
  `video_w` int DEFAULT NULL,
  `video_h` int NOT NULL,
  `video_topic` varchar(200) NOT NULL,
  `video_name` varchar(200) DEFAULT NULL,
  `video_name_md5` varchar(50) DEFAULT NULL,
  `video_type` varchar(20) DEFAULT NULL,
  `video_size` varchar(50) DEFAULT NULL,
  `youtube_code` varchar(100) DEFAULT NULL,
  `video_desc` text,
  `start_hour` varchar(5) DEFAULT NULL,
  `start_min` varchar(5) DEFAULT NULL,
  `start_sec` int NOT NULL,
  `end_hour` varchar(5) DEFAULT NULL,
  `end_min` varchar(5) DEFAULT NULL,
  `end_sec` int NOT NULL,
  `sort_id` int NOT NULL,
  `status` tinyint NOT NULL,
  `create_date` datetime NOT NULL,
  `modify_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COMMENT='影片列表';

--
-- Dumping data for table `video`
--

INSERT INTO `video` VALUES (1,1,8,'V0001','upload',0,0,'10秒影片','黃阿瑪的後宮生活-十秒喵喵影片.mp4','20200303113732426122.mp4','video/mp4','1637050','','','00','00',1,'00','00',15,1,1,'2020-03-03 11:37:32','2020-03-03 11:39:41'),(2,1,8,'V0002','upload',600,400,'新保影片','新保.mp4','20210722111304291646.mp4','video/mp4','42062782','','','00','00',1,'00','03',0,2,1,'2021-07-22 11:13:04','0000-00-00 00:00:00'),(3,1,8,'V0003','upload',123,123,'123','修繕人員看派工資料.mp4','20210910090145183178.mp4','video/mp4','1068696','','','00','00',0,'23','00',0,3,1,'2021-09-10 09:01:45',NULL),(4,1,8,'V0004','youtube',321,321,'123','',NULL,'','','321','','00','00',0,'01','00',0,4,1,'2021-09-10 09:02:05',NULL);


