03_verify_test.sql 1018 B

12345678910111213141516171819202122232425262728293031323334
  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=PMS_TEST;
  8. prompt == cssg1 风纪仪容个人入口 ==
  9. select GRJJID,GRJJMBID,YYRYID,XH,MC,BJM,TBM,DXM,FWM,GNM,JLZTM,FWSBLBM
  10. from GRJJ
  11. where YYRYID=111157142 and DXM='fjyrjc';
  12. prompt == cssg1 专属群组三项权限 ==
  13. select q.QZID,q.MC,
  14. json_exists(q.FWC,'$.bjpj[*]?(@ == "fjyrjc")') has_obj,
  15. json_exists(q.FWC,'$.bjpj[*]?(@ == "fjyrjc_ck")') has_ck,
  16. json_exists(q.FWC,'$.bjpj[*]?(@ == "fjyrjc_lr")') has_lr
  17. from QZ q
  18. where q.QZID=5001141;
  19. prompt == 权限隔离:宿管岗位仍不应被改动 ==
  20. select GWID,MC,
  21. json_exists(FWC,'$.bjpj[*]?(@ == "fjyrjc")') has_obj,
  22. json_exists(FWC,'$.bjpj[*]?(@ == "fjyrjc_ck")') has_ck,
  23. json_exists(FWC,'$.bjpj[*]?(@ == "fjyrjc_lr")') has_lr
  24. from GW where GWID=1015504;
  25. prompt == 个人入口总数 ==
  26. select count(*) personal_entry_count
  27. from GRJJ where YYRYID=111157142;
  28. exit