|
|
@ -52,7 +52,7 @@ if __name__ == "__main__":
|
|||
return ZenEngine({"loader": loader}).get_decision(rule_path.as_posix())
|
||||
|
||||
# 影像件识别使能
|
||||
recognize_enable = rule_engine(Path("rules/影像件识别使能.json"))
|
||||
recognize_enabled = rule_engine(Path("rules/影像件识别使能.json"))
|
||||
|
||||
class MasterData(SQLiteClient):
|
||||
"""主数据"""
|
||||
|
|
@ -1376,12 +1376,12 @@ if __name__ == "__main__":
|
|||
)
|
||||
|
||||
# 影像件识别使能检查,若影像件不识别则跳过
|
||||
if not recognize_enable.evaluate(
|
||||
if not recognize_enabled.evaluate(
|
||||
{
|
||||
"insurer_company": insurer_company,
|
||||
"image_type": image["影像件类型"],
|
||||
}
|
||||
)["result"]["recognize_enable"]:
|
||||
)["result"]["recognize_enabled"]:
|
||||
return
|
||||
|
||||
# 根据影像件类型匹配影像件识别方法
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@
|
|||
{
|
||||
"id": "a2fc744f-930d-43e0-b5cf-824a5928c7f1",
|
||||
"name": "是否识别",
|
||||
"field": "recognize_enable"
|
||||
"field": "recognize_enabled"
|
||||
}
|
||||
],
|
||||
"hitPolicy": "first",
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 262 KiB |
|
After Width: | Height: | Size: 251 KiB |
|
After Width: | Height: | Size: 262 KiB |
|
After Width: | Height: | Size: 176 KiB |
|
After Width: | Height: | Size: 258 KiB |
|
After Width: | Height: | Size: 170 KiB |
|
After Width: | Height: | Size: 274 KiB |
|
After Width: | Height: | Size: 177 KiB |
|
After Width: | Height: | Size: 276 KiB |
|
After Width: | Height: | Size: 178 KiB |