insert into resource_audit_flow(
raf_id,remark,store_id,flow_id,flow_name,audit_type,community_id
) values (
#{rafId},#{remark},#{storeId},#{flowId},#{flowName},#{auditType},#{communityId}
)
update resource_audit_flow t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.remark= #{remark}
, t.flow_id= #{flowId}
, t.flow_name= #{flowName}
, t.audit_type= #{auditType}
where 1=1
and t.raf_id= #{rafId}
and t.store_id= #{storeId}
and t.community_id= #{storeId}