INSERT INTO city_dict( dict_id, dict_parent_id, dict_name, dict_summary, dict_code, dict_order, industry_code, is_hide, creator, gmt_create, modifier, gmt_modified, is_delete ) VALUES( #{dictId}, #{dictParentId}, #{dictName}, #{dictSummary}, #{dictCode}, #{dictOrder}, #{industryCode}, #{isHide}, #{creator}, #{gmtCreate}, #{modifier}, #{gmtModified}, #{isDelete} ) UPDATE city_dict SET is_delete = 1, modifier = #{modifier}, gmt_modified = #{gmtModified} WHERE dict_id IN #{dictIds[${index}]} UPDATE city_dict SET dict_name = #{dictName}, dict_code = #{dictCode}, dict_summary = #{dictSummary}, dict_order = #{dictOrder}, industry_code = #{industryCode}, is_hide = #{isHide}, modifier = #{modifier}, gmt_modified = #{gmtModified} WHERE dict_id = #{dictId}