起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4022|回复: 7

[处理中3] 页面查询出错

[复制链接]

407

主题

926

帖子

2039

积分

金牌会员

Rank: 6Rank: 6

积分
2039
QQ
发表于 2019-10-14 15:47:00 | 显示全部楼层 |阅读模式
"messages":["编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT BID_specification.*  FROM BID_specification BID_specification WHERE (( 1=1  and issueUnit like '%中国通信标准化协会%')) LIMIT 0, 20\n --> sql: SELECT ROWNUM AS JUSTEP_RN__, JUSTEP_TABLE__.* FROM (SELECT  BID_specification.fID AS BID_specification, BID_specification.ISSUETIME AS issueTime, BID_specification.NORMALNUM AS normalNum, BID_specification.WORKCONTENT AS workContent, BID_specification.FCREATEPERSONID AS fCreatePersonID, BID_specification.FCREATEDEPTCODE AS fCreateDeptCode, BID_specification.FCREATEPERSONCODE AS fCreatePersonCode, BID_specification.REMARK AS remark, BID_specification.VERSION AS version, BID_specification.CERTIFYDATA AS certifyData, BID_specification.FCREATEPERSONNAME AS fCreatePersonName, BID_specification.FCREATDTIME AS fCreatdTime, BID_specification.FCREATEDEPTNAME AS fCreateDeptName, BID_specification.NORMALNAME AS normalName, BID_specification.SETDAY AS setDay, BID_specification.IMPLTIME AS ImplTime, BID_specification.FCREATEPERSONFID AS fCreatePersonFID, BID_specification.ISSUEUNIT AS issueUnit, BID_specification.CERTIFYDATAADRESS AS certifyDataAdress, BID_specification.FCREATEDEPTID AS fCreateDeptID FROM BID_SPECIFICATION BID_specification  WHERE  (? = ?) AND (issueUnit LIKE ?) ) JUSTEP_TABLE__  WHERE ROWNUM<21\n --> binds: [1, 1, %中国通信标准化协会%]","Error"],"url":"https://m.cicdi.com/BusinessServer/business-action","param":{"contentType":"json","accept":"application/json","process":"/ERP/BID/BidLibrary/process/Library/libraryProcess","activity":"specification","actionFlag":"__action_0__","executor":"","executeContext":"","action":"queryBID_specificationAction","parameters":{"variables":{},"filter":"( 1=1  and issueUnit like '%中国通信标准化协会%')","offset":0,"limit":20,"columns":"BID_specification,issueTime,normalNum,workContent,fCreatePersonID,fCreateDeptCode,fCreatePersonCode,remark,version,certifyData,fCreatePersonName,fCreatdTime,fCreateDeptName,normalName,setDay,ImplTime,fCreatePersonFID,issueUnit,certifyDataAdress,fCreateDeptID"},"translateParameter":{"dataType":"row-list","transformIdcolumn":true,"includeState":true,"useNamespace":true,"cellnameByRelation":false,"rowsConfig":{"concept":"BID_specification","sequence":"BID_specification,issueTime,normalNum,workContent,fCreatePersonID,fCreateDeptCode,fCreatePersonCode,remark,version,certifyData,fCreatePersonName,fCreatdTime,fCreateDeptName,normalName,setDay,ImplTime,fCreatePersonFID,issueUnit,certifyDataAdress,fCreateDeptID"}}}}__justepServerErrorEnd__
    at Object.create (core.min.js:65)
    at Object.Request.errorMessage (biz.common.min.js:12)
    at Object.callback (biz.common.min.js:12)
    at Object.h (biz.common.min.js:12)
    at f (core.min.js:65)
    at Object.add (core.min.js:65)
    at _sendRequest (biz.common.min.js:12)
    at Object.Request.sendRequest (biz.common.min.js:12)
    at Object.$var._sendBizRequest (eval at __actionFinish (biz.common.min.js:12), <anonymous>:1:579)
    at Object.Request.sendBizRequest (biz.common.min.js:12)

但是单独拿出sql在navicat中运行是对:
SELECT ROWNUM AS JUSTEP_RN__, JUSTEP_TABLE__.* FROM (SELECT  BID_specification.fID AS BID_specification, BID_specification.ISSUETIME AS issueTime, BID_specification.NORMALNUM AS normalNum, BID_specification.WORKCONTENT AS workContent, BID_specification.FCREATEPERSONID AS fCreatePersonID, BID_specification.FCREATEDEPTCODE AS fCreateDeptCode, BID_specification.FCREATEPERSONCODE AS fCreatePersonCode, BID_specification.REMARK AS remark, BID_specification.VERSION AS version, BID_specification.CERTIFYDATA AS certifyData, BID_specification.FCREATEPERSONNAME AS fCreatePersonName, BID_specification.FCREATDTIME AS fCreatdTime, BID_specification.FCREATEDEPTNAME AS fCreateDeptName, BID_specification.NORMALNAME AS normalName, BID_specification.SETDAY AS setDay, BID_specification.IMPLTIME AS ImplTime, BID_specification.FCREATEPERSONFID AS fCreatePersonFID, BID_specification.ISSUEUNIT AS issueUnit, BID_specification.CERTIFYDATAADRESS AS certifyDataAdress, BID_specification.FCREATEDEPTID AS fCreateDeptID FROM BID_SPECIFICATION BID_specification  WHERE  (1 = 1) AND (issueUnit LIKE '%中国通信标准化协会%') ) JUSTEP_TABLE__  WHERE ROWNUM<21






