insert into report_custom_component_condition(
component_id,condition_id,param,name,remark,holdpace,type,seq
) values (
#{componentId},#{conditionId},#{param},#{name},#{remark},#{holdpace},#{type},#{seq}
)
update report_custom_component_condition t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.component_id= #{componentId}
, t.param= #{param}
, t.name= #{name}
, t.remark= #{remark}
, t.holdpace= #{holdpace}
, t.type= #{type}
, t.seq= #{seq}
where 1=1
and t.condition_id= #{conditionId}