自动分派任务是, 人员未处理数量不能变更修复
This commit is contained in:
parent
e7dc936f82
commit
96c8fd7ab7
@ -632,10 +632,11 @@ public class FlowAction {
|
||||
if(!"".equals(role)) {
|
||||
String now = StringFunction.getTodayNow().replaceAll(":", "¡÷");
|
||||
SqlObject sql = null;
|
||||
ArrayList<String> ss = user.getRoleTable();
|
||||
if(user.getRoleTable().contains(role)) {
|
||||
sql = new SqlObject(("insert into user_task_data "
|
||||
+ "select sys_guid() ,'" + AssignmentId + "', roleid, flowno, flowunid, project_id, contract_id, '" + now + "', endtime,"
|
||||
+ " 'approve_status03', taskno"
|
||||
+ "select REPLACE(UUID(), '-', '') ,'" + AssignmentId + "', roleid, flowno, flowunid, project_id, contract_id, '" + now + "', endtime,"
|
||||
+ " 'approve_status01', taskno"
|
||||
+ " from user_task_data where userid = '" + userID + "' and taskno = '" + taskNo + "' and (status = 'approve_status01' or status = 'approve_status03')"));
|
||||
sql.setDebugSql(sql.getDebugSql().replaceAll("¡÷", ":"));
|
||||
sql.setOriginalSql(sql.getOriginalSql().replaceAll("¡÷", ":"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user