|
您好:看了您的sql语句,您我的帖子中的sql语句是为:String sql = "select id,formid,domainid,item_编号,item_内容,item_日期,created as item_created,author as item_author from tlk_自定义jsp页面显示数据表单"; 这样的格式,查询出来的字段有id,formid,domainid 您使用该方法process.countBySQL(sql,domainid);和 process.queryBySQLPage方法时,对应你的sql语句中也要包含这些字段啊,String sql = "select item_n_title from tlk_notice"; |