完整.zip

2.59 KB, 下载次数: 38

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-10-14 16:42:03 | 显示全部楼层
发tomcat控制台完整的错误信息
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

407

主题

926

帖子

2039

积分

金牌会员

Rank: 6Rank: 6

积分
2039
QQ
 楼主| 发表于 2019-10-14 18:31:27 | 显示全部楼层
jishuang 发表于 2019-10-14 16:42
发tomcat控制台完整的错误信息

是正式环境,没有控制台日志。是不是tomcat目录下有相关的log可以提供呢? 相关的错误信息我搜集在了附件中。
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-10-15 08:37:15 | 显示全部楼层
model同级的logs和tomcat的log都发过来
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

407

主题

926

帖子

2039

积分

金牌会员

Rank: 6Rank: 6

积分
2039
QQ
 楼主| 发表于 2019-10-22 13:18:05 | 显示全部楼层
jishuang 发表于 2019-10-15 08:37
model同级的logs和tomcat的log都发过来

今天又试一下,错误如下:
执行KSQL出错, KSQL: SELECT S.* FROM BID_specification S WHERE S = 'FBEA6AB2A5C4475B8FA10FD4C1B6D9B4'
--> sql: SELECT S.fID AS S, S.VERSION AS version, S.FCREATEPERSONNAME AS fCreatePersonName, S.FCREATEPERSONID AS fCreatePersonID, S.FCREATEPERSONCODE AS fCreatePersonCode, S.FCREATDTIME AS fCreatdTime, S.FCREATEPERSONFID AS fCreatePersonFID, S.FCREATEDEPTNAME AS fCreateDeptName, S.FCREATEDEPTID AS fCreateDeptID, S.FCREATEDEPTCODE AS fCreateDeptCode, S.ISSUEUNIT AS issueUnit, S.NORMALNUM AS normalNum, S.NORMALNAME AS normalName, S.SETDAY AS setDay, S.ISSUETIME AS issueTime, S.IMPLTIME AS ImplTime, S.WORKCONTENT AS workContent, S.REMARK AS remark, S.CERTIFYDATA AS certifyData, S.CERTIFYDATAADRESS AS certifyDataAdress FROM BID_SPECIFICATION S WHERE S.fID = ?
--> binds: [FBEA6AB2A5C4475B8FA10FD4C1B6D9B4]

你可以根据这个定位附件(model同级log 和tomcat中的log)中的错误。附件已经舍弃了一部分,太大。

正式.zip

497.58 KB, 下载次数: 39

回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-10-22 13:52:09 | 显示全部楼层
有日志自己都能看出具体的错误信息,错误中都提示了具体的代码行和错误原因
error.png
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

407

主题

926

帖子

2039

积分

金牌会员

Rank: 6Rank: 6

积分
2039
QQ
 楼主| 发表于 2019-10-22 14:14:58 | 显示全部楼层
jishuang 发表于 2019-10-22 13:52
有日志自己都能看出具体的错误信息,错误中都提示了具体的代码行和错误原因

...

我添加log也没有看出什么来,
ksql出错.png
而且也没有看出什么来,就是执行翻译出来的sql:
SELECT  S.fID AS S, S.VERSION AS version, S.FCREATEPERSONNAME AS fCreatePersonName, S.FCREATEPERSONID AS fCreatePersonID, S.FCREATEPERSONCODE AS fCreatePersonCode, S.FCREATDTIME AS fCreatdTime, S.FCREATEPERSONFID AS fCreatePersonFID, S.FCREATEDEPTNAME AS fCreateDeptName, S.FCREATEDEPTID AS fCreateDeptID, S.FCREATEDEPTCODE AS fCreateDeptCode, S.ISSUEUNIT AS issueUnit, S.NORMALNUM AS normalNum, S.NORMALNAME AS normalName, S.SETDAY AS setDay, S.ISSUETIME AS issueTime, S.IMPLTIME AS ImplTime, S.WORKCONTENT AS workContent, S.REMARK AS remark, S.CERTIFYDATA AS certifyData, S.CERTIFYDATAADRESS AS certifyDataAdress FROM BID_SPECIFICATION S  WHERE S.fID = 'FBEA6AB2A5C4475B8FA10FD4C1B6D9B4'
在navicat中已经正常运行了。而且这个错误在上次我贴出的简化版本的描述中就已经试过了。


回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-10-22 15:19:10 | 显示全部楼层
那你可以直接写sql通过sql执行看看,报错就是sql的错误
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-29 01:56 , Processed in 0.057198 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表