温县人民政府 WWW.WENXIAN.GOV.CN
繁体 | 简体 | 进入关怀版 | 无障碍
freemarker.template.TemplateModelException: No error description was specified for this error; low-level message: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select t.id,t.name,t.department_id,t.deleted,t.description,t.is_front_show frontshow,p.department_id,p.tel,p.guide,p.address,t.leader,t.institution,t.dept_type from t_department t left join t_publicinfo_dept_ext p on t.id=p.department_id where t.id=? and t.deleted=0 and t.is_front_show=1 order by t.department_id desc limit ?,?]; 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 '-1,1' at line 1 ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign departmentList = factory("mar... [in template "" at line 12, column 5] ----