涂抹和识别时增加优先级概念
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
x-env:
|
||||
&template
|
||||
image: fcb_photo_review:1.14.3
|
||||
image: fcb_photo_review:1.14.4
|
||||
restart: always
|
||||
|
||||
x-review:
|
||||
|
||||
@@ -258,6 +258,7 @@ def main():
|
||||
.join(ZxPhrec, ZxPhhd.pk_phhd == ZxPhrec.pk_phhd, isouter=True)
|
||||
.filter(ZxPhhd.paint_flag == "1")
|
||||
.filter(ZxPhrec.pk_phrec.isnot(None))
|
||||
.order_by(ZxPhhd.priority_num.desc())
|
||||
.distinct().limit(PHHD_BATCH_SIZE).all())
|
||||
# 将状态改为正在涂抹中
|
||||
pk_phhd_values = [phhd.pk_phhd for phhd in phhds]
|
||||
|
||||
@@ -507,6 +507,7 @@ def main():
|
||||
.join(ZxPhrec, ZxPhhd.pk_phhd == ZxPhrec.pk_phhd, isouter=True)
|
||||
.filter(ZxPhhd.exsuccess_flag == "1")
|
||||
.filter(ZxPhrec.pk_phrec.isnot(None))
|
||||
.order_by(ZxPhhd.priority_num.desc())
|
||||
.distinct().limit(PHHD_BATCH_SIZE).all())
|
||||
# 将状态改为正在识别中
|
||||
pk_phhd_values = [phhd.pk_phhd for phhd in phhds]
|
||||
|
||||
Reference in New Issue
Block a user