insert into s2_dictionary (`domain_id`, dim_value_infos, created_at, updated_at, created_by, updated_by) values (#{domainId}, #{dimValueInfos}, #{createdAt}, #{updatedAt}, #{createdBy}, #{updatedBy}) insert into s2_dictionary (`domain_id`, dim_value_infos, created_at, updated_at, created_by, updated_by) values (#{domainId}, #{dimValueInfos}, #{createdAt}, #{updatedAt}, #{createdBy}, #{updatedBy}) on duplicate key update dim_value_infos = #{dimValueInfos}, updated_at = #{updatedAt}, updated_by = #{updatedBy} update s2_dictionary set dim_value_infos = #{dimValueInfos}, updated_at = #{updatedAt}, updated_by = #{updatedBy} where domain_id = #{domainId} and status = 0