The query process status is not equal to the person ID of the processing complete

Source: Internet
Author: User

Zhuzhou Second Hospital has a satisfaction survey process, the flowchart is as follows:
650) this.width=650; "id=" aimg_823 "src=" http://bbs.delit.cn/data/attachment/forum/201512/29/ 134243fts7baqqeq1bz4qp.png.thumb.jpg "width=" 236 "height=" alt= "134243fts7baqqeq1bz4qp.png.thumb.jpg"/>
because there are a lot of people have not filled the satisfaction, so the customer put forward hope to add a reminders function, to achieve this, first of all have to query out the not executed personnel ID
The following is the SQL code that the query process status is not equal to the processing completion:

Select Wm_concat (Oper_userid) personnel ID from flow_user_thread where thread_id = (select id from Flow_thread where flow_id = ' process id ' and Key_code = ' data id ') and state <> 0

Original address: http://bbs.delit.cn/thread-544-1-1.html

Reprint please specify the source:

Author: metric Technology http://www.delit.cn

The query process status is not equal to the person ID of the processing complete

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.