INSERT INTO ma_type_properties ( type_id, must_have, input_type, property_name, property_value, create_time ) VALUES ( #{typeId}, #{mustHave}, #{inputType}, #{propertyName}, #{propertyValue}, #{createTime} ) UPDATE ma_type_properties type_id = #{typeId}, must_have = #{mustHave}, input_type = #{inputType}, property_name = #{propertyName}, property_value = #{propertyValue}, WHERE id = #{id} DELETE FROM ma_type_properties WHERE id = #{id} UPDATE ma_type_properties SET property_value = #{propertyValue} WHERE id = #{id}