diff --git a/README.md b/README.md index 2e995722..5c34b28e 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,3 @@ pig - - - diff --git a/doc/pig.sql b/doc/pig.sql index bbd60953..5c698f34 100644 --- a/doc/pig.sql +++ b/doc/pig.sql @@ -11,7 +11,7 @@ Target Server Version : 50721 File Encoding : utf-8 - Date: 05/12/2018 00:14:55 AM + Date: 05/21/2018 11:56:13 AM */ SET NAMES utf8; @@ -36,14 +36,6 @@ CREATE TABLE `JOB_EXECUTION_LOG` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; --- ---------------------------- --- Records of `JOB_EXECUTION_LOG` --- ---------------------------- -BEGIN; -INSERT INTO `JOB_EXECUTION_LOG` VALUES ('00bb7b84-5f66-4b36-b13d-7798ee6d4ff7', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 19:00:00', '2018-05-11 19:00:00'), ('01d31f4d-457c-41cf-b81c-d90fe74b1edd', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 15:00:00', '2018-05-11 15:00:00'), ('020fa499-0acf-4bbd-bef0-9bcebe21ba09', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 10:00:00', '2018-05-11 10:00:00'), ('0442a765-c82b-43a6-8be4-f91eaab8d671', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 10:00:00', '2018-05-11 10:00:00'), ('071cb37d-217c-4fde-8a8d-4a4018a7ce24', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 10:00:00', '2018-05-11 10:00:00'), ('08091389-12df-4214-86a0-97c4876415f9', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-12 00:00:00', '2018-05-12 00:00:00'), ('0a5965b8-5a63-4a3a-9dcf-a5b91f3f73b6', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 04:00:00', '2018-05-10 04:00:00'), ('0a92f17f-7dc1-4b98-b422-6aba4fa92dba', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 11:00:00', '2018-05-10 11:00:00'), ('0b3c3c9d-a3e3-4ba1-931b-c880c80f5ee4', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 12:00:00', '2018-05-10 12:00:00'), ('0b50c30a-8064-44d3-8974-8b1e6de54146', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 16:00:00', '2018-05-10 16:00:00'), ('0ca96da4-246d-4f05-a687-02ae6260f9ed', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 17:00:00', '2018-05-11 17:00:00'), ('0ce557c5-9d8d-47d3-be84-0b280507e7f0', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 21:00:00', '2018-05-10 21:00:00'), ('0d3a4c50-705d-4861-8973-826b847b5f66', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 02:00:00', '2018-05-10 02:00:00'), ('0f4c35cd-6926-421b-bcad-4454cd5e5b4d', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 22:00:00', '2018-05-11 22:00:00'), ('0fffd529-4ea6-4178-a899-322a595ecfad', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 22:00:00', '2018-05-11 22:00:00'), ('114786ad-116b-459d-a363-1ae0145e6837', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 03:00:00', '2018-05-11 03:00:00'), ('118b4167-1487-45e4-a226-6b6a09ed4b26', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 08:00:00', '2018-05-11 08:00:00'), ('121ae209-fe3b-4fb3-b780-3d721dc362f0', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 05:00:00', '2018-05-11 05:00:00'), ('12927b3f-a476-4165-bc7b-418a831ac741', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 16:00:00', '2018-05-10 16:00:00'), ('1455a6a3-8237-4f52-bb41-d063dc8f0ba1', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 20:00:00', '2018-05-10 20:00:00'), ('147e88c7-0ab9-477d-aa6e-ff2b3cf84da6', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 16:00:00', '2018-05-11 16:00:00'), ('15d85c3b-c283-4989-95a9-88af28a976ec', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 12:00:00', '2018-05-10 12:00:00'), ('164bb440-aaf0-4ae3-8337-c5bd4c3177b4', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 09:00:00', '2018-05-10 09:00:00'), ('18046d67-f63d-41e5-9985-245dba3bcde0', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 11:00:00', '2018-05-11 11:00:00'), ('1851758a-dd0d-4f66-bbec-add1d01f3a3d', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 16:00:00', '2018-05-10 16:00:00'), ('18a8b214-c151-45a5-8703-cf5682b906f4', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 02:00:00', '2018-05-11 02:00:00'), ('1964cbf9-8c32-4557-a60a-2be388f82db9', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 01:00:00', '2018-05-10 01:00:00'), ('19724741-ecd7-4071-87be-f4c70026fd52', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 19:00:00', '2018-05-10 19:00:00'), ('1a351b3a-04d6-4e94-ae6e-bbd0e3fa9f98', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 18:00:00', '2018-05-11 18:00:00'), ('1ab9de15-e7df-4cd1-b670-075e8abbc4b8', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 05:00:00', '2018-05-10 05:00:00'), ('1bd5f5bb-2e9e-42cc-bc43-dc9325f76ece', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 08:00:00', '2018-05-11 08:00:00'), ('1c8586e0-899b-4572-a969-1a0cc53fbe6e', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 06:00:00', '2018-05-10 06:00:00'), ('1ca90050-9002-4622-a17d-e5575e74815c', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 07:00:00', '2018-05-10 07:00:00'), ('1d04d34b-c6ce-457e-991f-d8b5b7d954e5', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 22:00:00', '2018-05-11 22:00:00'), ('1e0800dc-2a58-4c7c-853d-aa00f592c5f4', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 17:00:00', '2018-05-11 17:00:00'), ('205a001a-1a3d-449c-befd-7bf3c733c8b0', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 07:00:00', '2018-05-11 07:00:00'), ('233847fe-a7d8-4686-8d78-ef9e4ca85204', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 13:00:00', '2018-05-11 13:00:00'), ('23b5be34-d195-46c1-a360-cc91d7e2edba', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 13:00:00', '2018-05-11 13:00:00'), ('23d14354-a1ab-48f2-8442-5393d354481a', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 15:00:00', '2018-05-11 15:00:00'), ('2567fe8f-4db9-45c6-81b6-f01fe3092ffe', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 02:00:00', '2018-05-11 02:00:00'), ('256ecf1e-7f3d-48ea-845d-56785d9baa40', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 05:00:00', '2018-05-10 05:00:00'), ('25954ac4-235c-4d4f-acb1-307ec5b3485f', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 05:00:00', '2018-05-11 05:00:00'), ('25f0e705-d8d7-41de-9746-4678dedc04ae', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 14:00:00', '2018-05-11 14:00:00'), ('27477bac-dfae-4893-ad4a-27044a2a5543', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 11:00:00', '2018-05-10 11:00:00'), ('2b0ab7ff-91b8-477f-a61e-11bd85cb54c5', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 09:00:00', '2018-05-10 09:00:00'), ('2b85985b-7b57-4317-9636-3d2813c0443b', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 15:00:00', '2018-05-11 15:00:00'), ('2b939584-fd21-490a-b795-8c12d1dd9513', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 15:00:00', '2018-05-10 15:00:00'), ('2d1febba-cf18-4016-9ad9-15a26c636c5d', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 08:00:00', '2018-05-10 08:00:00'), ('2e25e7f6-88c9-483b-aaca-6a0c0e44168e', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 05:00:00', '2018-05-11 05:00:00'), ('2e35dfb9-332d-474c-8f9c-033e87b69fac', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 01:00:00', '2018-05-11 01:00:00'), ('2edbd2fd-0fe7-4453-a757-25cdb4bb3049', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 21:00:00', '2018-05-10 21:00:00'), ('2f3bf417-e35d-4f4c-aab2-31e6707949f7', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 13:00:00', '2018-05-10 13:00:00'), ('30c2eadd-7aa7-47a3-bf8e-d442811ca77e', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 17:00:00', '2018-05-10 17:00:00'), ('314fa761-a8c3-410d-8ad0-dfe8953416da', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 00:00:00', '2018-05-11 00:00:00'), ('35fa0391-9178-40b3-a29d-12c530d7d058', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 21:00:00', '2018-05-11 21:00:00'), ('36b16a82-13c6-4224-bc58-36e0091b8ebf', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 02:00:00', '2018-05-10 02:00:00'), ('36f02fde-1397-4c95-8304-2f4806d68639', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 03:00:00', '2018-05-10 03:00:00'), ('37698634-6551-4762-bd24-6bb65ccc61e9', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 06:00:00', '2018-05-11 06:00:00'), ('398332b9-4557-4dbf-8995-b4fe49730948', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 17:00:00', '2018-05-11 17:00:00'), ('3b6780b0-eb59-4355-baf6-3e463cc94add', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 01:00:00', '2018-05-11 01:00:00'), ('3be821dd-0427-4698-84c3-2527b23fa433', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 09:00:00', '2018-05-11 09:00:00'), ('3dfe1da2-dccb-41b0-9d15-ff836a4ee666', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 22:00:00', '2018-05-10 22:00:00'), ('406e5f81-60d7-425c-b3a0-8633f8c5ea54', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 16:00:00', '2018-05-10 16:00:00'), ('40ee5889-3c89-409e-be9b-8b265df35b65', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 18:00:00', '2018-05-10 18:00:00'), ('41735b66-6e27-43a2-9ea7-b26c61ebc9e6', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 18:00:00', '2018-05-10 18:00:00'), ('420809a1-449e-4092-973a-45dd730b2fc0', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 02:00:00', '2018-05-11 02:00:00'), ('4211ad6f-431d-4ee2-868a-0bf774b1c7d8', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 02:00:00', '2018-05-11 02:00:00'), ('45ab383c-2991-4b61-85ee-5cfaad9bcb85', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 08:00:00', '2018-05-11 08:00:00'), ('48993673-3c97-436c-b55b-abd91ccb99a5', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 14:00:00', '2018-05-11 14:00:00'), ('4972ade1-6761-4845-85a6-cded3f836e79', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 01:00:00', '2018-05-11 01:00:00'), ('4bf1f2c1-13c8-460e-9c67-1a1f971ade1e', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 22:00:00', '2018-05-10 22:00:00'), ('4c72a597-254c-40f3-9a86-52947ad864ef', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 17:00:00', '2018-05-10 17:00:00'), ('4d256137-f273-4791-9192-a141137c5052', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 05:00:00', '2018-05-11 05:00:00'), ('4d82f334-d6f5-41a5-92f8-97bb3ca6fe51', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 03:00:00', '2018-05-10 03:00:00'), ('4e383f5b-3727-4527-9378-8ad7763883f9', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 20:00:00', '2018-05-11 20:00:00'), ('4fbfd71d-93ba-4185-8462-d6eea1e9fd31', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 20:00:00', '2018-05-10 20:00:00'), ('4fe3d8fe-4526-443f-b41d-3dbf6d56096e', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 08:00:00', '2018-05-11 08:00:00'), ('5097f9de-dc7c-4645-949e-228fb5089ad5', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 04:00:00', '2018-05-10 04:00:00'), ('50f5006a-c8e5-465f-8e19-6a085eaaf746', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 09:00:00', '2018-05-11 09:00:00'), ('50fda64b-217d-4f28-9acd-da5b6dfa1e39', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 22:00:00', '2018-05-10 22:00:00'), ('51aa4eca-7e55-4d36-9d0f-a44cd82d4eae', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 23:00:00', '2018-05-11 23:00:00'), ('520073e3-13a5-4a34-8f43-e2d52243ee8a', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 18:00:00', '2018-05-10 18:00:00'), ('52bbe8fb-4e4d-4f05-9ad8-8537e71dbeb0', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 15:00:00', '2018-05-10 15:00:00'), ('531b7de3-bf6d-40f2-9cef-71256d351f1b', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 09:00:00', '2018-05-11 09:00:00'), ('536ebb6d-52b4-4247-80cf-568f3550c314', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 07:00:00', '2018-05-11 07:00:00'), ('545929e4-dab1-41ad-869f-5533c998e227', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 19:00:00', '2018-05-10 19:00:00'), ('550993e5-80c5-4b11-8e63-aa4428f957c5', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 16:00:00', '2018-05-11 16:00:00'), ('56d108c1-db03-4e26-8f37-c095845bf7c3', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 06:00:00', '2018-05-10 06:00:00'), ('584969ac-d078-4c67-9617-a4dd7a738201', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 12:00:00', '2018-05-10 12:00:00'), ('58bb1407-34ef-4999-bcb3-284732de1a4e', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 07:00:00', '2018-05-10 07:00:00'), ('58d50fff-08bb-4742-bef1-339227d058aa', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 04:00:00', '2018-05-10 04:00:00'), ('592988cd-0c4b-4c56-aab0-2002bb5e177e', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 20:00:00', '2018-05-10 20:00:00'), ('595b4e28-ee71-49ad-b412-113684e00dff', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 16:00:00', '2018-05-11 16:00:00'), ('5983303e-5463-451d-ac0f-fa209bf37a34', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 10:00:00', '2018-05-11 10:00:00'), ('5ae8e0eb-6e85-436b-b5c4-e812247f4b10', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 10:00:00', '2018-05-10 10:00:00'), ('5b15b34d-93e8-49f1-bda8-3a6fc41daae3', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 19:00:00', '2018-05-11 19:00:00'), ('5c085597-261f-4abc-90a6-68804683b588', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 20:00:00', '2018-05-11 20:00:00'), ('5c4473e2-e18d-47e9-9917-38e156feb9c9', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 05:00:00', '2018-05-10 05:00:00'), ('5e05b687-67c9-4e78-8d7b-e857eb7bdbfd', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 15:00:00', '2018-05-10 15:00:00'), ('61673924-9ce8-4550-846a-61605746da17', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 00:00:00', '2018-05-10 00:00:00'), ('62a0e525-a8ca-4871-bc81-8083c47bb181', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 09:00:00', '2018-05-11 09:00:00'), ('6308d2af-9bd7-49ec-b6b9-851a8f8bb3d7', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 00:00:00', '2018-05-10 00:00:00'), ('637e173f-7b56-4eb5-92ff-2dcf0f2edb7d', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 02:00:00', '2018-05-11 02:00:00'), ('6458f460-af5e-409e-b070-af5996a71508', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 05:00:00', '2018-05-11 05:00:00'), ('64f42b7b-6553-4cd7-b5bd-ee8d7fdd40b8', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 23:00:00', '2018-05-11 23:00:00'), ('66859382-d736-4860-9b9b-ec58d7f2eb2b', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 04:00:00', '2018-05-10 04:00:00'), ('68c73383-7181-44de-84c1-9e042b8f4e54', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 17:00:00', '2018-05-11 17:00:00'), ('690d0a88-c127-43c3-83d9-bd9660423ab9', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 23:00:00', '2018-05-10 23:00:00'), ('69335c49-0841-4593-b569-677bfd00368b', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 17:00:00', '2018-05-10 17:00:00'), ('6a14bdcd-4330-4ed4-80ca-dfc2e85ddb84', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 08:00:00', '2018-05-11 08:00:00'), ('6c3dc481-22f6-4cfa-8168-dab2b1f09b7d', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 09:00:00', '2018-05-10 09:00:00'), ('6e040471-8195-45eb-a3bf-ed02974d4f88', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 17:00:00', '2018-05-11 17:00:00'), ('6e163704-4828-49c7-8c2b-6c26225adf68', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 16:00:00', '2018-05-10 16:00:00'), ('6efa0833-2fae-46d2-91d4-61ed06884a68', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 22:00:00', '2018-05-10 22:00:00'), ('701566a1-1909-4aa3-80ba-ad483dac8497', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 15:00:00', '2018-05-11 15:00:00'), ('71b04f61-5662-4a87-8481-1d0271382d7a', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 11:00:00', '2018-05-10 11:00:00'), ('72126a62-e470-4d84-bf86-ec62fca88e1e', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 21:00:00', '2018-05-11 21:00:00'), ('7331d704-6356-40e7-9717-ea2f69d476be', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 03:00:00', '2018-05-10 03:00:00'), ('73632a0e-100c-4dea-8993-da9c9f94adb3', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-12 00:00:00', '2018-05-12 00:00:00'), ('73fba86f-d7ba-4903-97e2-49d808b7ea56', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 14:00:00', '2018-05-10 14:00:00'), ('7447b241-06a3-4bf3-ae7d-79275bc47481', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 01:00:00', '2018-05-10 01:00:00'), ('7467e122-ebb0-4d62-9e9a-fb4d63def63a', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 12:00:00', '2018-05-10 12:00:00'), ('74fe92ef-edd9-4bbe-8cf9-2485897b0021', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 23:00:00', '2018-05-10 23:00:00'), ('76166b13-e2f7-4cc9-8321-e7a0867c9323', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 07:00:00', '2018-05-11 07:00:00'), ('778985a3-122b-46d3-a73f-9e9982622e50', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 14:00:00', '2018-05-10 14:00:00'), ('77ac0e51-189b-4bc7-8b4c-147ff7063304', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 00:00:00', '2018-05-11 00:00:00'), ('797f32a7-e572-45cc-a627-a57fa9bcf6d8', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 11:00:00', '2018-05-11 11:00:00'), ('798e378c-6eda-44e1-b057-f9aa82914a2c', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 19:00:00', '2018-05-10 19:00:00'), ('7a7cb120-7b7b-430a-ac08-dcacfa9c2a74', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 11:00:00', '2018-05-11 11:00:00'), ('7a879d2d-3b76-440d-9083-79a63dec211c', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 17:00:00', '2018-05-10 17:00:00'), ('7c934c10-c4da-420e-8a47-b3d93c74a5d9', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 22:00:00', '2018-05-11 22:00:00'), ('7f6d92d5-5a11-4bf2-992f-f7dcd9b2be76', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 21:00:00', '2018-05-10 21:00:00'), ('7f8611f1-f3f6-454e-9a69-de9c72c5337b', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 01:00:00', '2018-05-11 01:00:00'), ('7fbd12f1-0c72-45f1-9086-2102113cf7a7', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 08:00:00', '2018-05-10 08:00:00'), ('80e8adf4-443b-4705-a3de-58eb3e04a78a', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 11:00:00', '2018-05-10 11:00:00'), ('81ce2843-926b-44c8-af0b-0bd2f3fefa84', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 19:00:00', '2018-05-10 19:00:00'), ('8246149e-4466-4b07-bb2c-2236795b69c0', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 14:00:00', '2018-05-11 14:00:00'), ('82af55a9-d08e-4919-8ec8-9a68b3283d74', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 15:00:00', '2018-05-10 15:00:00'), ('83066ff9-a100-49c2-b6c9-6a4227295863', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 08:00:00', '2018-05-11 08:00:00'), ('84446e84-3449-4989-a05a-9dc0ffa68633', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 05:00:00', '2018-05-10 05:00:00'), ('850a3138-7c62-4a80-8e58-aa70d7d8ca56', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 23:00:00', '2018-05-10 23:00:00'), ('873fb457-f8ba-4b4a-aa0c-100d5633fc7e', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 08:00:00', '2018-05-10 08:00:00'), ('8819fc75-06aa-46ca-a280-ac6831ec73bf', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 18:00:00', '2018-05-10 18:00:00'), ('88468fbf-89a3-471d-8660-bb104acc17f2', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 12:00:00', '2018-05-11 12:00:00'), ('898e7626-2087-404b-a276-1f11dc45ab0d', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 13:00:00', '2018-05-10 13:00:00'), ('89925030-3351-4d06-a504-6dde17de0f77', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 05:00:00', '2018-05-10 05:00:00'), ('89adde08-ac90-437e-8157-3738bd364dc3', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 12:00:00', '2018-05-11 12:00:00'), ('89b30d4b-9736-4d6d-b78d-a5c52b9fe1d3', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 12:00:00', '2018-05-10 12:00:00'), ('8a37e354-f3c7-489d-80a8-88ca7af0340b', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 12:00:00', '2018-05-11 12:00:00'), ('8a5b395c-d621-4f02-b5ee-1b7ab5825e4d', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 23:00:00', '2018-05-11 23:00:00'), ('8b415838-24cf-4f41-b0d2-886fbc6830eb', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 20:00:00', '2018-05-11 20:00:00'), ('8c7e828b-0a0d-425c-a6c6-3ab1317a8afb', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 00:00:00', '2018-05-10 00:00:00'), ('8cb31dd4-a3c8-4c32-836a-71e1bd462fc4', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 14:00:00', '2018-05-11 14:00:00'), ('904910d7-4e66-4400-b209-b46f69624c90', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 13:00:00', '2018-05-11 13:00:00'), ('915db375-b14d-4d83-bee2-056aa68ab807', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 19:00:00', '2018-05-10 19:00:00'), ('93a688e8-3b3f-46c0-b1c1-afdec65c1e89', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 01:00:00', '2018-05-11 01:00:00'), ('9455203d-ab5f-4880-962a-8acbf8c73615', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 06:00:00', '2018-05-11 06:00:00'), ('957cedcc-b3e5-485b-bd4a-ea162f01a192', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 17:00:00', '2018-05-11 17:00:00'), ('9704c494-7afa-4103-91e8-589d172a878c', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 01:00:00', '2018-05-10 01:00:00'), ('9749f3e3-f845-4d8a-84cc-57cc52b3eab5', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 21:00:00', '2018-05-11 21:00:00'), ('97913742-c62b-44d6-a295-92feca084793', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 00:00:00', '2018-05-11 00:00:00'), ('98c23fd6-d7a5-4c21-a0a8-dd38261d1d38', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-12 00:00:00', '2018-05-12 00:00:00'), ('9906f9f7-0f4d-4389-9b6f-fdd6c12e7ebb', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 03:00:00', '2018-05-11 03:00:00'), ('9a33b72d-4498-4c14-845f-86eec0c1ed8a', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 04:00:00', '2018-05-11 04:00:00'), ('9bad32f5-c1fb-4c7d-a1d3-091386284f12', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 10:00:00', '2018-05-11 10:00:00'), ('9c76839c-fd8d-431b-8582-c0e76d650c40', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 13:00:00', '2018-05-10 13:00:00'), ('9c7c6d51-c906-4ba5-a6b7-7d6ce2a790db', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 17:00:00', '2018-05-10 17:00:00'), ('9c872c04-acaf-49c1-89dd-95838a80d72c', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 21:00:00', '2018-05-10 21:00:00'), ('9cad2d13-5b61-4ff7-ac1c-4ab2561f5f3e', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 19:00:00', '2018-05-11 19:00:00'), ('9ce19276-82e2-4391-b8e9-83c4d1447d1d', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 18:00:00', '2018-05-11 18:00:00'), ('9d9d242b-de6b-4b0a-80c9-ce4794115e57', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 03:00:00', '2018-05-11 03:00:00'), ('9db1cbb1-a8ce-4679-9ac5-0bf761be70b0', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 01:00:00', '2018-05-10 01:00:00'), ('9df3f9cf-e5b8-462c-9510-a0aa69489612', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 02:00:00', '2018-05-11 02:00:00'), ('9e7a57d5-289f-488f-87ff-c87ac669db2e', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 20:00:00', '2018-05-11 20:00:00'), ('9eb6419a-7674-4d8b-9c0a-215826c48d5b', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 10:00:00', '2018-05-10 10:00:00'), ('9f10d155-9ce6-41b7-b4e3-491b21405289', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 09:00:00', '2018-05-10 09:00:00'), ('9f32b9f0-b390-4100-a02e-203d26e247f1', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 16:00:00', '2018-05-11 16:00:00'), ('9f6efcfa-7f33-43a4-ad7b-fda3c867eaf9', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 02:00:00', '2018-05-10 02:00:00'), ('a006869f-32a8-4e7d-b075-7f1fe67b4338', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 18:00:00', '2018-05-11 18:00:00'), ('a16a7b38-a16d-4a29-b69f-cf278426e5f6', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 03:00:00', '2018-05-11 03:00:00'), ('a28032d5-cbf2-4727-a4d8-bbdb7ba4c033', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 20:00:00', '2018-05-11 20:00:00'), ('a3800339-5d4c-4f78-8e9a-9210fb1cd229', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 21:00:00', '2018-05-11 21:00:00'), ('a426d7db-38c0-4ec8-9126-f730602e92f3', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 21:00:00', '2018-05-10 21:00:00'), ('a48c7d2c-0cc1-4b37-ae0a-e50c461e68d5', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 09:00:00', '2018-05-10 09:00:00'), ('a5b67cde-84f8-4fd1-ac4f-929d26d6b766', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 00:00:00', '2018-05-11 00:00:00'), ('a68c7d15-30a4-40c4-ac17-38c238b60675', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 19:00:00', '2018-05-10 19:00:00'), ('a6b1f363-3ca9-4acf-8897-70559233ab60', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-12 00:00:00', '2018-05-12 00:00:00'), ('a78c8d3c-ed45-422b-a42c-855c8f9ade6a', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 13:00:00', '2018-05-10 13:00:00'), ('a7ed347e-5f48-445d-9e85-43eafb5088bb', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 02:00:00', '2018-05-10 02:00:00'), ('a80fc06f-746d-4a7b-9f48-aafbd7e0fd0c', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 21:00:00', '2018-05-10 21:00:00'), ('a8c3ba82-9d5b-40e2-a97b-3727e47560a5', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 16:00:00', '2018-05-10 16:00:00'), ('a8d09ff6-cc43-4b02-ace7-e5fac7b732b5', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 13:00:00', '2018-05-11 13:00:00'), ('aa345112-6cf7-4201-9418-53d8fd4bd950', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 06:00:00', '2018-05-10 06:00:00'), ('ac04e269-a4fe-47fc-98c0-38e57615c73c', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 22:00:00', '2018-05-10 22:00:00'), ('ac214efb-0ef5-42f6-b105-43b876e85f6b', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-12 00:00:00', '2018-05-12 00:00:00'), ('aceddb1a-a76b-4c25-b74f-1d1197aebdf7', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 11:00:00', '2018-05-10 11:00:00'), ('ae424750-949e-4d7e-9e40-dc65fbb528da', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 15:00:00', '2018-05-11 15:00:00'), ('aff16c75-23e1-40e0-9ea6-1a78dafac8ee', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 07:00:00', '2018-05-11 07:00:00'), ('b0038ba4-cbd5-4ff6-879d-57b5dfb04a5c', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 00:00:00', '2018-05-10 00:00:00'), ('b008a27f-6755-483d-bfa3-c6edff0eb7a1', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 16:00:00', '2018-05-11 16:00:00'), ('b02b22e4-5ac9-44bc-853d-47d0fc2b3f1a', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 08:00:00', '2018-05-10 08:00:00'), ('b0b9a54d-620c-4374-840a-c6e26be5ea09', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 04:00:00', '2018-05-10 04:00:00'), ('b229d707-96ad-44f4-9cff-d4c6db66a6e3', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 03:00:00', '2018-05-11 03:00:00'), ('b38b9624-c75d-448c-a372-b72deda3d063', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 23:00:00', '2018-05-11 23:00:00'), ('b4823664-7909-4b28-ac19-f7df854d9a0e', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 12:00:00', '2018-05-11 12:00:00'), ('b5c5f62a-968d-4c17-891e-0aa28dedb029', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 21:00:00', '2018-05-11 21:00:00'), ('b5ffe430-678d-411c-9fe8-3529a90b903f', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 06:00:00', '2018-05-11 06:00:00'), ('b62de8b7-2b29-4233-879c-12d84312699b', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 08:00:00', '2018-05-10 08:00:00'), ('b78da966-2abd-45c6-b6c4-ff4f9f6dc804', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 03:00:00', '2018-05-10 03:00:00'), ('b813435b-c52e-4fd0-98ba-f4009c34c3f4', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 11:00:00', '2018-05-10 11:00:00'), ('b99aebd8-775f-4cb6-9594-d29d5bd012ff', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 07:00:00', '2018-05-10 07:00:00'), ('ba2a3895-27ab-4593-89ea-4c7003c3bcf5', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 01:00:00', '2018-05-11 01:00:00'), ('ba75b6b0-ce3b-40b6-a417-3a5f804beac6', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 05:00:00', '2018-05-11 05:00:00'), ('ba81ea50-2892-42c8-a261-5fc059d1ae6c', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 07:00:00', '2018-05-10 07:00:00'), ('bab6b43a-5baf-4d36-b103-cc882738fe77', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 18:00:00', '2018-05-11 18:00:00'), ('bae46994-22e7-4918-b1fe-84b1cfaf792e', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 22:00:00', '2018-05-10 22:00:00'), ('bb1e7e42-8b74-420d-8df8-0824c824ffdf', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 06:00:00', '2018-05-10 06:00:00'), ('bbd62aaa-cf76-4ed2-8554-3f87b6a43c43', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 21:00:00', '2018-05-11 21:00:00'), ('bcb5dccf-2a3e-47ea-95c9-6f0fc91f3b7b', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 02:00:00', '2018-05-10 02:00:00'), ('bd765644-95b8-43cb-a776-1f18d24aa0ca', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 00:00:00', '2018-05-11 00:00:00'), ('bf567db8-b8af-436d-89d6-f8861ae41ad6', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 04:00:00', '2018-05-11 04:00:00'), ('c19ae304-a958-4c29-8a77-b02b45d3bf03', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 06:00:00', '2018-05-10 06:00:00'), ('c45805e0-9ffb-4dd4-8351-b203b377b7f5', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 15:00:00', '2018-05-10 15:00:00'); -INSERT INTO `JOB_EXECUTION_LOG` VALUES ('c48b702b-251f-417f-99d7-28691e739dcc', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 23:00:00', '2018-05-10 23:00:00'), ('c493cf22-9deb-485f-a76a-813302d33f95', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 00:00:00', '2018-05-10 00:00:00'), ('c6db89be-5c8c-4868-8aeb-f9b1b752a5b2', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 01:00:00', '2018-05-10 01:00:00'), ('c72c0af3-6d32-464b-9cbc-4190218c9c1c', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 17:00:00', '2018-05-10 17:00:00'), ('c76d20e7-a73f-40b0-8137-584284fd671a', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 04:00:00', '2018-05-11 04:00:00'), ('c7a1705d-cc07-4689-b248-e00e05427de8', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 15:00:00', '2018-05-11 15:00:00'), ('c7a586d9-a158-49b6-955d-65c27bf6816b', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 05:00:00', '2018-05-10 05:00:00'), ('c877033f-f89f-4c03-9884-c3dd869577b8', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 09:00:00', '2018-05-11 09:00:00'), ('c8aa0413-f29f-4c46-ae6d-fb2da04ef04f', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 06:00:00', '2018-05-11 06:00:00'), ('c98d7686-fc74-4111-86f0-27cbd52a86ce', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 18:00:00', '2018-05-10 18:00:00'), ('c9b6a6e2-6f8f-43e3-b582-415902392b93', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 04:00:00', '2018-05-11 04:00:00'), ('caee7064-f1f9-44c2-a544-c5044d46f94e', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-12 00:00:00', '2018-05-12 00:00:00'), ('cb89a27c-4f70-46cd-b01d-1a594a8a7df4', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 12:00:00', '2018-05-11 12:00:00'), ('cbb07e18-18a4-4d51-bee4-93c21b1691a9', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 10:00:00', '2018-05-11 10:00:00'), ('cc537476-70db-485f-b96b-e4f09de04117', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 10:00:00', '2018-05-10 10:00:00'), ('cd37f555-2db9-477f-9f36-9f5d82cd4e3d', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 12:00:00', '2018-05-11 12:00:00'), ('cd67f721-fc39-4499-b743-adf8ae917cc5', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 00:00:00', '2018-05-11 00:00:00'), ('cda7f7a9-f233-4e05-bacb-6d451ad37454', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 06:00:00', '2018-05-10 06:00:00'), ('cdf1fd89-c75f-48d5-a7a9-7883c35fc7c7', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 00:00:00', '2018-05-10 00:00:00'), ('ce21e790-86ef-4b0d-b97d-b86aebf38b36', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 20:00:00', '2018-05-11 20:00:00'), ('ce5208d4-ceef-494e-bd67-31f8c2f80229', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 12:00:00', '2018-05-10 12:00:00'), ('ce6f8579-f5bf-4e8e-8929-ed88102b6093', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 07:00:00', '2018-05-10 07:00:00'), ('cecc3cb7-4f03-4c99-b472-96009a854b3c', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 06:00:00', '2018-05-11 06:00:00'), ('d5c8d1b9-daaf-44f3-81a0-4ea621b52197', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 13:00:00', '2018-05-11 13:00:00'), ('d799d058-3dca-4881-bde8-33caabc2edc9', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 10:00:00', '2018-05-10 10:00:00'), ('d7e1ebb5-e6c0-4712-baac-271615bdf33d', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 18:00:00', '2018-05-10 18:00:00'), ('d879cce3-0c4f-4b03-aea0-5568a5449177', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 09:00:00', '2018-05-11 09:00:00'), ('d8d67907-7506-4335-853e-a280bff6da0f', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 14:00:00', '2018-05-10 14:00:00'), ('d92a679b-3e25-43c6-b29a-a7da503dd8e2', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 20:00:00', '2018-05-10 20:00:00'), ('d99e42f7-d61c-4b00-8539-d1e66b28f348', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 20:00:00', '2018-05-10 20:00:00'), ('da8eb171-b057-4c09-9437-20c09651a824', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 13:00:00', '2018-05-10 13:00:00'), ('dc9adbb1-762b-4ab6-989f-b13333a124b0', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 04:00:00', '2018-05-10 04:00:00'), ('dcc4c42b-e75b-4c1b-9aff-e1f35c76a2ea', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 18:00:00', '2018-05-11 18:00:00'), ('ddab938c-8ef6-4560-9374-77cb1324f109', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 03:00:00', '2018-05-10 03:00:00'), ('dddd069d-b2ba-4240-b8dc-7567da511786', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 23:00:00', '2018-05-11 23:00:00'), ('deea1abb-47e6-4228-a725-1660e4a72d25', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 10:00:00', '2018-05-10 10:00:00'), ('df235dc2-a7da-43a5-ab20-056c93be5b10', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 09:00:00', '2018-05-10 09:00:00'), ('e23e88ed-81b1-4bff-a549-63cb3d4c5128', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 11:00:00', '2018-05-11 11:00:00'), ('e28faab8-1225-4419-84d5-984152d942c1', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 23:00:00', '2018-05-10 23:00:00'), ('e404075d-e842-4b3b-8c06-be0ad243f295', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 02:00:00', '2018-05-10 02:00:00'), ('e49b7213-23c2-4a17-97a0-0ca159cae2df', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 11:00:00', '2018-05-11 11:00:00'), ('e57ea9ef-9e79-4615-990b-014f4c908948', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 18:00:00', '2018-05-11 18:00:00'), ('e60e3021-1390-4b09-a4a1-1fef3be40722', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 07:00:00', '2018-05-10 07:00:00'), ('e9135e19-0d0a-4a08-90b4-d961e2520b0a', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 23:00:00', '2018-05-11 23:00:00'), ('ea207dad-5184-4d38-a34f-1c6376cbc722', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 13:00:00', '2018-05-11 13:00:00'), ('ea23f0a2-5ff3-49f1-bf3d-504f5621da30', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 14:00:00', '2018-05-10 14:00:00'), ('ea713be2-3295-41a3-bce3-c908ff9fe61a', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 16:00:00', '2018-05-11 16:00:00'), ('ef0f7b17-2265-45b6-b86c-d59aec04be15', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 10:00:00', '2018-05-10 10:00:00'), ('f036ca78-d915-4aa8-99b9-bcaa711351da', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 06:00:00', '2018-05-11 06:00:00'), ('f0f4cb19-3afd-4e94-8ccf-938cb7381647', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 01:00:00', '2018-05-10 01:00:00'), ('f10b9a2f-4670-478f-92ce-9f2e014bf8b4', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 13:00:00', '2018-05-10 13:00:00'), ('f12cfe77-9e4b-4938-a85a-2703439e8267', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 20:00:00', '2018-05-10 20:00:00'), ('f12e5ccd-8189-4753-8906-cd48646c8d0d', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 04:00:00', '2018-05-11 04:00:00'), ('f137b93c-1884-48f8-87d3-db0d2d5c3989', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 22:00:00', '2018-05-11 22:00:00'), ('f28b6b63-7e18-4a4f-8a86-01f407802618', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 19:00:00', '2018-05-11 19:00:00'), ('f2bba875-e3a3-4050-9b46-56b8323ec25f', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 19:00:00', '2018-05-11 19:00:00'), ('f55089ea-305e-44fb-a313-f2c0347a90b3', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 11:00:00', '2018-05-11 11:00:00'), ('f5d8eb17-74a1-49e5-b5dc-5dbf97953451', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 14:00:00', '2018-05-11 14:00:00'), ('f6271859-278c-49de-a5c0-9859fcbef3d2', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-10 14:00:00', '2018-05-10 14:00:00'), ('f7b54cf0-0645-4eb9-9f74-31e27f108446', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 19:00:00', '2018-05-11 19:00:00'), ('f8a7ddad-127b-47a9-ba2d-6190542a144c', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 23:00:00', '2018-05-10 23:00:00'), ('f92420cd-198a-4e75-9d45-51ad4a3dbf74', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 07:00:00', '2018-05-11 07:00:00'), ('fac1b091-3d90-4449-bfab-156d050658f0', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 03:00:00', '2018-05-11 03:00:00'), ('fb64aa6c-c08f-48f4-80ba-2f14fce05efc', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 03:00:00', '2018-05-10 03:00:00'), ('fb8743cb-719b-4fa5-b217-905586dd4265', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 04:00:00', '2018-05-11 04:00:00'), ('fbc54a80-d10f-4634-baa3-4f3ac632a36d', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-11 22:00:00', '2018-05-11 22:00:00'), ('fbf6d05c-d622-4a22-b5a0-aced9056c119', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '2', 'NORMAL_TRIGGER', null, '1', '2018-05-10 15:00:00', '2018-05-10 15:00:00'), ('fd5ea56a-b51f-4b46-9a36-8c1a33c04cc7', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-11 07:00:00', '2018-05-11 07:00:00'), ('fd83f593-774d-44a9-8ad2-6f0b98fa04cd', 'com.github.pig.daemon.job.DemoSimpleJob', 'com.github.pig.daemon.job.DemoSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@9983', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '0', 'NORMAL_TRIGGER', null, '1', '2018-05-11 14:00:00', '2018-05-11 14:00:00'), ('fe56ffa3-c724-4820-b6ce-1aa6cc62364d', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 08:00:00', '2018-05-10 08:00:00'), ('feb29aa9-6044-41f8-8ae9-06faf52faf8c', 'com.github.pig.daemon.job.PigSimpleJob', 'com.github.pig.daemon.job.PigSimpleJob@-@0,1,2@-@READY@-@139.224.200.249@-@22133', 'iZuf67kf3vjkywias79fzgZ', '139.224.200.249', '1', 'NORMAL_TRIGGER', null, '1', '2018-05-10 14:00:00', '2018-05-10 14:00:00'); -COMMIT; - -- ---------------------------- -- Table structure for `JOB_STATUS_TRACE_LOG` -- ---------------------------- @@ -64,33 +56,6 @@ CREATE TABLE `JOB_STATUS_TRACE_LOG` ( KEY `TASK_ID_STATE_INDEX` (`task_id`,`state`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; --- ---------------------------- --- Table structure for `sys_UserConnection` --- ---------------------------- -DROP TABLE IF EXISTS `sys_UserConnection`; -CREATE TABLE `sys_UserConnection` ( - `userId` varchar(128) CHARACTER SET utf8mb4 NOT NULL, - `providerId` varchar(128) CHARACTER SET utf8mb4 NOT NULL, - `providerUserId` varchar(128) CHARACTER SET utf8mb4 NOT NULL, - `rank` int(11) NOT NULL, - `displayName` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL, - `profileUrl` varchar(512) CHARACTER SET utf8mb4 DEFAULT NULL, - `imageUrl` varchar(512) CHARACTER SET utf8mb4 DEFAULT NULL, - `accessToken` varchar(512) CHARACTER SET utf8mb4 NOT NULL, - `secret` varchar(512) CHARACTER SET utf8mb4 DEFAULT NULL, - `refreshToken` varchar(512) CHARACTER SET utf8mb4 DEFAULT NULL, - `expireTime` bigint(20) DEFAULT NULL, - PRIMARY KEY (`userId`,`providerId`,`providerUserId`), - UNIQUE KEY `UserConnectionRank` (`userId`,`providerId`,`rank`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; - --- ---------------------------- --- Records of `sys_UserConnection` --- ---------------------------- -BEGIN; -INSERT INTO `sys_UserConnection` VALUES ('B86F3FDF72CD481F4AA094A2345BF446', 'qq', 'B86F3FDF72CD481F4AA094A2345BF446', '1', '冷冷', null, 'http://q.qlogo.cn/qqapp/101322838/B86F3FDF72CD481F4AA094A2345BF446/40', 'E09B51404CDC276F463D05DF1C573514', null, 'B30A1C7C8601259F220807DD2EAA412E', '1524300218147'); -COMMIT; - -- ---------------------------- -- Table structure for `sys_dept` -- ---------------------------- @@ -187,13 +152,6 @@ CREATE TABLE `sys_log_0` ( KEY `sys_log_create_date` (`create_time`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='日志表'; --- ---------------------------- --- Records of `sys_log_0` --- ---------------------------- -BEGIN; -INSERT INTO `sys_log_0` VALUES ('994972340860190722', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:07:46', null, '223.21.98.41', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/95771526054865053', 'GET', '', '13', '0', null), ('994972344404377602', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:07:47', null, '223.21.98.41', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/51761526054865902', 'GET', '', '11', '0', null), ('994972359608729602', '9', '', 'pig-auth', 'anonymousUser', '2018-05-12 00:07:50', null, '223.21.98.41', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/auth/oauth/token', 'POST', 'password=%5B123456%5D&randomStr=%5B51761526054865902%5D&code=%5Bnaga%5D&grant_type=%5Bpassword%5D&scope=%5Bserver%5D&username=%5Bpig%5D', '33', '0', '{\"error\":\"unauthorized\",\"error_description\":null}'), ('994972382794842114', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:07:56', null, '223.21.98.41', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/30851526054875038', 'GET', '', '11', '0', null), ('994972398531870722', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:08:00', null, '223.21.98.41', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/31271526054878679', 'GET', '', '12', '0', null), ('994972823872045058', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:09:41', null, '113.120.98.205', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36', '/admin/code/46221526054981099', 'GET', '', '11', '0', null), ('994972840238219266', '9', '', 'pig-auth', 'anonymousUser', '2018-05-12 00:09:45', null, '113.120.98.205', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36', '/auth/oauth/token', 'POST', 'password=%5B123456%5D&randomStr=%5B46221526054981099%5D&code=%5B17nn%5D&grant_type=%5Bpassword%5D&scope=%5Bserver%5D&username=%5Bpig%5D', '17', '0', '{\"error\":\"unauthorized\",\"error_description\":null}'), ('994972840850587650', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:09:45', null, '113.120.98.205', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36', '/admin/code/68201526054985507', 'GET', '', '11', '0', null), ('994973141116616706', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:10:57', null, '111.206.221.84', 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1 (compatible; Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)', '/admin/code/76691526055056571', 'GET', '', '13', '0', null), ('994973895680294914', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:13:57', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/75551526055236458', 'GET', '', '11', '0', null), ('994973910305832962', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:14:00', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/18551526055239885', 'GET', '', '12', '0', null), ('994973915729068034', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:14:01', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/68661526055241309', 'GET', '', '11', '0', null), ('994973945865142274', '9', '', 'pig-auth', 'anonymousUser', '2018-05-12 00:14:09', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/auth/oauth/token', 'POST', 'password=%5B123456%5D&randomStr=%5B68661526055241309%5D&code=%5BXWRD%5D&grant_type=%5Bpassword%5D&scope=%5Bserver%5D&username=%5Bpig%5D', '16', '0', '{\"error\":\"unauthorized\",\"error_description\":null}'), ('994973946129383426', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:14:09', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/40161526055248557', 'GET', '', '12', '0', null), ('994974019366125570', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:14:26', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/77451526055266020', 'GET', '', '11', '0', null); -COMMIT; - -- ---------------------------- -- Table structure for `sys_log_1` -- ---------------------------- @@ -221,13 +179,6 @@ CREATE TABLE `sys_log_1` ( KEY `sys_log_create_date` (`create_time`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='日志表'; --- ---------------------------- --- Records of `sys_log_1` --- ---------------------------- -BEGIN; -INSERT INTO `sys_log_1` VALUES ('994972330378625025', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:07:43', null, '223.21.98.41', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/42361526054862508', 'GET', '', '15', '0', null), ('994972359931691009', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:07:50', null, '223.21.98.41', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/94801526054869593', 'GET', '', '11', '0', null), ('994972430404386817', '9', '', 'pig-auth', 'anonymousUser', '2018-05-12 00:08:07', null, '223.21.98.41', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/auth/oauth/token', 'POST', 'password=%5B123456%5D&randomStr=%5B31271526054878679%5D&code=%5B4f6d%5D&grant_type=%5Bpassword%5D&scope=%5Bserver%5D&username=%5Bpig%5D', '18', '0', '{\"error\":\"unauthorized\",\"error_description\":null}'), ('994972430777679873', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:08:07', null, '223.21.98.41', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/77571526054886469', 'GET', '', '13', '0', null), ('994973965557399553', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:14:13', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/93661526055253189', 'GET', '', '13', '0', null), ('994974019127050241', '9', '', 'pig-auth', 'anonymousUser', '2018-05-12 00:14:26', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/auth/oauth/token', 'POST', 'password=%5B123456%5D&randomStr=%5B93661526055253189%5D&code=%5Bbbwb%5D&grant_type=%5Bpassword%5D&scope=%5Bserver%5D&username=%5Bpig%5D', '18', '0', '{\"error\":\"unauthorized\",\"error_description\":null}'), ('994974045706354689', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:14:32', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/65431526055272141', 'GET', '', '10', '0', null), ('994974069794242561', '9', '', 'pig-auth', 'anonymousUser', '2018-05-12 00:14:38', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/auth/oauth/token', 'POST', 'password=%5B123456%5D&randomStr=%5B65431526055272141%5D&code=%5Bfx3n%5D&grant_type=%5Bpassword%5D&scope=%5Bserver%5D&username=%5Bpig%5D', '17', '0', '{\"error\":\"unauthorized\",\"error_description\":null}'), ('994974070045900801', '0', '', 'pig-upms-service', 'anonymousUser', '2018-05-12 00:14:38', null, '112.94.117.165', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '/admin/code/45491526055278102', 'GET', '', '11', '0', null); -COMMIT; - -- ---------------------------- -- Table structure for `sys_menu` -- ---------------------------- @@ -242,7 +193,7 @@ CREATE TABLE `sys_menu` ( `parent_id` int(11) DEFAULT NULL COMMENT '父菜单ID', `icon` varchar(32) DEFAULT NULL COMMENT '图标', `component` varchar(64) DEFAULT NULL COMMENT 'VUE页面', - `sort` int(11) DEFAULT NULL COMMENT '排序值', + `sort` int(11) DEFAULT '1' COMMENT '排序值', `type` char(1) DEFAULT NULL COMMENT '菜单类型 (0菜单 1按钮)', `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', `update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', @@ -254,7 +205,33 @@ CREATE TABLE `sys_menu` ( -- Records of `sys_menu` -- ---------------------------- BEGIN; -INSERT INTO `sys_menu` VALUES ('1', '系统管理', null, '/admin', null, null, '-1', 'icon-xitongguanli', 'Layout', '1', '0', '2017-11-07 20:56:00', '2018-05-14 21:53:22', '0'), ('2', '用户管理', null, 'user', '', null, '1', 'icon-yonghuguanli', 'views/admin/user/index', '2', '0', '2017-11-02 22:24:37', '2018-05-14 22:11:35', '0'), ('3', '菜单管理', null, 'menu', '', null, '1', 'icon-caidanguanli', 'views/admin/menu/index', '3', '0', '2017-11-08 09:57:27', '2018-05-14 22:11:21', '0'), ('4', '角色管理', null, 'role', null, null, '1', 'icon-jiaoseguanli', 'views/admin/role/index', '4', '0', '2017-11-08 10:13:37', '2018-05-14 22:11:19', '0'), ('5', '日志管理', null, 'log', null, null, '1', 'icon-rizhiguanli', 'views/admin/log/index', '5', '0', '2017-11-20 14:06:22', '2018-05-14 22:11:18', '0'), ('6', '字典管理', null, 'dict', null, null, '1', 'icon-zygl', 'views/admin/dict/index', '6', '0', '2017-11-29 11:30:52', '2018-05-14 22:12:48', '0'), ('7', '部门管理', null, 'dept', null, null, '1', 'icon-iconbmgl', 'views/admin/dept/index', '7', '0', '2018-01-20 13:17:19', '2018-05-14 22:11:16', '0'), ('8', '系统监控', null, '', null, null, '-1', 'icon-iconbmgl', null, '8', '0', '2018-01-22 12:30:41', '2018-05-14 20:41:16', '0'), ('9', '服务监控', null, 'http://139.224.200.249:5001', null, null, '8', 'icon-jiankong', null, '9', '0', '2018-01-23 10:53:33', '2018-04-21 03:51:56', '0'), ('10', 'zipkin监控', null, 'http://139.224.200.249:5002', null, null, '8', 'icon-jiankong', null, '11', '0', '2018-01-23 10:55:18', '2018-04-22 07:02:34', '0'), ('11', 'pinpoint监控', null, 'https://pinpoint.pig4cloud.com', null, null, '8', 'icon-xiazaihuancun', null, '10', '0', '2018-01-25 11:08:52', '2018-04-22 07:02:38', '0'), ('12', '缓存状态', null, 'http://139.224.200.249:8585', null, null, '8', 'icon-ecs-status', null, '12', '0', '2018-01-23 10:56:11', '2018-04-21 03:51:47', '0'), ('13', 'ELK状态', null, 'http://139.224.200.249:5601', null, null, '8', 'icon-ecs-status', null, '13', '0', '2018-01-23 10:55:47', '2018-04-21 03:51:40', '0'), ('14', '接口文档', null, 'http://139.224.200.249:9999/swagger-ui.html', null, null, '8', 'icon-wendangdocument72', null, '14', '0', '2018-01-23 10:56:43', '2018-04-21 03:50:47', '0'), ('15', '任务监控', null, 'http://139.224.200.249:8899', null, null, '8', 'icon-jiankong', null, '15', '0', '2018-01-23 10:55:18', '2018-04-21 03:51:34', '0'), ('21', '用户查看', '', null, '/admin/user/**', 'GET', '2', null, null, null, '1', '2017-11-07 20:58:05', '2018-02-04 14:28:49', '0'), ('22', '用户新增', 'sys_user_add', null, '/admin/user/*', 'POST', '2', null, null, null, '1', '2017-11-08 09:52:09', '2017-12-04 16:31:10', '0'), ('23', '用户修改', 'sys_user_upd', null, '/admin/user/**', 'PUT', '2', null, null, null, '1', '2017-11-08 09:52:48', '2018-01-17 17:40:01', '0'), ('24', '用户删除', 'sys_user_del', null, '/admin/user/*', 'DELETE', '2', null, null, null, '1', '2017-11-08 09:54:01', '2017-12-04 16:31:18', '0'), ('31', '菜单查看', null, null, '/admin/menu/**', 'GET', '3', null, null, null, '1', '2017-11-08 09:57:56', '2017-11-14 17:29:17', '0'), ('32', '菜单新增', 'sys_menu_add', null, '/admin/menu/*', 'POST', '3', null, null, null, '1', '2017-11-08 10:15:53', '2018-01-20 14:37:50', '0'), ('33', '菜单修改', 'sys_menu_edit', null, '/admin/menu/*', 'PUT', '3', null, null, null, '1', '2017-11-08 10:16:23', '2018-01-20 14:37:56', '0'), ('34', '菜单删除', 'sys_menu_del', null, '/admin/menu/*', 'DELETE', '3', null, null, null, '1', '2017-11-08 10:16:43', '2018-01-20 14:38:03', '0'), ('41', '角色查看', null, null, '/admin/role/**', 'GET', '4', null, null, null, '1', '2017-11-08 10:14:01', '2018-02-04 13:55:06', '0'), ('42', '角色新增', 'sys_role_add', null, '/admin/role/*', 'POST', '4', null, null, null, '1', '2017-11-08 10:14:18', '2018-04-20 07:21:38', '0'), ('43', '角色修改', 'sys_role_edit', null, '/admin/role/*', 'PUT', '4', null, null, null, '1', '2017-11-08 10:14:41', '2018-04-20 07:21:50', '0'), ('44', '角色删除', 'sys_role_del', null, '/admin/role/*', 'DELETE', '4', null, null, null, '1', '2017-11-08 10:14:59', '2018-04-20 07:22:00', '0'), ('45', '分配权限', 'sys_role_perm', null, '/admin/role/*', 'PUT', '4', null, null, null, '1', '2018-04-20 07:22:55', '2018-04-20 07:24:40', '0'), ('51', '日志查看', null, null, '/admin/log/**', 'GET', '5', null, null, null, '1', '2017-11-20 14:07:25', '2018-02-04 14:28:53', '0'), ('52', '日志删除', 'sys_log_del', null, '/admin/log/*', 'DELETE', '5', null, null, null, '1', '2017-11-20 20:37:37', '2017-11-28 17:36:52', '0'), ('61', '字典查看', null, null, '/admin/dict/**', 'GET', '6', null, null, null, '1', '2017-11-19 22:04:24', '2017-11-29 11:31:24', '0'), ('62', '字典删除', 'sys_dict_del', null, '/admin/dict/**', 'DELETE', '6', null, null, null, '1', '2017-11-29 11:30:11', '2018-01-07 15:40:51', '0'), ('63', '字典新增', 'sys_dict_add', null, '/admin/dict/**', 'POST', '6', null, null, null, '1', '2018-05-11 22:34:55', null, '0'), ('64', '字典修改', 'sys_dict_upd', null, '/admin/dict/**', 'PUT', '6', null, null, null, '1', '2018-05-11 22:36:03', null, '0'), ('71', '部门查看', '', null, '/admin/dept/**', 'GET', '7', null, '', null, '1', '2018-01-20 13:17:19', '2018-01-20 14:55:24', '0'), ('72', '部门新增', 'sys_dept_add', null, '/admin/dept/**', 'POST', '7', null, null, null, '1', '2018-01-20 14:56:16', '2018-01-20 21:17:57', '0'), ('73', '部门修改', 'sys_dept_edit', null, '/admin/dept/**', 'PUT', '7', null, null, null, '1', '2018-01-20 14:56:59', '2018-01-20 21:17:59', '0'), ('74', '部门删除', 'sys_dept_del', null, '/admin/dept/**', 'DELETE', '7', null, null, null, '1', '2018-01-20 14:57:28', '2018-01-20 21:18:05', '0'); +INSERT INTO `sys_menu` VALUES ('1', '系统管理', null, '/admin', null, null, '-1', 'icon-xitongguanli', 'Layout', '1', '0', '2017-11-07 20:56:00', '2018-05-14 21:53:22', '0'), ('2', '用户管理', null, 'user', '', null, '1', 'icon-yonghuguanli', 'views/admin/user/index', '2', '0', '2017-11-02 22:24:37', '2018-05-14 22:11:35', '0'), ('3', '菜单管理', null, 'menu', '', null, '1', 'icon-caidanguanli', 'views/admin/menu/index', '3', '0', '2017-11-08 09:57:27', '2018-05-14 22:11:21', '0'), ('4', '角色管理', null, 'role', null, null, '1', 'icon-jiaoseguanli', 'views/admin/role/index', '4', '0', '2017-11-08 10:13:37', '2018-05-14 22:11:19', '0'), ('5', '日志管理', null, 'log', null, null, '1', 'icon-rizhiguanli', 'views/admin/log/index', '5', '0', '2017-11-20 14:06:22', '2018-05-14 22:11:18', '0'), ('6', '字典管理', null, 'dict', null, null, '1', 'icon-zygl', 'views/admin/dict/index', '6', '0', '2017-11-29 11:30:52', '2018-05-14 22:12:48', '0'), ('7', '部门管理', null, 'dept', null, null, '1', 'icon-iconbmgl', 'views/admin/dept/index', '7', '0', '2018-01-20 13:17:19', '2018-05-14 22:11:16', '0'), ('8', '系统监控', null, '', null, null, '-1', 'icon-iconbmgl', null, '8', '0', '2018-01-22 12:30:41', '2018-05-14 20:41:16', '0'), ('9', '服务监控', null, 'http://139.224.200.249:5001', null, null, '8', 'icon-jiankong', null, '9', '0', '2018-01-23 10:53:33', '2018-04-21 03:51:56', '0'), ('10', 'zipkin监控', null, 'http://139.224.200.249:5002', null, null, '8', 'icon-jiankong', null, '11', '0', '2018-01-23 10:55:18', '2018-04-22 07:02:34', '0'), ('11', 'pinpoint监控', null, 'https://pinpoint.pig4cloud.com', null, null, '8', 'icon-xiazaihuancun', null, '10', '0', '2018-01-25 11:08:52', '2018-04-22 07:02:38', '0'), ('12', '缓存状态', null, 'http://139.224.200.249:8585', null, null, '8', 'icon-ecs-status', null, '12', '0', '2018-01-23 10:56:11', '2018-04-21 03:51:47', '0'), ('13', 'ELK状态', null, 'http://139.224.200.249:5601', null, null, '8', 'icon-ecs-status', null, '13', '0', '2018-01-23 10:55:47', '2018-04-21 03:51:40', '0'), ('14', '接口文档', null, 'http://139.224.200.249:9999/swagger-ui.html', null, null, '8', 'icon-wendangdocument72', null, '14', '0', '2018-01-23 10:56:43', '2018-04-21 03:50:47', '0'), ('15', '任务监控', null, 'http://139.224.200.249:8899', null, null, '8', 'icon-jiankong', null, '15', '0', '2018-01-23 10:55:18', '2018-04-21 03:51:34', '0'), ('21', '用户查看', '', null, '/admin/user/**', 'GET', '2', null, null, null, '1', '2017-11-07 20:58:05', '2018-02-04 14:28:49', '0'), ('22', '用户新增', 'sys_user_add', null, '/admin/user/*', 'POST', '2', null, null, null, '1', '2017-11-08 09:52:09', '2017-12-04 16:31:10', '0'), ('23', '用户修改', 'sys_user_upd', null, '/admin/user/**', 'PUT', '2', null, null, null, '1', '2017-11-08 09:52:48', '2018-01-17 17:40:01', '0'), ('24', '用户删除', 'sys_user_del', null, '/admin/user/*', 'DELETE', '2', null, null, null, '1', '2017-11-08 09:54:01', '2017-12-04 16:31:18', '0'), ('31', '菜单查看', null, null, '/admin/menu/**', 'GET', '3', null, null, null, '1', '2017-11-08 09:57:56', '2017-11-14 17:29:17', '0'), ('32', '菜单新增', 'sys_menu_add', null, '/admin/menu/*', 'POST', '3', null, null, null, '1', '2017-11-08 10:15:53', '2018-01-20 14:37:50', '0'), ('33', '菜单修改', 'sys_menu_edit', null, '/admin/menu/*', 'PUT', '3', null, null, null, '1', '2017-11-08 10:16:23', '2018-01-20 14:37:56', '0'), ('34', '菜单删除', 'sys_menu_del', null, '/admin/menu/*', 'DELETE', '3', null, null, null, '1', '2017-11-08 10:16:43', '2018-01-20 14:38:03', '0'), ('41', '角色查看', null, null, '/admin/role/**', 'GET', '4', null, null, null, '1', '2017-11-08 10:14:01', '2018-02-04 13:55:06', '0'), ('42', '角色新增', 'sys_role_add', null, '/admin/role/*', 'POST', '4', null, null, null, '1', '2017-11-08 10:14:18', '2018-04-20 07:21:38', '0'), ('43', '角色修改', 'sys_role_edit', null, '/admin/role/*', 'PUT', '4', null, null, null, '1', '2017-11-08 10:14:41', '2018-04-20 07:21:50', '0'), ('44', '角色删除', 'sys_role_del', null, '/admin/role/*', 'DELETE', '4', null, null, null, '1', '2017-11-08 10:14:59', '2018-04-20 07:22:00', '0'), ('45', '分配权限', 'sys_role_perm', null, '/admin/role/*', 'PUT', '4', null, null, null, '1', '2018-04-20 07:22:55', '2018-04-20 07:24:40', '0'), ('51', '日志查看', null, null, '/admin/log/**', 'GET', '5', null, null, null, '1', '2017-11-20 14:07:25', '2018-02-04 14:28:53', '0'), ('52', '日志删除', 'sys_log_del', null, '/admin/log/*', 'DELETE', '5', null, null, null, '1', '2017-11-20 20:37:37', '2017-11-28 17:36:52', '0'), ('61', '字典查看', null, null, '/admin/dict/**', 'GET', '6', null, null, null, '1', '2017-11-19 22:04:24', '2017-11-29 11:31:24', '0'), ('62', '字典删除', 'sys_dict_del', null, '/admin/dict/**', 'DELETE', '6', null, null, null, '1', '2017-11-29 11:30:11', '2018-01-07 15:40:51', '0'), ('63', '字典新增', 'sys_dict_add', null, '/admin/dict/**', 'POST', '6', null, null, null, '1', '2018-05-11 22:34:55', null, '0'), ('64', '字典修改', 'sys_dict_upd', null, '/admin/dict/**', 'PUT', '6', null, null, null, '1', '2018-05-11 22:36:03', null, '0'), ('71', '部门查看', '', null, '/admin/dept/**', 'GET', '7', null, '', null, '1', '2018-01-20 13:17:19', '2018-01-20 14:55:24', '0'), ('72', '部门新增', 'sys_dept_add', null, '/admin/dept/**', 'POST', '7', null, null, null, '1', '2018-01-20 14:56:16', '2018-01-20 21:17:57', '0'), ('73', '部门修改', 'sys_dept_edit', null, '/admin/dept/**', 'PUT', '7', null, null, null, '1', '2018-01-20 14:56:59', '2018-01-20 21:17:59', '0'), ('74', '部门删除', 'sys_dept_del', null, '/admin/dept/**', 'DELETE', '7', null, null, null, '1', '2018-01-20 14:57:28', '2018-01-20 21:18:05', '0'), ('100', '客户端管理', '', 'client', '', '', '1', 'icon-bangzhushouji', 'views/admin/client/index', '9', '0', '2018-01-20 13:17:19', '2018-05-15 21:28:10', '0'), ('101', '客户端新增', 'sys_client_add', null, '/admin/client/**', 'POST', '100', '1', null, null, '1', '2018-05-15 21:35:18', '2018-05-16 10:35:26', '0'), ('102', '客户端修改', 'sys_client_upd', null, '/admin/client/**', 'PUT', '100', null, null, null, '1', '2018-05-15 21:37:06', '2018-05-15 21:52:30', '0'), ('103', '客户端删除', 'sys_client_del', null, '/admin/client/**', 'DELETE', '100', null, null, null, '1', '2018-05-15 21:39:16', '2018-05-15 21:52:34', '0'), ('104', '客户端查看', null, null, '/admin/client/**', 'GET', '100', null, null, null, '1', '2018-05-15 21:39:57', '2018-05-15 21:52:40', '0'), ('110', '路由管理', null, 'route', null, null, '1', 'icon-luyou', 'views/admin/route/index', '8', '0', '2018-05-15 21:44:51', '2018-05-16 06:58:20', '0'), ('111', '路由查看', null, null, '/admin/route/**', 'GET', '110', null, null, null, '1', '2018-05-15 21:45:59', '2018-05-16 07:23:04', '0'), ('112', '路由新增', 'sys_route_add', null, '/admin/route/**', 'POST', '110', null, null, null, '1', '2018-05-15 21:52:22', '2018-05-15 21:53:46', '0'), ('113', '路由修改', 'sys_route_upd', null, '/admin/route/**', 'PUT', '110', null, null, null, '1', '2018-05-15 21:55:38', null, '0'), ('114', '路由删除', 'sys_route_del', null, '/admin/route/**', 'DELETE', '110', null, null, null, '1', '2018-05-15 21:56:45', null, '0'); +COMMIT; + +-- ---------------------------- +-- Table structure for `sys_oauth_client_details` +-- ---------------------------- +DROP TABLE IF EXISTS `sys_oauth_client_details`; +CREATE TABLE `sys_oauth_client_details` ( + `client_id` varchar(256) NOT NULL, + `resource_ids` varchar(256) DEFAULT NULL, + `client_secret` varchar(256) DEFAULT NULL, + `scope` varchar(256) DEFAULT NULL, + `authorized_grant_types` varchar(256) DEFAULT NULL, + `web_server_redirect_uri` varchar(256) DEFAULT NULL, + `authorities` varchar(256) DEFAULT NULL, + `access_token_validity` int(11) DEFAULT NULL, + `refresh_token_validity` int(11) DEFAULT NULL, + `additional_information` varchar(4096) DEFAULT NULL, + `autoapprove` varchar(256) DEFAULT NULL, + PRIMARY KEY (`client_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- ---------------------------- +-- Records of `sys_oauth_client_details` +-- ---------------------------- +BEGIN; +INSERT INTO `sys_oauth_client_details` VALUES ('app', null, 'app', 'server', 'password,refresh_token', null, null, null, null, null, 'true'), ('pig', null, 'pig', 'server', 'password,refresh_token', null, null, null, null, null, 'false'); COMMIT; -- ---------------------------- @@ -271,7 +248,7 @@ CREATE TABLE `sys_role` ( `del_flag` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标识(0-正常,1-删除)', PRIMARY KEY (`role_id`), UNIQUE KEY `role_idx1_role_code` (`role_code`) -) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; +) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC; -- ---------------------------- -- Records of `sys_role` @@ -289,7 +266,7 @@ CREATE TABLE `sys_role_dept` ( `role_id` int(20) DEFAULT NULL COMMENT '角色ID', `dept_id` int(20) DEFAULT NULL COMMENT '部门ID', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='角色与部门对应关系'; +) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='角色与部门对应关系'; -- ---------------------------- -- Records of `sys_role_dept` @@ -312,7 +289,7 @@ CREATE TABLE `sys_role_menu` ( -- Records of `sys_role_menu` -- ---------------------------- BEGIN; -INSERT INTO `sys_role_menu` VALUES ('1', '1'), ('1', '2'), ('1', '3'), ('1', '4'), ('1', '5'), ('1', '6'), ('1', '7'), ('1', '8'), ('1', '9'), ('1', '10'), ('1', '11'), ('1', '12'), ('1', '13'), ('1', '14'), ('1', '15'), ('1', '21'), ('1', '22'), ('1', '23'), ('1', '24'), ('1', '31'), ('1', '32'), ('1', '33'), ('1', '34'), ('1', '41'), ('1', '42'), ('1', '43'), ('1', '44'), ('1', '45'), ('1', '51'), ('1', '52'), ('1', '61'), ('1', '62'), ('1', '63'), ('1', '64'), ('1', '71'), ('1', '72'), ('1', '73'), ('1', '74'), ('14', '1'), ('14', '2'), ('14', '3'), ('14', '4'), ('14', '5'), ('14', '6'), ('14', '7'), ('14', '8'), ('14', '9'), ('14', '10'), ('14', '11'), ('14', '12'), ('14', '13'), ('14', '14'), ('14', '15'), ('14', '21'), ('14', '31'), ('14', '41'), ('14', '51'), ('14', '61'), ('14', '71'); +INSERT INTO `sys_role_menu` VALUES ('1', '1'), ('1', '2'), ('1', '3'), ('1', '4'), ('1', '5'), ('1', '6'), ('1', '7'), ('1', '8'), ('1', '9'), ('1', '10'), ('1', '11'), ('1', '12'), ('1', '13'), ('1', '14'), ('1', '15'), ('1', '21'), ('1', '22'), ('1', '23'), ('1', '24'), ('1', '31'), ('1', '32'), ('1', '33'), ('1', '34'), ('1', '41'), ('1', '42'), ('1', '43'), ('1', '44'), ('1', '45'), ('1', '51'), ('1', '52'), ('1', '61'), ('1', '62'), ('1', '63'), ('1', '64'), ('1', '71'), ('1', '72'), ('1', '73'), ('1', '74'), ('1', '100'), ('1', '101'), ('1', '102'), ('1', '103'), ('1', '104'), ('1', '110'), ('1', '111'), ('1', '112'), ('1', '113'), ('1', '114'), ('14', '1'), ('14', '2'), ('14', '3'), ('14', '4'), ('14', '5'), ('14', '6'), ('14', '7'), ('14', '8'), ('14', '9'), ('14', '10'), ('14', '11'), ('14', '12'), ('14', '13'), ('14', '14'), ('14', '15'), ('14', '21'), ('14', '31'), ('14', '41'), ('14', '51'), ('14', '61'), ('14', '71'); COMMIT; -- ---------------------------- @@ -333,7 +310,7 @@ CREATE TABLE `sys_user` ( PRIMARY KEY (`user_id`), UNIQUE KEY `user_idx1_username` (`username`), UNIQUE KEY `user_idx2_phone` (`phone`) -) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='用户表'; +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC COMMENT='用户表'; -- ---------------------------- -- Records of `sys_user` @@ -359,6 +336,32 @@ BEGIN; INSERT INTO `sys_user_role` VALUES ('1', '1'), ('4', '14'); COMMIT; +-- ---------------------------- +-- Table structure for `sys_zuul_route` +-- ---------------------------- +DROP TABLE IF EXISTS `sys_zuul_route`; +CREATE TABLE `sys_zuul_route` ( + `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'router Id', + `path` varchar(255) NOT NULL COMMENT '路由路径', + `service_id` varchar(255) NOT NULL COMMENT '服务名称', + `url` varchar(255) DEFAULT NULL COMMENT 'url代理', + `strip_prefix` char(1) DEFAULT '1' COMMENT '转发去掉前缀', + `retryable` char(1) DEFAULT '1' COMMENT '是否重试', + `enabled` char(1) DEFAULT '1' COMMENT '是否启用', + `sensitiveHeaders_list` varchar(255) DEFAULT NULL COMMENT '敏感请求头', + `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', + `del_flag` char(1) DEFAULT '0' COMMENT '删除标识(0-正常,1-删除)', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COMMENT='动态路由配置表'; + +-- ---------------------------- +-- Records of `sys_zuul_route` +-- ---------------------------- +BEGIN; +INSERT INTO `sys_zuul_route` VALUES ('1', 'test', 'test', 'tsest', '1', '1', '1', '0', '2018-05-16 07:28:43', '2018-05-16 07:35:08', '1'), ('2', 'sdfg', 'we', 'jjj', '1', '1', '1', 'jj', '2018-05-16 07:35:43', '2018-05-17 13:56:14', '1'), ('3', '/demo/**', 'pig-demo-service', '', '1', '1', '1', '', '2018-05-17 14:09:06', '2018-05-17 14:32:36', '0'), ('4', '/admin/**', 'pig-upms-service', '', '1', '1', '1', '', '2018-05-21 11:40:38', null, '0'), ('5', '/auth/**', 'pig-auth', '', '1', '1', '1', '', '2018-05-21 11:41:08', null, '0'); +COMMIT; + -- ---------------------------- -- Table structure for `zipkin_annotations` -- ---------------------------- diff --git a/pig-auth/pom.xml b/pig-auth/pom.xml index 63472227..cbb9f896 100644 --- a/pig-auth/pom.xml +++ b/pig-auth/pom.xml @@ -37,6 +37,27 @@ org.springframework.boot spring-boot-starter-freemarker + + + mysql + mysql-connector-java + + + + org.springframework.boot + spring-boot-starter-jdbc + + + org.apache.tomcat + tomcat-jdbc + + + + + + com.zaxxer + HikariCP + diff --git a/pig-auth/src/main/java/com/github/pig/auth/component/mobile/MobileLoginSuccessHandler.java b/pig-auth/src/main/java/com/github/pig/auth/component/mobile/MobileLoginSuccessHandler.java index 50240e0f..6347bd89 100644 --- a/pig-auth/src/main/java/com/github/pig/auth/component/mobile/MobileLoginSuccessHandler.java +++ b/pig-auth/src/main/java/com/github/pig/auth/component/mobile/MobileLoginSuccessHandler.java @@ -2,6 +2,7 @@ package com.github.pig.auth.component.mobile; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.pig.common.constant.CommonConstant; +import com.github.pig.common.util.AuthUtils; import com.xiaoleilu.hutool.map.MapUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -54,7 +55,7 @@ public class MobileLoginSuccessHandler implements AuthenticationSuccessHandler { } try { - String[] tokens = extractAndDecodeHeader(header); + String[] tokens = AuthUtils.extractAndDecodeHeader(header); assert tokens.length == 2; String clientId = tokens[0]; @@ -76,33 +77,6 @@ public class MobileLoginSuccessHandler implements AuthenticationSuccessHandler { } } - /** - * Decodes the header into a username and password. - * - * @throws BadCredentialsException if the Basic header is not present or is not valid - * Base64 - */ - private String[] extractAndDecodeHeader(String header) - throws IOException { - - byte[] base64Token = header.substring(6).getBytes("UTF-8"); - byte[] decoded; - try { - decoded = Base64.decode(base64Token); - } catch (IllegalArgumentException e) { - throw new BadCredentialsException( - "Failed to decode basic authentication token"); - } - - String token = new String(decoded, CommonConstant.UTF8); - - int delim = token.indexOf(":"); - - if (delim == -1) { - throw new BadCredentialsException("Invalid basic authentication token"); - } - return new String[]{token.substring(0, delim), token.substring(delim + 1)}; - } } diff --git a/pig-auth/src/main/java/com/github/pig/auth/config/AuthServerConfig.java b/pig-auth/src/main/java/com/github/pig/auth/config/AuthServerConfig.java deleted file mode 100644 index 8a41021b..00000000 --- a/pig-auth/src/main/java/com/github/pig/auth/config/AuthServerConfig.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.github.pig.auth.config; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.context.annotation.Configuration; - -/** - * @author lengleng - * @date 2017/10/28 - */ -@Configuration -@ConfigurationProperties(prefix = "pig.auth") -public class AuthServerConfig { - private String clientId; - private String clientSecret; - private String scope; - - public String getClientId() { - return clientId; - } - - public void setClientId(String clientId) { - this.clientId = clientId; - } - - public String getClientSecret() { - return clientSecret; - } - - public void setClientSecret(String clientSecret) { - this.clientSecret = clientSecret; - } - - public String getScope() { - return scope; - } - - public void setScope(String scope) { - this.scope = scope; - } -} diff --git a/pig-auth/src/main/java/com/github/pig/auth/config/PigAuthorizationConfig.java b/pig-auth/src/main/java/com/github/pig/auth/config/PigAuthorizationConfig.java index 7fe11f89..c83de767 100644 --- a/pig-auth/src/main/java/com/github/pig/auth/config/PigAuthorizationConfig.java +++ b/pig-auth/src/main/java/com/github/pig/auth/config/PigAuthorizationConfig.java @@ -17,12 +17,14 @@ import org.springframework.security.oauth2.config.annotation.web.configuration.A import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer; import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer; import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer; +import org.springframework.security.oauth2.provider.client.JdbcClientDetailsService; import org.springframework.security.oauth2.provider.token.TokenEnhancer; import org.springframework.security.oauth2.provider.token.TokenEnhancerChain; import org.springframework.security.oauth2.provider.token.TokenStore; import org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter; import org.springframework.security.oauth2.provider.token.store.redis.RedisTokenStore; +import javax.sql.DataSource; import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -37,9 +39,8 @@ import java.util.Map; @Order(Integer.MIN_VALUE) @EnableAuthorizationServer public class PigAuthorizationConfig extends AuthorizationServerConfigurerAdapter { - @Autowired - private AuthServerConfig authServerConfig; + private DataSource dataSource; @Autowired private AuthenticationManager authenticationManager; @@ -52,12 +53,10 @@ public class PigAuthorizationConfig extends AuthorizationServerConfigurerAdapter @Override public void configure(ClientDetailsServiceConfigurer clients) throws Exception { - clients.inMemory() - .withClient(authServerConfig.getClientId()) - .secret(authServerConfig.getClientSecret()) - .authorizedGrantTypes(SecurityConstants.REFRESH_TOKEN, SecurityConstants.PASSWORD, SecurityConstants.AUTHORIZATION_CODE) - .scopes(authServerConfig.getScope()) - .autoApprove(true); + JdbcClientDetailsService clientDetailsService = new JdbcClientDetailsService(dataSource); + clientDetailsService.setSelectClientDetailsSql(SecurityConstants.DEFAULT_SELECT_STATEMENT); + clientDetailsService.setFindClientDetailsSql(SecurityConstants.DEFAULT_FIND_STATEMENT); + clients.withClientDetails(clientDetailsService); } @Override diff --git a/pig-auth/src/main/java/com/github/pig/auth/config/PigSecurityConfigurerAdapter.java b/pig-auth/src/main/java/com/github/pig/auth/config/PigSecurityConfigurerAdapter.java index 125935fc..bbdda151 100644 --- a/pig-auth/src/main/java/com/github/pig/auth/config/PigSecurityConfigurerAdapter.java +++ b/pig-auth/src/main/java/com/github/pig/auth/config/PigSecurityConfigurerAdapter.java @@ -1,7 +1,7 @@ package com.github.pig.auth.config; import com.github.pig.auth.component.mobile.MobileSecurityConfigurer; -import com.github.pig.common.bean.config.FilterUrlsPropertiesConfig; +import com.github.pig.common.bean.config.FilterIgnorePropertiesConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.security.SecurityProperties; import org.springframework.context.annotation.Configuration; @@ -20,7 +20,7 @@ import org.springframework.security.config.annotation.web.configurers.Expression @EnableWebSecurity public class PigSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter { @Autowired - private FilterUrlsPropertiesConfig filterUrlsPropertiesConfig; + private FilterIgnorePropertiesConfig filterIgnorePropertiesConfig; @Autowired private MobileSecurityConfigurer mobileSecurityConfigurer; @@ -31,9 +31,7 @@ public class PigSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter { .loginProcessingUrl("/authentication/form") .and() .authorizeRequests(); - for (String url : filterUrlsPropertiesConfig.getAnon()) { - registry.antMatchers(url).permitAll(); - } + filterIgnorePropertiesConfig.getUrls().forEach(url -> registry.antMatchers(url).permitAll()); registry.anyRequest().authenticated() .and() .csrf().disable(); diff --git a/pig-auth/src/main/resources/bootstrap.yml b/pig-auth/src/main/resources/bootstrap.yml index 5ebd1749..499d3b78 100644 --- a/pig-auth/src/main/resources/bootstrap.yml +++ b/pig-auth/src/main/resources/bootstrap.yml @@ -11,7 +11,6 @@ spring: enabled: true profile: ${spring.profiles.active} label: ${spring.profiles.active} - --- spring: profiles: dev diff --git a/pig-common/src/main/java/com/github/pig/common/bean/config/FilterUrlsPropertiesConfig.java b/pig-common/src/main/java/com/github/pig/common/bean/config/FilterIgnorePropertiesConfig.java similarity index 51% rename from pig-common/src/main/java/com/github/pig/common/bean/config/FilterUrlsPropertiesConfig.java rename to pig-common/src/main/java/com/github/pig/common/bean/config/FilterIgnorePropertiesConfig.java index a161a387..550fdc96 100644 --- a/pig-common/src/main/java/com/github/pig/common/bean/config/FilterUrlsPropertiesConfig.java +++ b/pig-common/src/main/java/com/github/pig/common/bean/config/FilterIgnorePropertiesConfig.java @@ -1,7 +1,9 @@ package com.github.pig.common.bean.config; +import lombok.Data; import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression; import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.context.annotation.Configuration; import java.util.ArrayList; @@ -11,17 +13,13 @@ import java.util.List; * @author lengleng * @date 2018/1/9 */ +@Data @Configuration -@ConditionalOnExpression("!'${urls}'.isEmpty()") -@ConfigurationProperties(prefix = "urls") -public class FilterUrlsPropertiesConfig { - private List anon = new ArrayList<>(); +@RefreshScope +@ConditionalOnExpression("!'${ignore}'.isEmpty()") +@ConfigurationProperties(prefix = "ignore") +public class FilterIgnorePropertiesConfig { + private List urls = new ArrayList<>(); - public List getAnon() { - return anon; - } - - public void setAnon(List anon) { - this.anon = anon; - } + private List clients = new ArrayList<>(); } diff --git a/pig-common/src/main/java/com/github/pig/common/constant/CommonConstant.java b/pig-common/src/main/java/com/github/pig/common/constant/CommonConstant.java index b5180711..988ad492 100644 --- a/pig-common/src/main/java/com/github/pig/common/constant/CommonConstant.java +++ b/pig-common/src/main/java/com/github/pig/common/constant/CommonConstant.java @@ -62,4 +62,9 @@ public interface CommonConstant { * 阿里大鱼 */ String ALIYUN_SMS = "aliyun_sms"; + + /** + * 路由信息Redis保存的key + */ + String ROUTE_KEY = "_ROUTE_KEY"; } diff --git a/pig-common/src/main/java/com/github/pig/common/constant/MqQueueConstant.java b/pig-common/src/main/java/com/github/pig/common/constant/MqQueueConstant.java index 11467df9..0b851d33 100644 --- a/pig-common/src/main/java/com/github/pig/common/constant/MqQueueConstant.java +++ b/pig-common/src/main/java/com/github/pig/common/constant/MqQueueConstant.java @@ -30,4 +30,9 @@ public interface MqQueueConstant { * zipkin 队列 */ String ZIPKIN_NAME_QUEUE = "zipkin"; + + /** + * 路由配置状态队列 + */ + String ROUTE_CONFIG_CHANGE = "route_config_change"; } diff --git a/pig-common/src/main/java/com/github/pig/common/constant/SecurityConstants.java b/pig-common/src/main/java/com/github/pig/common/constant/SecurityConstants.java index e763d5dd..35f338b3 100644 --- a/pig-common/src/main/java/com/github/pig/common/constant/SecurityConstants.java +++ b/pig-common/src/main/java/com/github/pig/common/constant/SecurityConstants.java @@ -62,12 +62,12 @@ public interface SecurityConstants { /** * 默认生成图形验证码宽度 */ - String DEFAULT_IMAGE_WIDTH = "150"; + String DEFAULT_IMAGE_WIDTH = "100"; /** * 默认生成图像验证码高度 */ - String DEFAULT_IMAGE_HEIGHT = "32"; + String DEFAULT_IMAGE_HEIGHT = "40"; /** * 默认生成图形验证码长度 @@ -114,4 +114,28 @@ public interface SecurityConstants { * 默认的social的注册地址 */ String DEFAULT_SOCIAL_SIGNUP_URL = "/social/signup"; + + /** + * sys_oauth_client_details 表的字段,不包括client_id、client_secret + */ + String CLIENT_FIELDS = "client_id, client_secret, resource_ids, scope, " + + "authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, " + + "refresh_token_validity, additional_information, autoapprove"; + + /** + *JdbcClientDetailsService 查询语句 + */ + String BASE_FIND_STATEMENT = "select " + CLIENT_FIELDS + + " from sys_oauth_client_details"; + + /** + * 默认的查询语句 + */ + String DEFAULT_FIND_STATEMENT = BASE_FIND_STATEMENT + " order by client_id"; + + /** + * 按条件client_id 查询 + */ + String DEFAULT_SELECT_STATEMENT = BASE_FIND_STATEMENT + " where client_id = ?"; + } diff --git a/pig-common/src/main/java/com/github/pig/common/constant/enums/EnumSmsChannelTemplate.java b/pig-common/src/main/java/com/github/pig/common/constant/enums/EnumSmsChannelTemplate.java new file mode 100644 index 00000000..1e641a1e --- /dev/null +++ b/pig-common/src/main/java/com/github/pig/common/constant/enums/EnumSmsChannelTemplate.java @@ -0,0 +1,39 @@ +package com.github.pig.common.constant.enums; + +import lombok.Getter; +import lombok.Setter; + +/** + * @author LiXunHuan + * @date 2018/1/16 + * 短信通道模板 + */ +public enum EnumSmsChannelTemplate { + /** + * 登录验证 + */ + LOGIN_NAME_LOGIN("loginCodeChannel", "登录验证"), + /** + * 服务异常提醒 + */ + SERVICE_STATUS_CHANGE("serviceStatusChange", "Pig4Cloud"); + + + /** + * 模板名称 + */ + @Getter + @Setter + private String template; + /** + * 模板签名 + */ + @Getter + @Setter + private String signName; + + EnumSmsChannelTemplate(String template, String signName) { + this.template = template; + this.signName = signName; + } +} diff --git a/pig-common/src/main/java/com/github/pig/common/entity/SysZuulRoute.java b/pig-common/src/main/java/com/github/pig/common/entity/SysZuulRoute.java new file mode 100644 index 00000000..7b72c0d9 --- /dev/null +++ b/pig-common/src/main/java/com/github/pig/common/entity/SysZuulRoute.java @@ -0,0 +1,85 @@ +package com.github.pig.common.entity; + +import com.baomidou.mybatisplus.enums.IdType; +import java.util.Date; +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.activerecord.Model; +import com.baomidou.mybatisplus.annotations.TableName; +import lombok.Data; + +import java.io.Serializable; + +/** + *

+ * 动态路由配置表 + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +@Data +@TableName("sys_zuul_route") +public class SysZuulRoute extends Model { + + private static final long serialVersionUID = 1L; + + /** + * router Id + */ + @TableId(value = "id", type = IdType.AUTO) + private Integer id; + /** + * 路由路径 + */ + private String path; + /** + * 服务名称 + */ + @TableField("service_id") + private String serviceId; + /** + * url代理 + */ + private String url; + /** + * 转发去掉前缀 + */ + @TableField("strip_prefix") + private String stripPrefix; + /** + * 是否重试 + */ + private String retryable; + /** + * 是否启用 + */ + private String enabled; + /** + * 敏感请求头 + */ + @TableField("sensitiveHeaders_list") + private String sensitiveheadersList; + /** + * 创建时间 + */ + @TableField("create_time") + private Date createTime; + /** + * 更新时间 + */ + @TableField("update_time") + private Date updateTime; + /** + * 删除标识(0-正常,1-删除) + */ + @TableField("del_flag") + private String delFlag; + + @Override + protected Serializable pkVal() { + return this.id; + } + + +} diff --git a/pig-common/src/main/java/com/github/pig/common/util/AuthUtils.java b/pig-common/src/main/java/com/github/pig/common/util/AuthUtils.java new file mode 100644 index 00000000..778730fa --- /dev/null +++ b/pig-common/src/main/java/com/github/pig/common/util/AuthUtils.java @@ -0,0 +1,82 @@ +package com.github.pig.common.util; + +import com.github.pig.common.constant.CommonConstant; +import com.github.pig.common.util.exception.CheckedException; +import lombok.extern.slf4j.Slf4j; +import org.springframework.security.crypto.codec.Base64; + +import javax.servlet.http.HttpServletRequest; +import java.io.IOException; + +/** + * @author lengleng + * @date 2018/5/13 + * 认证授权相关工具类 + */ +@Slf4j +public class AuthUtils { + private static final String BASIC_ = "Basic "; + + /** + * 从header 请求中的clientId/clientsecect + * + * @param header header中的参数 + * @throws CheckedException if the Basic header is not present or is not valid + * Base64 + */ + public static String[] extractAndDecodeHeader(String header) + throws IOException { + + byte[] base64Token = header.substring(6).getBytes("UTF-8"); + byte[] decoded; + try { + decoded = Base64.decode(base64Token); + } catch (IllegalArgumentException e) { + throw new CheckedException( + "Failed to decode basic authentication token"); + } + + String token = new String(decoded, CommonConstant.UTF8); + + int delim = token.indexOf(":"); + + if (delim == -1) { + throw new CheckedException("Invalid basic authentication token"); + } + return new String[]{token.substring(0, delim), token.substring(delim + 1)}; + } + + /** + * *从header 请求中的clientId/clientsecect + * + * @param request + * @return + * @throws IOException + */ + public static String[] extractAndDecodeHeader(HttpServletRequest request) + throws IOException { + String header = request.getHeader("Authorization"); + + if (header == null || !header.startsWith(BASIC_)) { + throw new CheckedException("请求头中client信息为空"); + } + + byte[] base64Token = header.substring(6).getBytes("UTF-8"); + byte[] decoded; + try { + decoded = Base64.decode(base64Token); + } catch (IllegalArgumentException e) { + throw new CheckedException( + "Failed to decode basic authentication token"); + } + + String token = new String(decoded, CommonConstant.UTF8); + + int delim = token.indexOf(":"); + + if (delim == -1) { + throw new CheckedException("Invalid basic authentication token"); + } + return new String[]{token.substring(0, delim), token.substring(delim + 1)}; + } +} diff --git a/pig-common/src/main/java/com/github/pig/common/util/template/MobileMsgTemplate.java b/pig-common/src/main/java/com/github/pig/common/util/template/MobileMsgTemplate.java index 64d1204d..1ddd8007 100644 --- a/pig-common/src/main/java/com/github/pig/common/util/template/MobileMsgTemplate.java +++ b/pig-common/src/main/java/com/github/pig/common/util/template/MobileMsgTemplate.java @@ -16,17 +16,32 @@ public class MobileMsgTemplate implements Serializable { */ private String mobile; /** - * 文本 + * 组装后的模板内容JSON字符串 */ - private String text; + private String context; /** - * 类型(通道) + * 短信通道 + */ + private String channel; + /** + * 短信类型(验证码或者通知短信) + * 暂时不用,留着后面存数据库备用吧 */ private String type; + /** + * 短信签名 + */ + private String signName; + /** + * 短信模板 + */ + private String template; - public MobileMsgTemplate(String mobile, String text, String type) { + public MobileMsgTemplate(String mobile, String context, String channel, String signName, String template){ this.mobile = mobile; - this.text = text; - this.type = type; + this.context = context; + this.channel = channel; + this.signName = signName; + this.template = template; } } diff --git a/pig-common/src/main/java/com/github/pig/common/vo/UserVO.java b/pig-common/src/main/java/com/github/pig/common/vo/UserVO.java index a03cb571..088fc041 100644 --- a/pig-common/src/main/java/com/github/pig/common/vo/UserVO.java +++ b/pig-common/src/main/java/com/github/pig/common/vo/UserVO.java @@ -64,5 +64,5 @@ public class UserVO implements Serializable { /** * 角色列表 */ - private List roleList = new ArrayList<>(); + private List roleList; } diff --git a/pig-common/src/main/resources/logback-spring.xml b/pig-common/src/main/resources/logback-spring.xml index 9dcc51b3..0740c3ae 100644 --- a/pig-common/src/main/resources/logback-spring.xml +++ b/pig-common/src/main/resources/logback-spring.xml @@ -39,7 +39,7 @@ - + diff --git a/pig-config/src/main/resources/bootstrap.yml b/pig-config/src/main/resources/bootstrap.yml index e04a573d..12903e48 100644 --- a/pig-config/src/main/resources/bootstrap.yml +++ b/pig-config/src/main/resources/bootstrap.yml @@ -24,7 +24,7 @@ endpoints: spring: profiles: dev rabbitmq: - host: 127.0.0.1 + host: 139.224.200.249 port: 5682 username: pig password: lengleng diff --git a/pig-gateway/pom.xml b/pig-gateway/pom.xml index c7094539..01edf536 100644 --- a/pig-gateway/pom.xml +++ b/pig-gateway/pom.xml @@ -44,11 +44,6 @@ org.springframework.cloud spring-cloud-starter-feign - - - org.springframework.boot - spring-boot-starter-amqp - io.springfox diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/PigGatewayApplication.java b/pig-gateway/src/main/java/com/github/pig/gateway/PigGatewayApplication.java index 01db8605..6b005ffc 100644 --- a/pig-gateway/src/main/java/com/github/pig/gateway/PigGatewayApplication.java +++ b/pig-gateway/src/main/java/com/github/pig/gateway/PigGatewayApplication.java @@ -1,7 +1,9 @@ package com.github.pig.gateway; import org.springframework.boot.SpringApplication; +import org.springframework.boot.web.client.RestTemplateBuilder; import org.springframework.cloud.client.SpringCloudApplication; +import org.springframework.cloud.client.loadbalancer.LoadBalanced; import org.springframework.cloud.client.loadbalancer.LoadBalancerClient; import org.springframework.cloud.client.loadbalancer.LoadBalancerInterceptor; import org.springframework.cloud.netflix.feign.EnableFeignClients; @@ -9,6 +11,7 @@ import org.springframework.cloud.netflix.zuul.EnableZuulProxy; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; +import org.springframework.web.client.RestTemplate; /** * @author lengleng @@ -42,4 +45,9 @@ public class PigGatewayApplication { LoadBalancerInterceptor loadBalancerInterceptor(LoadBalancerClient loadBalance){ return new LoadBalancerInterceptor(loadBalance); } + + @Bean + public RestTemplate restTemplate() { + return new RestTemplate(); + } } diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/component/config/DynamicRouteConfiguration.java b/pig-gateway/src/main/java/com/github/pig/gateway/component/config/DynamicRouteConfiguration.java new file mode 100644 index 00000000..73a97308 --- /dev/null +++ b/pig-gateway/src/main/java/com/github/pig/gateway/component/config/DynamicRouteConfiguration.java @@ -0,0 +1,41 @@ +package com.github.pig.gateway.component.config; + +import org.springframework.boot.autoconfigure.web.ServerProperties; +import org.springframework.cloud.client.discovery.DiscoveryClient; +import org.springframework.cloud.client.serviceregistry.Registration; +import org.springframework.cloud.netflix.zuul.filters.ZuulProperties; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.redis.core.RedisTemplate; + +/** + * @author lengleng + * @date 2018/5/15 + * 动态路由配置类 + */ +@Configuration +public class DynamicRouteConfiguration { + private Registration registration; + private DiscoveryClient discovery; + private ZuulProperties zuulProperties; + private ServerProperties server; + private RedisTemplate redisTemplate; + + public DynamicRouteConfiguration(Registration registration, DiscoveryClient discovery, + ZuulProperties zuulProperties, ServerProperties server, RedisTemplate redisTemplate) { + this.registration = registration; + this.discovery = discovery; + this.zuulProperties = zuulProperties; + this.server = server; + this.redisTemplate = redisTemplate; + } + + @Bean + public DynamicRouteLocator dynamicRouteLocator() { + return new DynamicRouteLocator(server.getServletPrefix() + , discovery + , zuulProperties + , registration + , redisTemplate); + } +} diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/component/config/DynamicRouteLocator.java b/pig-gateway/src/main/java/com/github/pig/gateway/component/config/DynamicRouteLocator.java new file mode 100644 index 00000000..d2c39ff1 --- /dev/null +++ b/pig-gateway/src/main/java/com/github/pig/gateway/component/config/DynamicRouteLocator.java @@ -0,0 +1,111 @@ +package com.github.pig.gateway.component.config; + +import com.github.pig.common.constant.CommonConstant; +import com.github.pig.common.entity.SysZuulRoute; +import com.xiaoleilu.hutool.collection.CollUtil; +import com.xiaoleilu.hutool.util.StrUtil; +import lombok.extern.slf4j.Slf4j; +import org.springframework.cloud.client.ServiceInstance; +import org.springframework.cloud.client.discovery.DiscoveryClient; +import org.springframework.cloud.netflix.zuul.filters.ZuulProperties; +import org.springframework.cloud.netflix.zuul.filters.discovery.DiscoveryClientRouteLocator; +import org.springframework.data.redis.core.RedisTemplate; + +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** + * @author lengleng + * @date 2018/5/15 + * 动态路由实现 + */ +@Slf4j +public class DynamicRouteLocator extends DiscoveryClientRouteLocator { + private ZuulProperties properties; + private RedisTemplate redisTemplate; + + public DynamicRouteLocator(String servletPath, DiscoveryClient discovery, ZuulProperties properties, + ServiceInstance localServiceInstance, RedisTemplate redisTemplate) { + super(servletPath, discovery, properties, localServiceInstance); + this.properties = properties; + this.redisTemplate = redisTemplate; + } + + /** + * 重写路由配置 + *

+ * 1. properties 配置。 + * 2. eureka 默认配置。 + * 3. DB数据库配置。 + * + * @return 路由表 + */ + @Override + protected LinkedHashMap locateRoutes() { + LinkedHashMap routesMap = new LinkedHashMap<>(); + //读取properties配置、eureka默认配置 + routesMap.putAll(super.locateRoutes()); + log.debug("初始默认的路由配置完成"); + routesMap.putAll(locateRoutesFromDb()); + LinkedHashMap values = new LinkedHashMap<>(); + for (Map.Entry entry : routesMap.entrySet()) { + String path = entry.getKey(); + if (!path.startsWith("/")) { + path = "/" + path; + } + if (StrUtil.isNotBlank(this.properties.getPrefix())) { + path = this.properties.getPrefix() + path; + if (!path.startsWith("/")) { + path = "/" + path; + } + } + values.put(path, entry.getValue()); + } + return routesMap; + } + + /** + * Redis中保存的,没有从upms拉去,避免启动链路依赖问题(取舍),网关依赖业务模块的问题 + * + * @return + */ + private Map locateRoutesFromDb() { + Map routes = new LinkedHashMap<>(); + + Object obj = redisTemplate.opsForValue().get(CommonConstant.ROUTE_KEY); + if (obj == null) { + return routes; + } + + List results = (List) obj; + for (SysZuulRoute result : results) { + if (StrUtil.isBlank(result.getPath()) && StrUtil.isBlank(result.getUrl())) { + continue; + } + + ZuulProperties.ZuulRoute zuulRoute = new ZuulProperties.ZuulRoute(); + try { + zuulRoute.setId(result.getServiceId()); + zuulRoute.setPath(result.getPath()); + zuulRoute.setServiceId(result.getServiceId()); + zuulRoute.setRetryable(StrUtil.equals(result.getRetryable(), "0") ? Boolean.FALSE : Boolean.TRUE); + zuulRoute.setStripPrefix(StrUtil.equals(result.getStripPrefix(), "0") ? Boolean.FALSE : Boolean.TRUE); + zuulRoute.setUrl(result.getUrl()); + List sensitiveHeadersList = StrUtil.splitTrim(result.getSensitiveheadersList(), ","); + if (sensitiveHeadersList != null) { + Set sensitiveHeaderSet = CollUtil.newHashSet(); + sensitiveHeadersList.forEach(sensitiveHeader -> sensitiveHeaderSet.add(sensitiveHeader)); + zuulRoute.setSensitiveHeaders(sensitiveHeaderSet); + zuulRoute.setCustomSensitiveHeaders(true); + } + } catch (Exception e) { + log.error("从数据库加载路由配置异常", e); + } + log.debug("添加数据库自定义的路由配置,path:{},serviceId:{}", zuulRoute.getPath(), zuulRoute.getServiceId()); + routes.put(zuulRoute.getPath(), zuulRoute); + } + return routes; + } +} diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/component/config/ResourceServerConfiguration.java b/pig-gateway/src/main/java/com/github/pig/gateway/component/config/ResourceServerConfiguration.java index 9aa3967d..39f19fa1 100644 --- a/pig-gateway/src/main/java/com/github/pig/gateway/component/config/ResourceServerConfiguration.java +++ b/pig-gateway/src/main/java/com/github/pig/gateway/component/config/ResourceServerConfiguration.java @@ -1,7 +1,6 @@ package com.github.pig.gateway.component.config; -import com.github.pig.common.bean.config.FilterUrlsPropertiesConfig; -import com.github.pig.gateway.component.filter.ValidateCodeFilter; +import com.github.pig.common.bean.config.FilterIgnorePropertiesConfig; import com.github.pig.gateway.component.handler.PigAccessDeniedHandler; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; @@ -15,7 +14,7 @@ import org.springframework.security.oauth2.config.annotation.web.configuration.E import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter; import org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer; import org.springframework.security.oauth2.provider.expression.OAuth2WebSecurityExpressionHandler; -import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; + /** * @author lengleng * @date 2017/10/27 @@ -24,24 +23,19 @@ import org.springframework.security.web.authentication.UsernamePasswordAuthentic @EnableResourceServer public class ResourceServerConfiguration extends ResourceServerConfigurerAdapter { @Autowired - private FilterUrlsPropertiesConfig filterUrlsPropertiesConfig; + private FilterIgnorePropertiesConfig filterIgnorePropertiesConfig; @Autowired private OAuth2WebSecurityExpressionHandler expressionHandler; @Autowired private PigAccessDeniedHandler pigAccessDeniedHandler; - @Autowired - private ValidateCodeFilter validateCodeFilter; @Override public void configure(HttpSecurity http) throws Exception { - //http.addFilterBefore(validateCodeFilter, UsernamePasswordAuthenticationFilter.class); //允许使用iframe 嵌套,避免swagger-ui 不被加载的问题 http.headers().frameOptions().disable(); ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry registry = http .authorizeRequests(); - for (String url : filterUrlsPropertiesConfig.getAnon()) { - registry.antMatchers(url).permitAll(); - } + filterIgnorePropertiesConfig.getUrls().forEach(url -> registry.antMatchers(url).permitAll()); registry.anyRequest() .access("@permissionService.hasPermission(request,authentication)"); } diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/PreviewFilter.java b/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/PreviewFilter.java index 058e6cb5..08d391dd 100644 --- a/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/PreviewFilter.java +++ b/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/PreviewFilter.java @@ -15,8 +15,10 @@ import com.xiaoleilu.hutool.util.StrUtil; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants; +import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; @@ -32,12 +34,11 @@ import static org.springframework.cloud.netflix.zuul.filters.support.FilterConst * 演示环境控制 */ @Slf4j -@Component @RefreshScope +@Configuration +@ConditionalOnProperty(value = "security.validate.preview", havingValue = "true") public class PreviewFilter extends ZuulFilter { private static final String TOKEN = "token"; - @Value("${security.validate.preview:true}") - private boolean isPreview; @Override public String filterType() { @@ -53,15 +54,14 @@ public class PreviewFilter extends ZuulFilter { public boolean shouldFilter() { HttpServletRequest request = RequestContext.getCurrentContext().getRequest(); if (StrUtil.equalsIgnoreCase(request.getMethod(), HttpMethod.GET.name()) || - StrUtil.containsIgnoreCase(request.getRequestURI(), TOKEN)) { - return false; + StrUtil.containsIgnoreCase(request.getRequestURI(), TOKEN)){ + return false; } - return isPreview; + return true; } @Override public Object run() { - log.warn("演示环境,没有权限操作 -> {}", isPreview); RequestContext ctx = RequestContext.getCurrentContext(); R result = new R<>(); result.setCode(479); diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/ValidateCodeFilter.java b/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/ValidateCodeFilter.java index 3b349b55..459eeb73 100644 --- a/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/ValidateCodeFilter.java +++ b/pig-gateway/src/main/java/com/github/pig/gateway/component/filter/ValidateCodeFilter.java @@ -1,39 +1,44 @@ package com.github.pig.gateway.component.filter; import com.alibaba.fastjson.JSONObject; -import com.fasterxml.jackson.databind.ObjectMapper; +import com.github.pig.common.bean.config.FilterIgnorePropertiesConfig; import com.github.pig.common.constant.SecurityConstants; +import com.github.pig.common.util.AuthUtils; import com.github.pig.common.util.R; import com.github.pig.common.util.exception.ValidateCodeException; import com.netflix.zuul.ZuulFilter; import com.netflix.zuul.context.RequestContext; +import com.xiaoleilu.hutool.collection.CollUtil; import com.xiaoleilu.hutool.util.StrUtil; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants; +import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.stereotype.Component; import javax.servlet.http.HttpServletRequest; +import java.io.IOException; +import java.util.Arrays; /** * @author lengleng * @date 2018/5/10 - * 验证码校验,true开启,false关闭校验 - * 更细化可以 clientId 进行区分 + *

+ * security.validate.code.enabled 默认 为false,开启需要设置为true */ @Slf4j @RefreshScope -@Component("validateCodeFilter") +@Configuration("validateCodeFilter") +@ConditionalOnProperty(value = "security.validate.code", havingValue = "true") public class ValidateCodeFilter extends ZuulFilter { private static final String EXPIRED_CAPTCHA_ERROR = "验证码已过期,请重新获取"; - @Value("${security.validate.code:true}") - private boolean isValidate; @Autowired private RedisTemplate redisTemplate; + @Autowired + private FilterIgnorePropertiesConfig filterIgnorePropertiesConfig; @Override public String filterType() { @@ -45,14 +50,33 @@ public class ValidateCodeFilter extends ZuulFilter { return FilterConstants.SEND_ERROR_FILTER_ORDER + 1; } + /** + * 是否校验验证码 + * 1. 判断验证码开关是否开启 + * 2. 判断请求是否登录请求 + * 3. 判断终端是否支持 + * + * @return true/false + */ @Override public boolean shouldFilter() { HttpServletRequest request = RequestContext.getCurrentContext().getRequest(); - if (isValidate && (StrUtil.containsIgnoreCase(request.getRequestURI(), SecurityConstants.OAUTH_TOKEN_URL) - || StrUtil.containsIgnoreCase(request.getRequestURI(), SecurityConstants.MOBILE_TOKEN_URL))) { - return true; + + if (!StrUtil.containsAnyIgnoreCase(request.getRequestURI(), + SecurityConstants.OAUTH_TOKEN_URL, SecurityConstants.MOBILE_TOKEN_URL)) { + return false; } - return false; + + try { + String[] clientInfos = AuthUtils.extractAndDecodeHeader(request); + if (CollUtil.containsAny(filterIgnorePropertiesConfig.getClients(), Arrays.asList(clientInfos))) { + return false; + } + } catch (IOException e) { + log.error("解析终端信息失败", e); + } + + return true; } @Override @@ -63,7 +87,6 @@ public class ValidateCodeFilter extends ZuulFilter { RequestContext ctx = RequestContext.getCurrentContext(); R result = new R<>(e); result.setCode(478); - result.setMsg("演示环境,没有权限操作"); ctx.setResponseStatusCode(478); ctx.setSendZuulResponse(false); diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/feign/UserService.java b/pig-gateway/src/main/java/com/github/pig/gateway/feign/UserService.java deleted file mode 100644 index 3af86af7..00000000 --- a/pig-gateway/src/main/java/com/github/pig/gateway/feign/UserService.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.github.pig.gateway.feign; - -import com.github.pig.common.vo.UserVO; -import com.github.pig.gateway.feign.fallback.UserServiceFallbackImpl; -import org.springframework.cloud.netflix.feign.FeignClient; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; - -/** - * @author lengleng - * @date 2017/10/31 - */ -@FeignClient(name = "pig-upms-service", fallback = UserServiceFallbackImpl.class) -public interface UserService { - /** - * 通过用户名查询用户、角色信息 - * - * @param username 用户名 - * @return UserVo - */ - @GetMapping("/user/findUserByUsername/{username}") - UserVO findUserByUsername(@PathVariable("username") String username); -} diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/feign/fallback/MenuServiceFallbackImpl.java b/pig-gateway/src/main/java/com/github/pig/gateway/feign/fallback/MenuServiceFallbackImpl.java index 7652dab5..2318e7f3 100644 --- a/pig-gateway/src/main/java/com/github/pig/gateway/feign/fallback/MenuServiceFallbackImpl.java +++ b/pig-gateway/src/main/java/com/github/pig/gateway/feign/fallback/MenuServiceFallbackImpl.java @@ -2,6 +2,8 @@ package com.github.pig.gateway.feign.fallback; import com.github.pig.common.vo.MenuVO; import com.github.pig.gateway.feign.MenuService; +import com.xiaoleilu.hutool.collection.CollUtil; +import lombok.extern.slf4j.Slf4j; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; @@ -14,12 +16,12 @@ import java.util.Set; * why add @Service when i up version ? * https://github.com/spring-cloud/spring-cloud-netflix/issues/762 */ +@Slf4j @Service public class MenuServiceFallbackImpl implements MenuService { - private Logger logger = LoggerFactory.getLogger(this.getClass()); @Override public Set findMenuByRole(String role) { - logger.error("调用{}异常{}","findMenuByRole",role); - return null; + log.error("调用{}异常{}","findMenuByRole",role); + return CollUtil.newHashSet(); } } diff --git a/pig-gateway/src/main/java/com/github/pig/gateway/feign/fallback/UserServiceFallbackImpl.java b/pig-gateway/src/main/java/com/github/pig/gateway/feign/fallback/UserServiceFallbackImpl.java deleted file mode 100644 index b3976878..00000000 --- a/pig-gateway/src/main/java/com/github/pig/gateway/feign/fallback/UserServiceFallbackImpl.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.github.pig.gateway.feign.fallback; - -import com.github.pig.common.vo.UserVO; -import com.github.pig.gateway.feign.UserService; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.stereotype.Service; - -/** - * @author lengleng - * @date 2017/10/31 - * 用户服务的fallback - */ -@Service -public class UserServiceFallbackImpl implements UserService { - private Logger logger = LoggerFactory.getLogger(this.getClass()); - - @Override - public UserVO findUserByUsername(String username) { - logger.error("调用{}异常:{}", "findUserByUsername", username); - return null; - } -} diff --git a/pig-modules/pig-mc-service/pom.xml b/pig-modules/pig-mc-service/pom.xml index b892335a..8aa9b55c 100644 --- a/pig-modules/pig-mc-service/pom.xml +++ b/pig-modules/pig-mc-service/pom.xml @@ -23,11 +23,6 @@ pig-common ${pig.version} - - - org.springframework.boot - spring-boot-starter-amqp - com.aliyun diff --git a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/handler/SmsAliyunMessageHandler.java b/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/handler/SmsAliyunMessageHandler.java index 32412e03..90a085d7 100644 --- a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/handler/SmsAliyunMessageHandler.java +++ b/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/handler/SmsAliyunMessageHandler.java @@ -1,6 +1,5 @@ package com.github.pig.mc.handler; -import com.alibaba.fastjson.JSONObject; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.IAcsClient; import com.aliyuncs.dysmsapi.model.v20170525.SendSmsRequest; @@ -12,8 +11,6 @@ import com.github.pig.common.constant.CommonConstant; import com.github.pig.common.util.Assert; import com.github.pig.common.util.template.MobileMsgTemplate; import com.github.pig.mc.config.SmsAliyunPropertiesConfig; -import com.github.pig.mc.utils.constant.SmsChannelTemplateConstant; -import com.github.pig.mc.utils.sms.EnumSmsChannelTemplate; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @@ -28,8 +25,8 @@ import org.springframework.stereotype.Component; public class SmsAliyunMessageHandler extends AbstractMessageHandler { @Autowired private SmsAliyunPropertiesConfig smsAliyunPropertiesConfig; - private static final String product = "Dysmsapi"; - private static final String domain = "dysmsapi.aliyuncs.com"; + private static final String PRODUCT = "Dysmsapi"; + private static final String DOMAIN = "dysmsapi.aliyuncs.com"; /** * 数据校验 @@ -39,7 +36,7 @@ public class SmsAliyunMessageHandler extends AbstractMessageHandler { @Override public void check(MobileMsgTemplate mobileMsgTemplate) { Assert.isBlank(mobileMsgTemplate.getMobile(), "手机号不能为空"); - Assert.isBlank(mobileMsgTemplate.getText(), "验证码不能为空"); + Assert.isBlank(mobileMsgTemplate.getContext(), "短信内容不能为空"); } /** @@ -56,7 +53,7 @@ public class SmsAliyunMessageHandler extends AbstractMessageHandler { //初始化acsClient,暂不支持region化 IClientProfile profile = DefaultProfile.getProfile("cn-hangzhou", smsAliyunPropertiesConfig.getAccessKey(), smsAliyunPropertiesConfig.getSecretKey()); try { - DefaultProfile.addEndpoint("cn-hou", "cn-hangzhou", product, domain); + DefaultProfile.addEndpoint("cn-hou", "cn-hangzhou", PRODUCT, DOMAIN); } catch (ClientException e) { log.error("初始化SDK 异常", e); e.printStackTrace(); @@ -67,20 +64,21 @@ public class SmsAliyunMessageHandler extends AbstractMessageHandler { SendSmsRequest request = new SendSmsRequest(); //必填:待发送手机号 request.setPhoneNumbers(mobileMsgTemplate.getMobile()); + //必填:短信签名-可在短信控制台中找到 - request.setSignName(EnumSmsChannelTemplate.LOGIN_NAME_LOGIN.getDescription()); + request.setSignName(mobileMsgTemplate.getSignName()); + //必填:短信模板-可在短信控制台中找到 - request.setTemplateCode(smsAliyunPropertiesConfig.getChannels().get(SmsChannelTemplateConstant.LOGIN_NAME_LOGIN)); - //可选:模板中的变量替换JSON串,如模板内容为"亲爱的${name},您的验证码为${code}"时,此处的值为 - JSONObject jsonObject = new JSONObject(); - jsonObject.put("product", "pig_cloud"); - jsonObject.put("code", mobileMsgTemplate.getText()); - request.setTemplateParam(jsonObject.toJSONString()); + request.setTemplateCode(smsAliyunPropertiesConfig.getChannels().get(mobileMsgTemplate.getTemplate())); + + //可选:模板中的变量替换JSON串,如模板内容为"亲爱的${name},您的验证码为${code}" + request.setTemplateParam(mobileMsgTemplate.getContext()); request.setOutId(mobileMsgTemplate.getMobile()); //hint 此处可能会抛出异常,注意catch try { SendSmsResponse sendSmsResponse = acsClient.getAcsResponse(request); + log.info("短信发送完毕,手机号:{},返回状态:{}", mobileMsgTemplate.getMobile(), sendSmsResponse.getCode()); } catch (ClientException e) { log.error("发送异常"); e.printStackTrace(); diff --git a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/listener/MobileCodeReceiveListener.java b/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/listener/MobileCodeReceiveListener.java index 302a5460..95f488be 100644 --- a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/listener/MobileCodeReceiveListener.java +++ b/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/listener/MobileCodeReceiveListener.java @@ -26,11 +26,16 @@ public class MobileCodeReceiveListener { @RabbitHandler public void receive(MobileMsgTemplate mobileMsgTemplate) { long startTime = System.currentTimeMillis(); - log.info("消息中心接收到短信发送请求-> 手机号:{} -> 验证码: {} ", mobileMsgTemplate.getMobile(), mobileMsgTemplate.getText()); - String type = mobileMsgTemplate.getType(); - SmsMessageHandler messageHandler = messageHandlerMap.get(type); + log.info("消息中心接收到短信发送请求-> 手机号:{} -> 验证码: {} ", mobileMsgTemplate.getMobile(), mobileMsgTemplate.getContext()); + String channel = mobileMsgTemplate.getChannel(); + SmsMessageHandler messageHandler = messageHandlerMap.get(channel); + if (messageHandler == null) { + log.error("没有找到指定的路由通道,不进行发送处理完毕!"); + return; + } + messageHandler.execute(mobileMsgTemplate); long useTime = System.currentTimeMillis() - startTime; - log.info("调用 {} 短信网关处理完毕,耗时 {}毫秒", type, useTime); + log.info("调用 {} 短信网关处理完毕,耗时 {}毫秒", channel, useTime); } } diff --git a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/listener/MobileServiceChangeReceiveListener.java b/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/listener/MobileServiceChangeReceiveListener.java index 49911677..1be3e605 100644 --- a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/listener/MobileServiceChangeReceiveListener.java +++ b/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/listener/MobileServiceChangeReceiveListener.java @@ -2,11 +2,15 @@ package com.github.pig.mc.listener; import com.github.pig.common.constant.MqQueueConstant; import com.github.pig.common.util.template.MobileMsgTemplate; +import com.github.pig.mc.handler.SmsMessageHandler; import lombok.extern.slf4j.Slf4j; import org.springframework.amqp.rabbit.annotation.RabbitHandler; import org.springframework.amqp.rabbit.annotation.RabbitListener; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; +import java.util.Map; + /** * @author lengleng * @date 2018年01月25日15:59:00 @@ -16,10 +20,22 @@ import org.springframework.stereotype.Component; @Component @RabbitListener(queues = MqQueueConstant.MOBILE_SERVICE_STATUS_CHANGE) public class MobileServiceChangeReceiveListener { + @Autowired + private Map messageHandlerMap; + + @RabbitHandler public void receive(MobileMsgTemplate mobileMsgTemplate) { long startTime = System.currentTimeMillis(); - log.info("消息中心接收到短信发送请求-> 手机号:{} -> 验证码: {} ", mobileMsgTemplate.getMobile(), mobileMsgTemplate.getText()); + log.info("消息中心接收到短信发送请求-> 手机号:{} -> 信息体:{} ", mobileMsgTemplate.getMobile(), mobileMsgTemplate.getContext()); + String channel = mobileMsgTemplate.getChannel(); + SmsMessageHandler messageHandler = messageHandlerMap.get(channel); + if (messageHandler == null) { + log.error("没有找到指定的路由通道,不进行发送处理完毕!"); + return; + } + + messageHandler.execute(mobileMsgTemplate); long useTime = System.currentTimeMillis() - startTime; log.info("调用 {} 短信网关处理完毕,耗时 {}毫秒", mobileMsgTemplate.getType(), useTime); } diff --git a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/utils/constant/SmsChannelTemplateConstant.java b/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/utils/constant/SmsChannelTemplateConstant.java deleted file mode 100644 index 6feb7b28..00000000 --- a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/utils/constant/SmsChannelTemplateConstant.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.github.pig.mc.utils.constant; - -/** - * @author lengleng - * @date 2018/1/16 - * 短信通道模板常量 - */ -public interface SmsChannelTemplateConstant { - /** - * 登录验证码 - */ - String LOGIN_NAME_LOGIN = "loginCodeChannel"; -} diff --git a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/utils/sms/EnumSmsChannelTemplate.java b/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/utils/sms/EnumSmsChannelTemplate.java deleted file mode 100644 index b0072c2e..00000000 --- a/pig-modules/pig-mc-service/src/main/java/com/github/pig/mc/utils/sms/EnumSmsChannelTemplate.java +++ /dev/null @@ -1,42 +0,0 @@ -package com.github.pig.mc.utils.sms; - -/** - * @author lengleng - * @date 2018/1/16 - * 短信通道模板 - */ -public enum EnumSmsChannelTemplate { - /** - * 登录验证 - */ - LOGIN_NAME_LOGIN("loginCodeChannel", "登录验证"); - /** - * 模板名称 - */ - private String name; - /** - * 模板签名 - */ - private String description; - - EnumSmsChannelTemplate(String name, String description) { - this.name = name; - this.description = description; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } -} diff --git a/pig-modules/pig-sso-client-demo/src/main/java/com/github/pig/sso/controller/DemoController.java b/pig-modules/pig-sso-client-demo/src/main/java/com/github/pig/sso/controller/DemoController.java index af53807e..9fb09582 100644 --- a/pig-modules/pig-sso-client-demo/src/main/java/com/github/pig/sso/controller/DemoController.java +++ b/pig-modules/pig-sso-client-demo/src/main/java/com/github/pig/sso/controller/DemoController.java @@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RestController; */ @RestController public class DemoController { - @GetMapping("/user") + @GetMapping("/") public Authentication user(Authentication authentication) { return authentication; } diff --git a/pig-modules/pig-sso-client-demo/src/main/resources/bootstrap.yml b/pig-modules/pig-sso-client-demo/src/main/resources/bootstrap.yml index 016c4363..c9bbc170 100644 --- a/pig-modules/pig-sso-client-demo/src/main/resources/bootstrap.yml +++ b/pig-modules/pig-sso-client-demo/src/main/resources/bootstrap.yml @@ -29,14 +29,6 @@ spring: name: pig-sso-client-demo profiles: active: dev - redis: - remote: true #是否是cachecloud 获取 - host: 106.14.69.75 - port: 6381 - password: - -logging: - config: classpath:logback.xml --- spring: profiles: dev diff --git a/pig-modules/pig-upms-service/pom.xml b/pig-modules/pig-upms-service/pom.xml index e8837e99..2eb97fca 100644 --- a/pig-modules/pig-upms-service/pom.xml +++ b/pig-modules/pig-upms-service/pom.xml @@ -57,11 +57,6 @@ ${velocity-engine-core.version} - - - org.springframework.boot - spring-boot-starter-amqp - com.qiniu diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/config/RabbitConfig.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/config/RabbitConfig.java index cbc78a80..1f8a1c65 100644 --- a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/config/RabbitConfig.java +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/config/RabbitConfig.java @@ -42,13 +42,33 @@ public class RabbitConfig { return new Queue(MqQueueConstant.MOBILE_SERVICE_STATUS_CHANGE); } + /** + * 初始化钉钉状态改变队列 + * + * @return + */ @Bean public Queue initDingTalkServiceStatusChangeQueue() { return new Queue(MqQueueConstant.DINGTALK_SERVICE_STATUS_CHANGE); } + /** + * 初始化zipkin队列 + * + * @return + */ @Bean public Queue initZipkinQueue() { return new Queue(MqQueueConstant.ZIPKIN_NAME_QUEUE); } + + /** + * 初始化路由配置状态队列 + * + * @return + */ + @Bean + public Queue initRouteConfigChangeQueue() { + return new Queue(MqQueueConstant.ROUTE_CONFIG_CHANGE); + } } diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/listener/RouteConfigInitListener.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/listener/RouteConfigInitListener.java new file mode 100644 index 00000000..ee3d94e7 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/listener/RouteConfigInitListener.java @@ -0,0 +1,47 @@ +package com.github.pig.admin.common.listener; + +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.github.pig.admin.service.SysZuulRouteService; +import com.github.pig.common.constant.CommonConstant; +import com.github.pig.common.entity.SysZuulRoute; +import com.xiaoleilu.hutool.collection.CollUtil; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.ApplicationArguments; +import org.springframework.boot.ApplicationRunner; +import org.springframework.data.redis.core.RedisTemplate; +import org.springframework.stereotype.Component; + +import java.util.List; + +/** + * @author lengleng + * @date 2018/5/16 + */ +@Slf4j +@Component +public class RouteConfigInitListener implements ApplicationRunner { + @Autowired + private RedisTemplate redisTemplate; + @Autowired + private SysZuulRouteService sysZuulRouteService; + + /** + * Callback used to run the bean. + * 初始化路由配置的数据,避免gateway 依赖业务模块 + * + * @param args incoming application arguments + */ + @Override + public void run(ApplicationArguments args) { + log.info("开始初始化路由配置数据"); + EntityWrapper wrapper = new EntityWrapper(); + wrapper.eq(CommonConstant.DEL_FLAG, CommonConstant.STATUS_NORMAL); + List routeList = sysZuulRouteService.selectList(wrapper); + if (CollUtil.isNotEmpty(routeList)) { + redisTemplate.opsForValue().set(CommonConstant.ROUTE_KEY, routeList); + log.info("更新Redis中路由配置数据:{}条", routeList.size()); + } + log.info("初始化路由配置数据完毕"); + } +} \ No newline at end of file diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/util/PigResourcesGenerator.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/util/PigResourcesGenerator.java index 12934c32..f686581a 100644 --- a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/util/PigResourcesGenerator.java +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/common/util/PigResourcesGenerator.java @@ -25,7 +25,7 @@ public class PigResourcesGenerator { public static void main(String[] args) { - String outputDir = "/Users/lengleng/work/source"; + String outputDir = "/Users/lengleng/work/temp"; final String viewOutputDir = outputDir + "/view/"; AutoGenerator mpg = new AutoGenerator(); // 全局配置 @@ -48,7 +48,7 @@ public class PigResourcesGenerator { dsc.setDriverName("com.mysql.jdbc.Driver"); dsc.setUsername("root"); dsc.setPassword("lengleng"); - dsc.setUrl("jdbc:mysql://106.14.69.75:3309/pig?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false"); + dsc.setUrl("jdbc:mysql://139.224.200.249:3309/pig?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false"); mpg.setDataSource(dsc); // 策略配置 diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/OauthClientDetailsController.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/OauthClientDetailsController.java new file mode 100644 index 00000000..2d30859c --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/OauthClientDetailsController.java @@ -0,0 +1,86 @@ +package com.github.pig.admin.controller; + +import java.util.Map; + +import com.github.pig.admin.model.entity.SysOauthClientDetails; +import com.github.pig.common.util.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.plugins.Page; +import com.github.pig.common.util.Query; +import com.github.pig.admin.service.SysOauthClientDetailsService; +import com.github.pig.common.web.BaseController; + +/** + *

+ * 前端控制器 + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +@RestController +@RequestMapping("/client") +public class OauthClientDetailsController extends BaseController { + @Autowired + private SysOauthClientDetailsService sysOauthClientDetailsService; + + /** + * 通过ID查询 + * + * @param id ID + * @return SysOauthClientDetails + */ + @GetMapping("/{id}") + public SysOauthClientDetails get(@PathVariable Integer id) { + return sysOauthClientDetailsService.selectById(id); + } + + + /** + * 分页查询信息 + * + * @param params 分页对象 + * @return 分页对象 + */ + @RequestMapping("/page") + public Page page(@RequestParam Map params) { + return sysOauthClientDetailsService.selectPage(new Query<>(params), new EntityWrapper<>()); + } + + /** + * 添加 + * + * @param sysOauthClientDetails 实体 + * @return success/false + */ + @PostMapping + public R add(@RequestBody SysOauthClientDetails sysOauthClientDetails) { + return new R<>(sysOauthClientDetailsService.insert(sysOauthClientDetails)); + } + + /** + * 删除 + * + * @param id ID + * @return success/false + */ + @DeleteMapping("/{id}") + public R delete(@PathVariable String id) { + SysOauthClientDetails sysOauthClientDetails = new SysOauthClientDetails(); + sysOauthClientDetails.setClientId(id); + return new R<>(sysOauthClientDetailsService.deleteById(sysOauthClientDetails)); + } + + /** + * 编辑 + * + * @param sysOauthClientDetails 实体 + * @return success/false + */ + @PutMapping + public R edit(@RequestBody SysOauthClientDetails sysOauthClientDetails) { + return new R<>(sysOauthClientDetailsService.updateById(sysOauthClientDetails)); + } +} diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/ZuulRouteController.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/ZuulRouteController.java new file mode 100644 index 00000000..9713a380 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/ZuulRouteController.java @@ -0,0 +1,100 @@ +package com.github.pig.admin.controller; + +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.plugins.Page; +import com.github.pig.admin.service.SysZuulRouteService; +import com.github.pig.common.constant.CommonConstant; +import com.github.pig.common.entity.SysZuulRoute; +import com.github.pig.common.util.Query; +import com.github.pig.common.util.R; +import com.github.pig.common.web.BaseController; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.Date; +import java.util.Map; + +/** + *

+ * 动态路由配置表 前端控制器 + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +@RestController +@RequestMapping("/route") +public class ZuulRouteController extends BaseController { + @Autowired + private SysZuulRouteService sysZuulRouteService; + /** + * 通过ID查询 + * + * @param id ID + * @return SysZuulRoute + */ + @GetMapping("/{id}") + public SysZuulRoute get(@PathVariable Integer id) { + return sysZuulRouteService.selectById(id); + } + + /** + * 分页查询信息 + * + * @param params 分页对象 + * @return 分页对象 + */ + @RequestMapping("/page") + public Page page(@RequestParam Map params) { + params.put(CommonConstant.DEL_FLAG, CommonConstant.STATUS_NORMAL); + return sysZuulRouteService.selectPage(new Query<>(params), new EntityWrapper<>()); + } + + /** + * 添加 + * + * @param sysZuulRoute 实体 + * @return success/false + */ + @PostMapping + public R add(@RequestBody SysZuulRoute sysZuulRoute) { + return new R<>(sysZuulRouteService.insert(sysZuulRoute)); + } + + /** + * 删除 + * + * @param id ID + * @return success/false + */ + @DeleteMapping("/{id}") + public R delete(@PathVariable Integer id) { + SysZuulRoute sysZuulRoute = new SysZuulRoute(); + sysZuulRoute.setId(id); + sysZuulRoute.setUpdateTime(new Date()); + sysZuulRoute.setDelFlag(CommonConstant.STATUS_DEL); + return new R<>(sysZuulRouteService.updateById(sysZuulRoute)); + } + + /** + * 编辑 + * + * @param sysZuulRoute 实体 + * @return success/false + */ + @PutMapping + public R edit(@RequestBody SysZuulRoute sysZuulRoute) { + sysZuulRoute.setUpdateTime(new Date()); + return new R<>(sysZuulRouteService.updateById(sysZuulRoute)); + } + + /** + * 刷新配置 + * + * @return success/fasle + */ + @GetMapping("/apply") + public R apply() { + return new R<>(sysZuulRouteService.applyZuulRoute()); + } +} diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/mapper/SysOauthClientDetailsMapper.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/mapper/SysOauthClientDetailsMapper.java new file mode 100644 index 00000000..59fed0df --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/mapper/SysOauthClientDetailsMapper.java @@ -0,0 +1,17 @@ +package com.github.pig.admin.mapper; + + +import com.baomidou.mybatisplus.mapper.BaseMapper; +import com.github.pig.admin.model.entity.SysOauthClientDetails; + +/** + *

+ * Mapper 接口 + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +public interface SysOauthClientDetailsMapper extends BaseMapper { + +} diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/mapper/SysZuulRouteMapper.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/mapper/SysZuulRouteMapper.java new file mode 100644 index 00000000..4f8b8fa3 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/mapper/SysZuulRouteMapper.java @@ -0,0 +1,16 @@ +package com.github.pig.admin.mapper; + +import com.baomidou.mybatisplus.mapper.BaseMapper; +import com.github.pig.common.entity.SysZuulRoute; + +/** + *

+ * 动态路由配置表 Mapper 接口 + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +public interface SysZuulRouteMapper extends BaseMapper { + +} diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/dto/MenuTree.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/dto/MenuTree.java index 184302ed..9aa592c8 100644 --- a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/dto/MenuTree.java +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/dto/MenuTree.java @@ -20,6 +20,7 @@ public class MenuTree extends TreeNode { private String code; private String type; private String label; + private Integer sort; public MenuTree() { } @@ -48,5 +49,6 @@ public class MenuTree extends TreeNode { this.component = menuVo.getComponent(); this.type = menuVo.getType(); this.label = menuVo.getName(); + this.sort = menuVo.getSort(); } } diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/entity/SysOauthClientDetails.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/entity/SysOauthClientDetails.java new file mode 100644 index 00000000..04e30a65 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/entity/SysOauthClientDetails.java @@ -0,0 +1,154 @@ +package com.github.pig.admin.model.entity; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.activerecord.Model; +import com.baomidou.mybatisplus.annotations.TableName; +import com.baomidou.mybatisplus.enums.IdType; + +import java.io.Serializable; + +/** + *

+ * + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +@TableName("sys_oauth_client_details") +public class SysOauthClientDetails extends Model { + + private static final long serialVersionUID = 1L; + + @TableId(value = "client_id", type = IdType.INPUT) + private String clientId; + @TableField("resource_ids") + private String resourceIds; + @TableField("client_secret") + private String clientSecret; + private String scope; + @TableField("authorized_grant_types") + private String authorizedGrantTypes; + @TableField("web_server_redirect_uri") + private String webServerRedirectUri; + private String authorities; + @TableField("access_token_validity") + private Integer accessTokenValidity; + @TableField("refresh_token_validity") + private Integer refreshTokenValidity; + @TableField("additional_information") + private String additionalInformation; + private String autoapprove; + + + public String getClientId() { + return clientId; + } + + public void setClientId(String clientId) { + this.clientId = clientId; + } + + public String getResourceIds() { + return resourceIds; + } + + public void setResourceIds(String resourceIds) { + this.resourceIds = resourceIds; + } + + public String getClientSecret() { + return clientSecret; + } + + public void setClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + } + + public String getScope() { + return scope; + } + + public void setScope(String scope) { + this.scope = scope; + } + + public String getAuthorizedGrantTypes() { + return authorizedGrantTypes; + } + + public void setAuthorizedGrantTypes(String authorizedGrantTypes) { + this.authorizedGrantTypes = authorizedGrantTypes; + } + + public String getWebServerRedirectUri() { + return webServerRedirectUri; + } + + public void setWebServerRedirectUri(String webServerRedirectUri) { + this.webServerRedirectUri = webServerRedirectUri; + } + + public String getAuthorities() { + return authorities; + } + + public void setAuthorities(String authorities) { + this.authorities = authorities; + } + + public Integer getAccessTokenValidity() { + return accessTokenValidity; + } + + public void setAccessTokenValidity(Integer accessTokenValidity) { + this.accessTokenValidity = accessTokenValidity; + } + + public Integer getRefreshTokenValidity() { + return refreshTokenValidity; + } + + public void setRefreshTokenValidity(Integer refreshTokenValidity) { + this.refreshTokenValidity = refreshTokenValidity; + } + + public String getAdditionalInformation() { + return additionalInformation; + } + + public void setAdditionalInformation(String additionalInformation) { + this.additionalInformation = additionalInformation; + } + + public String getAutoapprove() { + return autoapprove; + } + + public void setAutoapprove(String autoapprove) { + this.autoapprove = autoapprove; + } + + @Override + protected Serializable pkVal() { + return this.clientId; + } + + @Override + public String toString() { + return "SysOauthClientDetails{" + + ", clientId=" + clientId + + ", resourceIds=" + resourceIds + + ", clientSecret=" + clientSecret + + ", scope=" + scope + + ", authorizedGrantTypes=" + authorizedGrantTypes + + ", webServerRedirectUri=" + webServerRedirectUri + + ", authorities=" + authorities + + ", accessTokenValidity=" + accessTokenValidity + + ", refreshTokenValidity=" + refreshTokenValidity + + ", additionalInformation=" + additionalInformation + + ", autoapprove=" + autoapprove + + "}"; + } +} diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/entity/SysUser.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/entity/SysUser.java index bd868b99..20d438a2 100644 --- a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/entity/SysUser.java +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/model/entity/SysUser.java @@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; +import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Data; import java.io.Serializable; @@ -34,10 +35,12 @@ public class SysUser extends Model { */ private String username; + @JsonIgnore private String password; /** * 随机盐 */ + @JsonIgnore private String salt; /** * 创建时间 diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysMenuService.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysMenuService.java index 348a11c8..dba5f6e8 100644 --- a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysMenuService.java +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysMenuService.java @@ -37,7 +37,6 @@ public interface SysMenuService extends IService { * 级联删除菜单 * * @param id 菜单ID - * @param roleList 角色 * @return 成功、失败 */ Boolean deleteMenu(Integer id); @@ -46,7 +45,6 @@ public interface SysMenuService extends IService { * 更新菜单信息 * * @param sysMenu 菜单信息 - * @param roleList 角色 * @return 成功、失败 */ Boolean updateMenuById(SysMenu sysMenu); diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysOauthClientDetailsService.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysOauthClientDetailsService.java new file mode 100644 index 00000000..fdc94774 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysOauthClientDetailsService.java @@ -0,0 +1,16 @@ +package com.github.pig.admin.service; + +import com.baomidou.mybatisplus.service.IService; +import com.github.pig.admin.model.entity.SysOauthClientDetails; + +/** + *

+ * 服务类 + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +public interface SysOauthClientDetailsService extends IService { + +} diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysZuulRouteService.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysZuulRouteService.java new file mode 100644 index 00000000..af990360 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/SysZuulRouteService.java @@ -0,0 +1,21 @@ +package com.github.pig.admin.service; + +import com.baomidou.mybatisplus.service.IService; +import com.github.pig.common.entity.SysZuulRoute; + +/** + *

+ * 动态路由配置表 服务类 + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +public interface SysZuulRouteService extends IService { + + /** + * 立即生效配置 + * @return + */ + Boolean applyZuulRoute(); +} diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysMenuServiceImpl.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysMenuServiceImpl.java index 9fb732a3..00c55979 100644 --- a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysMenuServiceImpl.java +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysMenuServiceImpl.java @@ -10,16 +10,14 @@ import com.github.pig.admin.service.SysMenuService; import com.github.pig.common.constant.CommonConstant; import com.github.pig.common.util.Assert; import com.github.pig.common.vo.MenuVO; +import com.xiaoleilu.hutool.collection.CollUtil; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.Cacheable; import org.springframework.stereotype.Service; -import java.util.ArrayList; -import java.util.HashSet; -import java.util.List; -import java.util.Set; +import java.util.*; /** *

@@ -94,12 +92,13 @@ public class SysMenuServiceImpl extends ServiceImpl impl // 获取符合条件得菜单 Set all = new HashSet<>(); roleNames.forEach(roleName -> all.addAll(findMenuByRoleName(roleName))); - final List menuTreeList = new ArrayList<>(); + List menuTreeList = new ArrayList<>(); all.forEach(menuVo -> { if (CommonConstant.MENU.equals(menuVo.getType())) { menuTreeList.add(new MenuTree(menuVo)); } }); + CollUtil.sort(menuTreeList, Comparator.comparingInt(MenuTree::getSort)); return TreeUtil.bulid(menuTreeList, -1); } diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysOauthClientDetailsServiceImpl.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysOauthClientDetailsServiceImpl.java new file mode 100644 index 00000000..7964d5f5 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysOauthClientDetailsServiceImpl.java @@ -0,0 +1,20 @@ +package com.github.pig.admin.service.impl; + +import com.github.pig.admin.mapper.SysOauthClientDetailsMapper; +import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import com.github.pig.admin.model.entity.SysOauthClientDetails; +import com.github.pig.admin.service.SysOauthClientDetailsService; +import org.springframework.stereotype.Service; + +/** + *

+ * 服务实现类 + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +@Service +public class SysOauthClientDetailsServiceImpl extends ServiceImpl implements SysOauthClientDetailsService { + +} diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysUserServiceImpl.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysUserServiceImpl.java index 7eb13bcc..2b813c81 100644 --- a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysUserServiceImpl.java +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysUserServiceImpl.java @@ -1,5 +1,6 @@ package com.github.pig.admin.service.impl; +import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.baomidou.mybatisplus.plugins.Page; import com.baomidou.mybatisplus.service.impl.ServiceImpl; @@ -17,6 +18,8 @@ import com.github.pig.common.bean.interceptor.DataScope; import com.github.pig.common.constant.CommonConstant; import com.github.pig.common.constant.MqQueueConstant; import com.github.pig.common.constant.SecurityConstants; +import com.github.pig.common.constant.enums.EnumSmsChannel; +import com.github.pig.common.constant.enums.EnumSmsChannelTemplate; import com.github.pig.common.util.Query; import com.github.pig.common.util.R; import com.github.pig.common.util.UserUtils; @@ -125,7 +128,6 @@ public class SysUserServiceImpl extends ServiceImpl impl dataScope.setScopeName("deptId"); dataScope.setIsOnly(true); dataScope.setDeptIds(getChildDepts()); - dataScope.putAll(query.getCondition()); query.setRecords(sysUserMapper.selectUserVoPageDataScope(query, dataScope)); return query; } @@ -181,8 +183,18 @@ public class SysUserServiceImpl extends ServiceImpl impl } String code = RandomUtil.randomNumbers(4); + JSONObject contextJson = new JSONObject(); + contextJson.put("code", code); + contextJson.put("product", "Pig4Cloud"); log.info("短信发送请求消息中心 -> 手机号:{} -> 验证码:{}", mobile, code); - rabbitTemplate.convertAndSend(MqQueueConstant.MOBILE_CODE_QUEUE, new MobileMsgTemplate(mobile, code, CommonConstant.ALIYUN_SMS)); + rabbitTemplate.convertAndSend(MqQueueConstant.MOBILE_CODE_QUEUE, + new MobileMsgTemplate( + mobile, + contextJson.toJSONString(), + CommonConstant.ALIYUN_SMS, + EnumSmsChannelTemplate.LOGIN_NAME_LOGIN.getSignName(), + EnumSmsChannelTemplate.LOGIN_NAME_LOGIN.getTemplate() + )); redisTemplate.opsForValue().set(SecurityConstants.DEFAULT_CODE_KEY + mobile, code, SecurityConstants.DEFAULT_IMAGE_EXPIRE, TimeUnit.SECONDS); return new R<>(true); } diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysZuulRouteServiceImpl.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysZuulRouteServiceImpl.java new file mode 100644 index 00000000..38641519 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/service/impl/SysZuulRouteServiceImpl.java @@ -0,0 +1,46 @@ +package com.github.pig.admin.service.impl; + +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.github.pig.admin.mapper.SysZuulRouteMapper; +import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import com.github.pig.common.constant.CommonConstant; +import com.github.pig.common.constant.MqQueueConstant; +import com.github.pig.common.entity.SysZuulRoute; +import com.github.pig.admin.service.SysZuulRouteService; +import org.springframework.amqp.rabbit.core.RabbitTemplate; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.data.redis.core.RedisTemplate; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + *

+ * 动态路由配置表 服务实现类 + *

+ * + * @author lengleng + * @since 2018-05-15 + */ +@Service +public class SysZuulRouteServiceImpl extends ServiceImpl implements SysZuulRouteService { + @Autowired + private RedisTemplate redisTemplate; + @Autowired + private RabbitTemplate rabbitTemplate; + + /** + * 立即生效配置 + * + * @return + */ + @Override + public Boolean applyZuulRoute() { + EntityWrapper wrapper = new EntityWrapper(); + wrapper.eq(CommonConstant.DEL_FLAG, CommonConstant.STATUS_NORMAL); + List routeList = selectList(wrapper); + redisTemplate.opsForValue().set(CommonConstant.ROUTE_KEY, routeList); + rabbitTemplate.convertAndSend(MqQueueConstant.ROUTE_CONFIG_CHANGE, 1); + return Boolean.TRUE; + } +} diff --git a/pig-modules/pig-upms-service/src/main/resources/mapper/SysOauthClientDetailsMapper.xml b/pig-modules/pig-upms-service/src/main/resources/mapper/SysOauthClientDetailsMapper.xml new file mode 100644 index 00000000..cd8b3999 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/resources/mapper/SysOauthClientDetailsMapper.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + client_id AS clientId, resource_ids AS resourceIds, client_secret AS clientSecret, scope, authorized_grant_types AS authorizedGrantTypes, web_server_redirect_uri AS webServerRedirectUri, authorities, access_token_validity AS accessTokenValidity, refresh_token_validity AS refreshTokenValidity, additional_information AS additionalInformation, autoapprove + + + diff --git a/pig-modules/pig-upms-service/src/main/resources/mapper/SysZuulRouteMapper.xml b/pig-modules/pig-upms-service/src/main/resources/mapper/SysZuulRouteMapper.xml new file mode 100644 index 00000000..16d4a207 --- /dev/null +++ b/pig-modules/pig-upms-service/src/main/resources/mapper/SysZuulRouteMapper.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + id, path, service_id AS serviceId, url, strip_prefix AS stripPrefix, retryable, enabled, sensitiveHeaders_list AS sensitiveheadersList, create_time AS createTime, update_time AS updateTime, del_flag AS delFlag + + + diff --git a/pig-modules/pig-upms-service/src/main/resources/templates/controller.java.vm b/pig-modules/pig-upms-service/src/main/resources/templates/controller.java.vm index dce6f0a1..1bc22aa4 100644 --- a/pig-modules/pig-upms-service/src/main/resources/templates/controller.java.vm +++ b/pig-modules/pig-upms-service/src/main/resources/templates/controller.java.vm @@ -1,4 +1,4 @@ -package ${package.Controller}; +package $!{package.Controller}; import java.util.Map; import java.util.Date; import org.springframework.beans.factory.annotation.Autowired; @@ -7,10 +7,11 @@ import com.github.pig.common.constant.CommonConstant; import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.baomidou.mybatisplus.plugins.Page; import com.github.pig.common.util.Query; -import ${package.Entity}.${entity}; -import ${package.Service}.${entity}Service; -#if(${superControllerClassPackage}) -import ${superControllerClassPackage}; +import com.github.pig.common.util.R; +import $!{package.Entity}.$!{entity}; +import $!{package.Service}.$!{entity}Service; +#if($!{superControllerClassPackage}) +import $!{superControllerClassPackage}; #end /** @@ -18,23 +19,23 @@ import ${superControllerClassPackage}; * $!{table.comment} 前端控制器 *

* - * @author ${author} - * @since ${date} + * @author $!{author} + * @since $!{date} */ @RestController -@RequestMapping("/${table.entityPath}") -public class ${table.controllerName} extends ${superControllerClass} { - @Autowired private ${entity}Service ${table.entityPath}Service; +@RequestMapping("/$!{table.entityPath}") +public class $!{table.controllerName} extends $!{superControllerClass} { + @Autowired private $!{entity}Service $!{table.entityPath}Service; /** * 通过ID查询 * * @param id ID - * @return ${entity} + * @return $!{entity} */ @GetMapping("/{id}") - public ${entity} get(@PathVariable Integer id) { - return ${table.entityPath}Service.selectById(id); + public R<$!{entity}> get(@PathVariable Integer id) { + return new R<>($!{table.entityPath}Service.selectById(id)); } @@ -47,17 +48,17 @@ public class ${table.controllerName} extends ${superControllerClass} { @RequestMapping("/page") public Page page(@RequestParam Map params) { params.put(CommonConstant.DEL_FLAG, CommonConstant.STATUS_NORMAL); - return ${table.entityPath}Service.selectPage(new Query<>(params), new EntityWrapper<>()); + return $!{table.entityPath}Service.selectPage(new Query<>(params), new EntityWrapper<>()); } /** * 添加 - * @param ${table.entityPath} 实体 + * @param $!{table.entityPath} 实体 * @return success/false */ @PostMapping - public Boolean add(@RequestBody ${entity} ${table.entityPath}) { - return ${table.entityPath}Service.insert(${table.entityPath}); + public R add(@RequestBody $!{entity} $!{table.entityPath}) { + return new R<>($!{table.entityPath}Service.insert($!{table.entityPath})); } /** @@ -66,22 +67,22 @@ public class ${table.controllerName} extends ${superControllerClass} { * @return success/false */ @DeleteMapping("/{id}") - public Boolean delete(@PathVariable Integer id) { - ${entity} ${table.entityPath} = new ${entity}(); - ${table.entityPath}.setId(id); - ${table.entityPath}.setUpdateTime(new Date()); - ${table.entityPath}.setDelFlag(CommonConstant.STATUS_DEL); - return ${table.entityPath}Service.updateById(${table.entityPath}); + public R delete(@PathVariable Integer id) { + $!{entity} $!{table.entityPath} = new $!{entity}(); + $!{table.entityPath}.setId(id); + $!{table.entityPath}.setUpdateTime(new Date()); + $!{table.entityPath}.setDelFlag(CommonConstant.STATUS_DEL); + return new R<>($!{table.entityPath}Service.updateById($!{table.entityPath})); } /** * 编辑 - * @param ${table.entityPath} 实体 + * @param $!{table.entityPath} 实体 * @return success/false */ @PutMapping - public Boolean edit(@RequestBody ${entity} ${table.entityPath}) { - ${table.entityPath}.setUpdateTime(new Date()); - return ${table.entityPath}Service.updateById(${table.entityPath}); + public R edit(@RequestBody $!{entity} $!{table.entityPath}) { + $!{table.entityPath}.setUpdateTime(new Date()); + return new R<>($!{table.entityPath}Service.updateById($!{table.entityPath})); } } diff --git a/pig-modules/pig-upms-service/src/main/resources/templates/listvue.vue.vm b/pig-modules/pig-upms-service/src/main/resources/templates/listvue.vue.vm index 8dc4f9c2..4dcd549b 100644 --- a/pig-modules/pig-upms-service/src/main/resources/templates/listvue.vue.vm +++ b/pig-modules/pig-upms-service/src/main/resources/templates/listvue.vue.vm @@ -1,25 +1,25 @@