insert into oa_workflow_form(
form_id,form_json,store_id,flow_id,version,table_name
) values (
#{formId},#{formJson},#{storeId},#{flowId},#{version},#{tableName}
)
update oa_workflow_form t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.form_json= #{formJson}
, t.store_id= #{storeId}
, t.flow_id= #{flowId}
, t.version= #{version}
, t.table_name= #{tableName}
where 1=1
and t.form_id= #{formId}
${sql}
insert into ${tableName} (
${item}
,id,create_user_id,create_user_name,state,store_id
)values(
#{valueItem}
,#{id},#{createUserId},#{createUserName},#{state},#{storeId}
)
update ${tableName} t set t.state = #{state}
where t.id = #{id}
update ${tableName} set
${item}
where id = #{id}