找回密码
 注册成为天翎用户
查看: 784|回复: 1

[其他] 视图如何用sql模式查询自己处理过的跟单

[复制链接]
成都顶呱呱 发表于 2015-6-30 15:36:16 | 显示全部楼层 |阅读模式
本帖最后由 shary 于 2015-9-24 15:44 编辑

视图如何用sql模式查询自己处理过的跟单
darcy 发表于 2015-7-1 13:53:45 | 显示全部楼层
已办记录
var sql = "select * from tlk_stamp_carving where id in (select doc.mappingid from  T_DOCUMENT  doc,T_ACTORHIS ahis,T_RELATIONHIS rhis,T_FLOW_INTERVENTION pen,T_FLOWSTATERT fs where doc.id=rhis.docid and rhis.id = ahis.nodehis_id and doc.id = pen.id and doc.id =fs.docid and doc.parent is null and doc.state is not null and doc.statelabel is not null and doc.statelabel <> '未提交' and doc.formid='11e4-7088-f1ad0a64-84b2-818effacfb3f' and ahis.actorid in ('"+getWebUser().getId()+"'))";这个SQL语句是查询已经处理过的流程
回复

使用道具 举报

本版积分规则

手机版|天翎MyApps技术社区 ( 粤ICP备11093750号 )

GMT+8, 2026-8-14 04:04

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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