Commit 8634a541 authored by lixiaofang's avatar lixiaofang

add

parent 1cc300cd
......@@ -34,10 +34,18 @@ class Command(BaseCommand):
try:
es_cli = ESPerform.get_cli()
type_name = "associate_tag"
type_name1 = "associate_tag"
type_name2 = "associate_tag_brand"
type_name3 = "associate_tag_doctor"
type_name4 = "associate_tag_hospital"
type_name5 = "associate_tag_instrument"
type_name6 = "associate_tag_position"
type_name7 = "associate_tag_project"
if len(options["type"]):
if options["type"] == "all" or type_name == options["type"]:
if options["type"] == "all" or type_name1 == options["type"] or type_name2 == options["type"] or \
type_name3 == options["type"] or type_name4 == options["type"] or type_name5 == options["type"] \
or type_name6 == options["type"] or type_name7 == options["type"]:
type_name = options["type"]
official_index_name = ESPerform.get_official_index_name(type_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment