create_by,
		create_time,
		update_by,
		update_time,
		id,
		type_name,
		type_code,
		value,
		parent_id,
		sort,
		ext_value,
		company_id
	
	
	
		#{item.createBy},
		now(),
		#{item.updateBy},
		now(),
		#{item.id},
		#{item.typeName},
		#{item.typeCode},
		#{item.value},
		#{item.parentId},
		#{item.sort},
		#{item.extValue},
		#{item.companyId}
	
	
	
		
			
				and id = #{record.id}
			
			
				and type_name like concat('%',#{record.typeName},'%')
			
			
				and type_code = #{record.typeCode}
			
			
				and value like concat('%',#{record.value},'%')
			
			
				and parent_id = #{record.parentId}
			
			
				and sort = #{record.sort}
			
			
				and ext_value = #{record.extValue}
			
			
				and company_id = #{record.companyId}
			
		
	
	
	
		INSERT INTO customer_data_dictionary (
		
		)
		VALUES (
		
		)
	
	
	
		INSERT INTO customer_data_dictionary (
		
		)
		VALUES
		
			(
			
			)
		
	
	
	
		UPDATE customer_data_dictionary
		
			
				type_name = #{typeName},
			
			
				type_code = #{typeCode},
			
			
				value = #{value},
			
			
				parent_id = #{parentId},
			
			
				sort = #{sort},
			
			
				ext_value = #{extValue},
			
			
				company_id = #{companyId},
			
		
		WHERE id=#{id}
	
	
	
		UPDATE customer_data_dictionary
		
			
				type_name = #{record.typeName},
			
			
				type_code = #{record.typeCode},
			
				value = #{record.value},
			
				parent_id = #{record.parentId},
			
			
				sort = #{record.sort},
			
				ext_value = #{record.extValue},
			
				company_id = #{record.companyId},
			
		
		WHERE id=#{record.id}
	
	
	
		delete from customer_data_dictionary where  id in
		
			#{item}
		
	
	
	
		DELETE FROM
		customer_data_dictionary
		where id=#{id}
	
	
	
		DELETE FROM customer_data_dictionary