[ 1873356 ] Error SQL to getActivitiesCount() into WFActivity
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1873356&group_id=176962
This commit is contained in:
parent
b55edcd59e
commit
205832941f
|
@ -282,9 +282,9 @@ public class WFActivity extends CPanel
|
||||||
+ " AND r.AD_User_ID=?)" // #3
|
+ " AND r.AD_User_ID=?)" // #3
|
||||||
// Responsible Role
|
// Responsible Role
|
||||||
+ " OR EXISTS (SELECT * FROM AD_WF_Responsible r INNER JOIN AD_User_Roles ur ON (r.AD_Role_ID=ur.AD_Role_ID)"
|
+ " OR EXISTS (SELECT * FROM AD_WF_Responsible r INNER JOIN AD_User_Roles ur ON (r.AD_Role_ID=ur.AD_Role_ID)"
|
||||||
+ " WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND ur.AD_User_ID=?)" // #4
|
+ " WHERE a.AD_WF_Responsible_ID=r.AD_WF_Responsible_ID AND ur.AD_User_ID=?))"; // #4
|
||||||
//
|
//
|
||||||
+ ") ORDER BY a.Priority DESC, Created";
|
//+ ") ORDER BY a.Priority DESC, Created";
|
||||||
int AD_User_ID = Env.getAD_User_ID(Env.getCtx());
|
int AD_User_ID = Env.getAD_User_ID(Env.getCtx());
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue