insert into account_bond_obj(
bond_id,bobj_id,obj_id,bond_type,receivable_amount,remark,start_time,received_amount,state,end_time,obj_name
) values (
#{bondId},#{bobjId},#{objId},#{bondType},#{receivableAmount},#{remark},#{startTime},#{receivedAmount},#{state},#{endTime},#{objName}
)
update account_bond_obj t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.bond_id= #{bondId}
, t.create_time= #{createTime}
, t.obj_id= #{objId}
, t.obj_name= #{objName}
, t.bond_type= #{bondType}
, t.receivable_amount= #{receivableAmount}
, t.remark= #{remark}
, t.start_time= #{startTime}
, t.received_amount= #{receivedAmount}
, t.state= #{state}
, t.end_time= #{endTime}
where 1=1
and t.bobj_id= #{bobjId}