dzx 3 mesi fa
parent
commit
a31798a9eb

+ 2 - 0
src/main/java/com/xjrsoft/module/liteflow/node/ImportTeacherFaceNode.java

@@ -44,6 +44,8 @@ public class ImportTeacherFaceNode extends NodeComponent {
             String reslut = FaceImportUtil.ImportTeacherFace(hikvisionDataMapper.getTeacherHikvisionId(dataObj.getUserId()), fileUrl);
             dataObj.setHikvisionResult(reslut);
             teacherFaceProcessService.updateById(dataObj);
+
+            teacherFaceProcessService.clearHistory(dataObj);
         }
     }
 }