/*
Navicat Premium Data Transfer
Source Server : hadoop11
Source Server Type : MySQL
Source Server Version : 80026 (8.0.26)
Source Host : hadoop11:3306
Source Schema : jrxd
Target Server Type : MySQL
Target Server Version : 80026 (8.0.26)
File Encoding : 65001
Date: 27/06/2024 12:11:57
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for repay_plan_item
-- ----------------------------
DROP TABLE IF EXISTS `repay_plan_item`;
CREATE TABLE `repay_plan_item` (
`id` bigint NOT NULL AUTO_INCREMENT,
`drawal_apply_id` bigint NULL DEFAULT NULL,
`repay_plan_id` bigint NOT NULL,
`repay_term` int NOT NULL,
`status` int NOT NULL,
`due_date` datetime NOT NULL,
`dest_principal` bigint NOT NULL,
`dest_interest` bigint NOT NULL,
`dest_service` bigint NOT NULL,
`dest_pty_interest` bigint NOT NULL,
`dest_pty_fee` bigint NOT NULL,
`dest_pty_late_fee` bigint NOT NULL,
`dest_gutee_fee` bigint NULL DEFAULT NULL,
`dest_gutee_service_fee` bigint NULL DEFAULT NULL,
`dest_other` bigint NOT NULL DEFAULT 0,
`paid_principal` bigint NOT NULL,
`paid_interest` bigint NOT NULL,
`paid_service` bigint NOT NULL,
`paid_pty_interest` bigint NOT NULL,
`paid_pty_fee` bigint NOT NULL,
`paid_pty_late_fee` bigint NOT NULL,
`paid_gutee_fee` bigint NULL DEFAULT NULL,
`paid_gutee_service_fee` bigint NULL DEFAULT NULL,
`paid_other` bigint NOT NULL DEFAULT 0,
`reduce_principal` bigint NOT NULL DEFAULT 0,
`reduce_interest` bigint NOT NULL DEFAULT 0,
`reduce_service` bigint NOT NULL DEFAULT 0,
`reduce_pty_interest` bigint NOT NULL DEFAULT 0,
`reduce_pty_fee` bigint NOT NULL DEFAULT 0,
`reduce_pty_lat_fee` bigint NOT NULL DEFAULT 0,
`reduce_gutee_fee` bigint NULL DEFAULT NULL,
`reduce_gutee_service_fee` bigint NULL DEFAULT NULL,
`reduce_other` bigint NOT NULL DEFAULT 0,
`overdue_days` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0',
`actual_repay_date` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`total_un_paid_amt` bigint NULL DEFAULT 0,
`updated_at` datetime NOT NULL,
`created_at` datetime NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 673119152 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of repay_plan_item
-- ----------------------------
INSERT INTO `repay_plan_item` VALUES (671038734, 421196032, 67302660, 1, 2, '2020-01-01 00:00:00', 48963, 2513, 3008, 51, 0, 3, 4050, 16, 0, 48963, 2513, 3008, 51, 0, 3, 4050, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '1', '0000-00-00 00:00:00', 0, '2020-06-13 05:04:00', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038735, 421196032, 67302660, 2, 2, '2020-02-01 00:00:00', 49373, 2103, 3008, 257, 0, 15, 4050, 16, 0, 49373, 2103, 3008, 257, 0, 15, 4050, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '5', '0000-00-00 00:00:00', 0, '2020-06-13 05:04:00', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038736, 421196032, 67302660, 3, 1, '2020-03-01 00:00:00', 49787, 1689, 3008, 360, 0, 22, 4050, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '225', '0000-00-00 00:00:00', 58932, '2020-10-12 02:00:19', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038737, 421196032, 67302660, 4, 1, '2020-04-01 00:00:00', 50204, 1272, 3008, 360, 0, 22, 4050, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '194', '0000-00-00 00:00:00', 58932, '2020-10-12 02:00:19', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038738, 421196032, 67302660, 5, 1, '2020-05-01 00:00:00', 50624, 852, 3008, 360, 0, 22, 4050, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '164', '0000-00-00 00:00:00', 58932, '2020-10-12 02:00:19', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038739, 421196032, 67302660, 6, 1, '2020-06-01 00:00:00', 51049, 427, 3008, 360, 0, 22, 4050, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '133', '0000-00-00 00:00:00', 58932, '2020-10-12 02:00:19', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038740, 421196104, 67302661, 1, 2, '2020-01-01 00:00:00', 39782, 4188, 5170, 0, 0, 0, 6750, 27, 0, 39782, 4188, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2019-12-29 15:16:02', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038741, 421196104, 67302661, 2, 2, '2020-02-01 00:00:00', 40115, 3855, 5170, 0, 0, 0, 6750, 27, 0, 40115, 3855, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2020-01-31 11:35:00', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038742, 421196104, 67302661, 3, 2, '2020-03-01 00:00:00', 40451, 3519, 5170, 0, 0, 0, 6750, 27, 0, 40451, 3519, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2020-02-27 21:45:01', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038743, 421196104, 67302661, 4, 2, '2020-04-01 00:00:00', 40790, 3180, 5170, 0, 0, 0, 6750, 27, 0, 40790, 3180, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2020-03-30 08:30:16', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038744, 421196104, 67302661, 5, 2, '2020-05-01 00:00:00', 41132, 2838, 5170, 0, 0, 0, 6750, 27, 0, 41132, 2838, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2020-04-27 10:38:10', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038745, 421196104, 67302661, 6, 2, '2020-06-01 00:00:00', 41476, 2494, 5170, 0, 0, 0, 6750, 27, 0, 41476, 2494, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2020-05-30 07:49:27', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038746, 421196104, 67302661, 7, 2, '2020-07-01 00:00:00', 41823, 2147, 5170, 0, 0, 0, 6750, 27, 0, 41823, 2147, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2020-07-01 07:01:10', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038747, 421196104, 67302661, 8, 2, '2020-08-01 00:00:00', 42174, 1796, 5170, 0, 0, 0, 6750, 27, 0, 42174, 1796, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2020-08-01 23:01:51', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038748, 421196104, 67302661, 9, 2, '2020-09-01 00:00:00', 42527, 1443, 5170, 0, 0, 0, 6750, 27, 0, 42527, 1443, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2020-09-02 00:00:15', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038749, 421196104, 67302661, 10, 2, '2020-10-01 00:00:00', 42883, 1087, 5170, 0, 0, 0, 6750, 27, 0, 42883, 1087, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2020-10-01 22:00:20', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038750, 421196104, 67302661, 11, 2, '2020-11-01 00:00:00', 43242, 728, 5170, 0, 0, 0, 6750, 27, 0, 43242, 728, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 55917, '2020-10-10 23:00:00', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038751, 421196104, 67302661, 12, 2, '2020-12-01 00:00:00', 43605, 365, 5170, 0, 0, 0, 6750, 27, 0, 43605, 365, 5170, 0, 0, 0, 6750, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 55917, '2020-10-10 23:00:00', '2019-12-01 07:00:02');
INSERT INTO `repay_plan_item` VALUES (671038752, 421196132, 67302662, 1, 2, '2020-01-01 00:00:00', 48963, 2513, 3008, 0, 0, 0, 4050, 16, 0, 48963, 2513, 3008, 0, 0, 0, 4050, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0000-00-00 00:00:00', 0, '2019-12-16 10:34:43', '2019-12-01 07:39:55');
INSERT INTO `repay_plan