insert into workflow_step( step_id,type,community_id,store_id,flow_id,seq ) values ( #{stepId},#{type},#{communityId},#{storeId},#{flowId},#{seq} ) update workflow_step t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.type= #{type} , t.store_id= #{storeId} , t.seq= #{seq} where 1=1 and t.step_id= #{stepId} and t.community_id= #{communityId} and t.flow_id= #{flowId}