diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/DefaultRobotIdentifyTypeHandler.java b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/DefaultRobotIdentifyTypeHandler.java index 67bc5bd..336bf3c 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/DefaultRobotIdentifyTypeHandler.java +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/DefaultRobotIdentifyTypeHandler.java @@ -46,9 +46,9 @@ public class DefaultRobotIdentifyTypeHandler implements IRobotIdentifyTypeHandle recordVo.setTenantId(tenantId); recordVo.setContentId(content.getId()); String addr = content.getCameraAddr(); + recordVo.setFileUrl(picUrl); if(Func.isNotEmpty(switchs)){ for (RobotAiSwitchReturn re : switchs) { - recordVo.setFileUrl(picUrl); if(addr.trim().equals(re.getRowindex() + AIContants.COMMA + re.getColindex())){ recordVo.setCurrentValue(String.valueOf(re.getState())); recordVo.setCurrentStatus(setCurrentStatus(String.valueOf(re.getState()), content.getCheckVal())); diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/RobotDigitTypeHandler.java b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/RobotDigitTypeHandler.java index 09af255..df2c241 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/RobotDigitTypeHandler.java +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/service/impl/RobotDigitTypeHandler.java @@ -32,9 +32,9 @@ public class RobotDigitTypeHandler implements IRobotIdentifyTypeHandler