Code Monkey home page Code Monkey logo

Comments (4)

zhangdaiscott avatar zhangdaiscott commented on June 9, 2024

cr

from jeecg-boot.

78739749haiyang avatar 78739749haiyang commented on June 9, 2024

parse the finished SQL: SELECT sum(cnt) FROM (SELECT count() AS cnt FROM sys_role_permission a JOIN sys_permission b ON a.permission_id = b.id JOIN sys_role c ON a.role_id = c.id JOIN sys_user_role d ON d.role_id = c.id JOIN sys_user e ON d.user_id = e.id WHERE e.username = ? AND b.url = ? UNION ALL SELECT count() AS cnt FROM sys_permission z JOIN sys_depart_role_permission y ON z.id = y.permission_id JOIN sys_depart_role x ON y.role_id = x.id JOIN sys_depart_role_user w ON w.drole_id = x.id JOIN sys_user v ON w.user_id = v.id WHERE v.username = ? AND z.url = ?) temp
JDBC Connection [ConnectionProxyImpl{connectedTime=2024-04-15 15:19:07.612, closeCount=0, lastValidateTimeMillis=2024-04-15 15:19:07.618}] will not be managed by Spring
==> Preparing: SELECT sum(cnt) FROM (SELECT count() AS cnt FROM sys_role_permission a JOIN sys_permission b ON a.permission_id = b.id JOIN sys_role c ON a.role_id = c.id JOIN sys_user_role d ON d.role_id = c.id JOIN sys_user e ON d.user_id = e.id WHERE e.username = ? AND b.url = ? UNION ALL SELECT count() AS cnt FROM sys_permission z JOIN sys_depart_role_permission y ON z.id = y.permission_id JOIN sys_depart_role x ON y.role_id = x.id JOIN sys_depart_role_user w ON w.drole_id = x.id JOIN sys_user v ON w.user_id = v.id WHERE v.username = ? AND z.url = ?) temp
==> Parameters: 101538(String), /online/cgform(String), 101538(String), /online/cgform(String)
<== Columns: SUM(CNT)
<== Row: 0
<== Total: 1

调用 关联记录控件 日志显示要调用Online表单开发 /online/cgform 权限,提示无权限,必须给用户赋予 Online表单开发开发的权限才可以正常????

from jeecg-boot.

78739749haiyang avatar 78739749haiyang commented on June 9, 2024

image

from jeecg-boot.

hoperunChen avatar hoperunChen commented on June 9, 2024

请参考 #5897

from jeecg-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.