Giter Club home page Giter Club logo

Comments (4)

zhangdaiscott avatar zhangdaiscott commented on May 18, 2024

请把错误也贴出来

from jimureport.

laijiao avatar laijiao commented on May 18, 2024

image

系统执行浏览器报错:
{"success":false,"message":"操作失败,StatementCallback; bad SQL grammar [select * from (select xqmc,njdm,bjmc,a.xh,a.xm,if(py is null,'未提交','已提交') as zt,py,cx,txr\n from( select xqmc,xqdm,c.njdm,bjmc,xh,xm from jx_semester sm,xs_student sd\nLEFT JOIN jx_class c on c.bh=sd.bh\n) jeecg_rp_temp where 1=1]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4","code":500,"result":null,"timestamp":1605238791577}

image

from jimureport.

tygithub1 avatar tygithub1 commented on May 18, 2024

1.新建一张测试表test_rp 数据如下:
image
2.编写sql 关联用户表查询:
select * from (select a.id,a.name,b.username from test_rp a join sys_user b on a.user = b.username ) t where t.username= 'admin'

3.查询正常:
image

因为我这边代码比较新,建议检查自己sql或是看看后续版本吧

from jimureport.

zhangdaiscott avatar zhangdaiscott commented on May 18, 2024

按照这个文档集成最新版试试
https://my.oschina.net/jeecg/blog/4779874

from jimureport.

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.