UpdateTableV2.sql 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ALTER TABLE "public"."post_list" MODIFY COLUMN "status" integer COMMENT '状态:0-待提交;1-待审核;2-审核中;3-通过;4-驳回;';
  2. =============================================================================================================
  3. =================================================== 已更新 ===================================================
  4. =============================================================================================================
  5. 1、问题Controller查询详情接口添加后台鉴权:
  6. 313224854171649
  7. select
  8. *
  9. from "sys_menu" WHERE "menu_name" like '%整改实施%'
  10. 811932129460226
  11. select
  12. *
  13. from "sys_menu" WHERE "menu_name" like '%整改审核%'
  14. 313438029672450
  15. select
  16. *
  17. from "sys_menu" WHERE "menu_name" like '%整改验证%'
  18. 864815655854081
  19. select
  20. *
  21. from "sys_menu" WHERE "menu_name" like '%问题整改台账%'
  22. INSERT INTO sys_menu (menu_id,menu_name,parent_id,order_num,path,component,query,is_frame,is_cache,menu_type,visible,status,perms,icon,create_by,create_time,update_by,update_time,remark)
  23. select
  24. '20240429001' AS menu_id,
  25. '查询详情' AS menu_name,
  26. 313224854171649 AS parent_id,
  27. order_num,path,component,query,is_frame,is_cache,menu_type,visible,status,perms,icon,create_by,create_time,update_by,update_time,remark
  28. from "sys_menu" WHERE "perms" = 'postCheck:postCheckedProblem:query' LIMIT 1;
  29. INSERT INTO sys_menu (menu_id,menu_name,parent_id,order_num,path,component,query,is_frame,is_cache,menu_type,visible,status,perms,icon,create_by,create_time,update_by,update_time,remark)
  30. select
  31. '20240429002' AS menu_id,
  32. '查询详情' AS menu_name,
  33. 811932129460226 AS parent_id,
  34. order_num,path,component,query,is_frame,is_cache,menu_type,visible,status,perms,icon,create_by,create_time,update_by,update_time,remark
  35. from "sys_menu" WHERE "perms" = 'postCheck:postCheckedProblem:query' LIMIT 1;
  36. INSERT INTO sys_menu (menu_id,menu_name,parent_id,order_num,path,component,query,is_frame,is_cache,menu_type,visible,status,perms,icon,create_by,create_time,update_by,update_time,remark)
  37. select
  38. '20240429003' AS menu_id,
  39. '查询详情' AS menu_name,
  40. 313438029672450 AS parent_id,
  41. order_num,path,component,query,is_frame,is_cache,menu_type,visible,status,perms,icon,create_by,create_time,update_by,update_time,remark
  42. from "sys_menu" WHERE "perms" = 'postCheck:postCheckedProblem:query' LIMIT 1;
  43. INSERT INTO sys_menu (menu_id,menu_name,parent_id,order_num,path,component,query,is_frame,is_cache,menu_type,visible,status,perms,icon,create_by,create_time,update_by,update_time,remark)
  44. select
  45. '20240429004' AS menu_id,
  46. '查询详情' AS menu_name,
  47. 864815655854081 AS parent_id,
  48. order_num,path,component,query,is_frame,is_cache,menu_type,visible,status,perms,icon,create_by,create_time,update_by,update_time,remark
  49. from "sys_menu" WHERE "perms" = 'postCheck:postCheckedProblem:query' LIMIT 1;