|
|
@@ -20,7 +20,7 @@
|
|
|
select t.describle,t.model_id,t.model_id modelId,t.status_cd,t.status_cd statusCd,t.flow_key,t.flow_key
|
|
|
flowKey,t.store_id,t.store_id storeId,t.flow_id,t.flow_id flowId,t.flow_name,t.flow_name
|
|
|
flowName,t.flow_type,t.flow_type flowType,t.process_definition_key,t.process_definition_key processDefinitionKey,
|
|
|
- t.create_time createTime,t.state
|
|
|
+ t.create_time createTime,t.state,t.cur_form_id curFormId
|
|
|
from oa_workflow t
|
|
|
where 1 =1
|
|
|
<if test="describle !=null and describle != ''">
|
|
|
@@ -50,6 +50,9 @@
|
|
|
<if test="flowType !=null and flowType != ''">
|
|
|
and t.flow_type= #{flowType}
|
|
|
</if>
|
|
|
+ <if test="curFormId !=null and curFormId != ''">
|
|
|
+ and t.cur_form_id= #{curFormId}
|
|
|
+ </if>
|
|
|
<if test="processDefinitionKey !=null and processDefinitionKey != ''">
|
|
|
and t.process_definition_key= #{processDefinitionKey}
|
|
|
</if>
|
|
|
@@ -86,6 +89,9 @@
|
|
|
<if test="flowType !=null and flowType != ''">
|
|
|
, t.flow_type= #{flowType}
|
|
|
</if>
|
|
|
+ <if test="curFormId !=null and curFormId != ''">
|
|
|
+ , t.cur_form_id= #{curFormId}
|
|
|
+ </if>
|
|
|
<if test="processDefinitionKey !=null and processDefinitionKey != ''">
|
|
|
, t.process_definition_key= #{processDefinitionKey}
|
|
|
</if>
|
|
|
@@ -131,6 +137,9 @@
|
|
|
<if test="flowType !=null and flowType != ''">
|
|
|
and t.flow_type= #{flowType}
|
|
|
</if>
|
|
|
+ <if test="curFormId !=null and curFormId != ''">
|
|
|
+ and t.cur_form_id= #{curFormId}
|
|
|
+ </if>
|
|
|
<if test="processDefinitionKey !=null and processDefinitionKey != ''">
|
|
|
and t.process_definition_key= #{processDefinitionKey}
|
|
|
</if>
|