insert into item_release_type(
type_name,type_id,remark,community_id,flow_id,flow_name
) values (
#{typeName},#{typeId},#{remark},#{communityId},#{flowId},#{flowName}
)
update item_release_type t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.type_name= #{typeName}
, t.remark= #{remark}
, t.community_id= #{communityId}
, t.flow_id= #{flowId}
, t.flow_name= #{flowName}
where 1=1
and t.type_id= #{typeId}