13_verify_prod.sql 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. set define off
  2. set echo on
  3. set pages 200
  4. set lines 320
  5. set trimspool on
  6. alter session set container=ORCLPDB;
  7. alter session set current_schema=C##DC;
  8. prompt == cssg1 个人快捷入口 ==
  9. select GRJJID,GRJJMBID,YYRYID,XH,MC,BJM,TBM,DXM,FWM,GNM,JLZTM,FWSBLBM
  10. from GRJJ where YYRYID=111157142 order by XH,GRJJID;
  11. prompt == cssg1 专属群组与三项权限 ==
  12. select q.QZID,q.MC,q.JLZTM,q.YYRYID,qc.QZCYID,qc.RYID,qc.JLZTM qzcy_jlztm,
  13. json_exists(q.FWC,'$.bjpj[*]?(@ == "fjyrjc")') has_obj,
  14. json_exists(q.FWC,'$.bjpj[*]?(@ == "fjyrjc_ck")') has_ck,
  15. json_exists(q.FWC,'$.bjpj[*]?(@ == "fjyrjc_lr")') has_lr
  16. from QZ q join QZCY qc on qc.QZID=q.QZID
  17. where q.MC='cssg1-风纪仪容检查授权';
  18. prompt == 权限隔离:宿管岗位仍不应被改动 ==
  19. select GWID,MC,
  20. json_exists(FWC,'$.bjpj[*]?(@ == "fjyrjc")') has_obj,
  21. json_exists(FWC,'$.bjpj[*]?(@ == "fjyrjc_ck")') has_ck,
  22. json_exists(FWC,'$.bjpj[*]?(@ == "fjyrjc_lr")') has_lr
  23. from GW where GWID=1015504;
  24. prompt == 共享模板没有被本次安装修改 ==
  25. select GRJJID,GRJJMBID,XH,MC,DXM,FWM,JLZTM
  26. from GRJJ where GRJJMBID=10523 order by XH,GRJJID;
  27. exit