p.sql 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. UPDATE `frame_permission` SET `name` = '团队商机跟进', `descripion` = '(NULL)', `url` = 'bizMainProgressTeam', `pid` = '666131429226184704', `perms` = '/crm/bizMainProgressTeam', `type` = 1, `icon` = 'list', `order_num` = 7, `description` = '(NULL)' WHERE `id` = '1083677576934719488';
  2. INSERT INTO `frame_permission` (`id`, `name`, `descripion`, `url`, `pid`, `perms`, `type`, `icon`, `order_num`, `description`) VALUES ('108367757693478461', '商机分配', NULL, 'bizMainProgressTwo', '666131429226184704', '/crm/bizMainProgressTwo', 1, 'list', 7, NULL);
  3. INSERT INTO `frame_permission` (`id`, `name`, `descripion`, `url`, `pid`, `perms`, `type`, `icon`, `order_num`, `description`) VALUES ('106924579035584697', '资源计划', NULL, 'resourcePlanView', '106924579035545666', '/resourcePlan/resourcePlanView', 1, 'wechat', 15, NULL);
  4. alter table pro_main
  5. add expected_pay_money double null comment '预投入限额';
  6. CREATE TABLE `frame_role_mobile_user` (
  7. `id` varchar(255) NOT NULL,
  8. `user_id` varchar(255) DEFAULT NULL,
  9. `role_mobile_id` varchar(255) DEFAULT NULL COMMENT '数据角色ID',
  10. PRIMARY KEY (`id`) USING BTREE
  11. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='移动端菜单角色-用户关联表';
  12. create index oa_task_created_by_index
  13. on oa_task_review (create_user);
  14. create index oa_task_hour_id_index
  15. on oa_task_review (task_hour_id);
  16. create index oa_task_review_state
  17. on oa_task_review (review_state);
  18. create index oa_task_review_user_role_index
  19. on oa_task_review (review_user_role)
  20. alter table frame_data
  21. add thumbnail_path varchar(255) null;