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

QQ登录

只需一步,快速开始

查看: 2578|回复: 5

[结贴] orgselect组件在.m.w文件中报错

[复制链接]

86

主题

291

帖子

1979

积分

金牌会员

Rank: 6Rank: 6

积分
1979
发表于 2015-12-7 12:04:54 | 显示全部楼层 |阅读模式
orgselect组件在.m.w文件中报错。
提示: 执行KSQL出错, KSQL: SELECT OA_TasksAssigned.*,SA_Social.sGroupID as sGroupID,SA_Social.sMessageNumber as sMessageNumber,SA_Social_att.sActive as sActive  FROM OA_TasksAssigned OA_TasksAssigned  join (select  SA_Social.sData1, MIN(SA_Social.sGroupID) as sGroupID from SA_Social SA_Social  where  SA_Social.sPersonID = :currentPersonID() AND SA_Social.sTypeID = 'RelativeOrg' AND SA_Social.sValidState = 1   group by SA_Social.sData1) SA_SocialOne on OA_TasksAssigned = SA_SocialOne.sData1 join SA_Social SA_Social on  OA_TasksAssigned = SA_Social.sData1 AND SA_Social.sPersonID = :currentPersonID() AND SA_Social.sTypeID = 'RelativeOrg' AND SA_Social.sValidState = 1 AND SA_Social.sGroupID = SA_SocialOne.sGroupID  optional  join SA_Social SA_Social_att on  OA_TasksAssigned = SA_Social_att.sData1 AND SA_Social_att.sPersonID = :currentPersonID() AND SA_Social_att.sTypeID = 'Focus' AND SA_Social_att.sValidState = 1 ORDER BY OA_TasksAssigned.fLastModifyTime desc LIMIT 0, 1
--> sql: SELECT  OA_TasksAssigned.fID AS OA_TasksAssigned, OA_TasksAssigned.VERSION AS version, OA_TasksAssigned.FNAME AS fName, OA_TasksAssigned.FCONTENT AS fContent, OA_TasksAssigned.FCREATORID AS fCreatorID, OA_TasksAssigned.FCREATOR AS fCreator, OA_TasksAssigned.FCREATORTIME AS fCreatorTime, OA_TasksAssigned.FEXECUTOR AS fExecutor, OA_TasksAssigned.FEXECUTORID AS fExecutorID, OA_TasksAssigned.FCLOSER AS fCloser, OA_TasksAssigned.FCLOSERID AS fCloserID, OA_TasksAssigned.FCLOSERMEMO AS fCloserMemo, OA_TasksAssigned.FSTATUS AS fStatus, OA_TasksAssigned.FLASTMODIFYTIME AS fLastModifyTime, OA_TasksAssigned.FATTACHMENT AS fAttachment, SA_Social.SGROUPID AS sGroupID, SA_Social.SMESSAGENUMBER AS sMessageNumber, SA_Social_att.SACTIVE AS sActive FROM OA_TASKSASSIGNED OA_TasksAssigned JOIN (SELECT  SA_Social.SDATA1 AS sData1, MIN(SA_Social.SGROUPID) AS sGroupID FROM SA_Social SA_Social  WHERE  (SA_Social.SPERSONID =  ? ) AND (SA_Social.STYPEID = ?) AND (SA_Social.SVALIDSTATE = ?)    GROUP BY SA_Social.SDATA1) SA_SocialOne ON OA_TasksAssigned.fID = SA_SocialOne.sData1 JOIN SA_Social SA_Social ON  (OA_TasksAssigned.fID = SA_Social.SDATA1) AND (SA_Social.SPERSONID =  ? ) AND (SA_Social.STYPEID = ?) AND (SA_Social.SVALIDSTATE = ?) AND (SA_Social.SGROUPID = SA_SocialOne.sGroupID)  LEFT JOIN SA_Social SA_Social_att ON  (OA_TasksAssigned.fID = SA_Social_att.SDATA1) AND (SA_Social_att.SPERSONID =  ? ) AND (SA_Social_att.STYPEID = ?) AND (SA_Social_att.SVALIDSTATE = ?)   ORDER BY OA_TasksAssigned.FLASTMODIFYTIME DESC
--> binds: [PSN01, RelativeOrg, 1, PSN01, RelativeOrg, 1, PSN01, Focus, 1]
        at com.justep.exception.BusinessException.create(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.BizData.query(Unknown Source)
        at BizProcedure.query(BizProcedure.java:137)

86

主题

291

帖子

1979

积分

金牌会员

Rank: 6Rank: 6

积分
1979
 楼主| 发表于 2015-12-7 12:05:41 | 显示全部楼层
数据库中也查不到这张表
回复 支持 反对

使用道具 举报

86

主题

291

帖子

1979

积分

金牌会员

Rank: 6Rank: 6

积分
1979
 楼主| 发表于 2015-12-7 14:46:44 | 显示全部楼层
机构类型过滤条件无效。岗位,人员还是出来了
QQ截图20151207144448.jpg
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36064
发表于 2015-12-7 17:11:07 | 显示全部楼层
lijunfeng 发表于 2015-12-7 12:05
数据库中也查不到这张表

平台默认是不会去调用OA_TasksAssigned的,这个不是平台默认提供的,确认是否是OA中的功能设置的问题

includeOrgKind设置的这个现象通过验证是产品缺陷,我们已提交到产品组(内部编号:2015120700024),感谢楼主的支持与配合。

showFilter的设置如下:showFilter="val('sOrgKindID')=='ogn'"

远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

0

主题

235

帖子

300

积分

中级会员

Rank: 3Rank: 3

积分
300
QQ
发表于 2015-12-28 14:10:50 | 显示全部楼层
您好楼主,该缺陷已经在5.3.3版本中得到解决,如没有特殊限制!建议您用新版本
回复 支持 反对

使用道具 举报

86

主题

291

帖子

1979

积分

金牌会员

Rank: 6Rank: 6

积分
1979
 楼主| 发表于 2015-12-28 16:52:13 | 显示全部楼层
好的,谢谢。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-21 18:40 , Processed in 0.059277 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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