multi_id, order_id, owner_type, owner_id, allocation_ratio, flg_valid, cp_id, op_create_time, op_create_user_id, op_update_time, op_update_user_id, op_app_code, op_timestamp, op_db_user
AND order_id = #{orderId}
AND owner_type = #{ownerType}
AND owner_id = #{ownerId}
AND allocation_ratio = #{allocationRatio}
AND flg_valid = #{flgValid}
AND cp_id = #{cpId}
AND op_create_time = #{opCreateTime}
AND op_create_user_id = #{opCreateUserId}
AND op_update_time = #{opUpdateTime}
AND op_update_user_id = #{opUpdateUserId}
AND op_app_code = #{opAppCode}
AND op_timestamp = #{opTimestamp}
AND op_db_user = #{opDbUser}
WHERE multi_id in
#{item}
insert into t_psi_multi_owner
(
order_id,
owner_type,
owner_id,
allocation_ratio,
cp_id,
op_app_code,
)
values
(
#{item.orderId}::uuid,
#{item.ownerType},
#{item.ownerId}::uuid,
#{item.allocationRatio},
#{item.cpId},
#{item.opAppCode},
)