Ver código fonte

feat(交通银行):ocr识别

liutao 6 dias atrás
pai
commit
5a911c0dd5
1 arquivos alterados com 37 adições e 9 exclusões
  1. 37 9
      src/main/resources/data/smb/liutao.sql

+ 37 - 9
src/main/resources/data/smb/liutao.sql

@@ -204,10 +204,6 @@ CREATE TABLE `financing_from_investors_notice` (
                                           `pending_loan_receipt` varchar(32) DEFAULT '' COMMENT '是否有待还借据',
                                           `guarantee_method` varchar(32) DEFAULT '' COMMENT '担保方式',
                                           `limit_number` varchar(100) DEFAULT '' COMMENT '额度编号',
-                                          `type301SdossId` varchar(100) DEFAULT '' COMMENT '个人征信授权书',
-                                          `type302SdossId` varchar(100) DEFAULT '' COMMENT '企业征信授权书',
-                                          `type327SdossId` varchar(100) DEFAULT '' COMMENT '个人综合信息授权书',
-                                          `type303SdossId` varchar(100) DEFAULT '' COMMENT '企业综合信息授权书',
 
                                           `user_create` varchar(32) DEFAULT '' COMMENT '创建人',
                                           `user_modified` varchar(32) DEFAULT '' COMMENT '修改人',
@@ -301,12 +297,44 @@ VALUES ('再融资营销机构类型', NULL, 'refinancingMarketingInstitutionTyp
 INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
 VALUES ( null, 'menu', ' 资方融资管理', 'smbRefinancingManagement', 3, NULL, '', '1', NULL, NULL, now(), now());
 INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
-VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingManagement'), 'button', '查看', 'viewSmbRefinancing', 0, '资方融资管理', null, NULL, NULL, NULL, now(), now());
+VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingManagement'), 'menu', ' 资方授信列表', 'smbRefinancingCredit', 0, NULL, '', '1', NULL, NULL, now(), now());
 INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
-VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingManagement'), 'button', '授信详情', 'viewSmbRefinancingDetail', 1, '资方融资管理', null, NULL, NULL, NULL, now(), now());
+VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingCredit'), 'button', '查看', 'viewSmbRefinancing', 0, '资方融资管理', null, NULL, NULL, NULL, now(), now());
 INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
-VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingManagement'), 'button', '修改 ', 'updateSmbRefinancingDetail', 2, '资方融资管理', null, NULL, NULL, NULL, now(), now());
+VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingCredit'), 'button', '授信详情', 'viewSmbRefinancingDetail', 1, '资方融资管理', null, NULL, NULL, NULL, now(), now());
 INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
-VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingManagement'), 'button', '续授信 ', 'creditSmbRefinancing', 3, '资方融资管理', null, NULL, NULL, NULL, now(), now());
+VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingCredit'), 'button', '修改 ', 'updateSmbRefinancingDetail', 2, '资方融资管理', null, NULL, NULL, NULL, now(), now());
 INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
-VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingManagement'), 'button', '数据全员可见 ', 'viewAllSmb', 4, '资方融资管理', null, NULL, NULL, NULL, now(), now());
+VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingCredit'), 'button', '续授信 ', 'creditSmbRefinancing', 3, '资方融资管理', null, NULL, NULL, NULL, now(), now());
+INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
+VALUES ( (select t.id from t_permission t where t.ename = 'smbRefinancingCredit'), 'button', '数据全员可见 ', 'viewAllSmb', 4, '资方融资管理', null, NULL, NULL, NULL, now(), now());
+
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('苏商授信状态', NULL, 'smbCreditStatus', NULL, 54, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('待审批', (select t.id from t_dictionary t where t.code = 'smbCreditStatus'), 'smb_01', NULL, 0, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('审批中', (select t.id from t_dictionary t where t.code = 'smbCreditStatus'), 'smb_02', NULL, 1, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('审批通过', (select t.id from t_dictionary t where t.code = 'smbCreditStatus'), 'smb_03', NULL, 2, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('审批拒绝', (select t.id from t_dictionary t where t.code = 'smbCreditStatus'), 'smb_04', NULL, 3, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('已归档', (select t.id from t_dictionary t where t.code = 'smbCreditStatus'), 'smb_06', NULL, 4, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('处理中', (select t.id from t_dictionary t where t.code = 'smbCreditStatus'), 'smb_07', NULL, 5, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('运营岗审核', (select t.id from t_dictionary t where t.code = 'smbCreditStatus'), 'smb_11', NULL, 6, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('已过期', (select t.id from t_dictionary t where t.code = 'smbCreditStatus'), 'smb_12', NULL, 7, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('苏商额度状态', NULL, 'smbLimitStatus', NULL, 54, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('未激活', (select t.id from t_dictionary t where t.code = 'smbLimitStatus'), 'smb_limit_001', NULL, 0, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('生效',  (select t.id from t_dictionary t where t.code = 'smbLimitStatus'), 'smb_limit_002', NULL, 1, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('冻结',  (select t.id from t_dictionary t where t.code = 'smbLimitStatus'), 'smb_limit_004', NULL, 2, '2018-11-10 20:56:53', '2018-11-10 20:56:53');
+INSERT INTO `t_dictionary` ( `name`, `parentId`, `code`, `value`, `gradation`, `gmt_create`, `gmt_modified`)
+VALUES ('失效',  (select t.id from t_dictionary t where t.code = 'smbLimitStatus'), 'smb_limit_005', NULL, 3, '2018-11-10 20:56:53', '2018-11-10 20:56:53');