Commit a60ed4fc authored by gaoyingwei's avatar gaoyingwei

修改摄像头数据入库

parent 8ffe48d5
......@@ -147,8 +147,12 @@ public class AepPushServiceImpl implements IAepPushService {
}else{
if(StringUtils.equals("0100",status)){
convertBean.setDataType("OPEN");//开门状态
}else{
convertBean.setDataType("CLOSE");//关门
}else if(StringUtils.equals("0000",status)){
convertBean.setDataType("OPEN");//关门
}else {
resultCode = "0";
log.info("设备:【"+convertBean.getDeviceImei()+"】发送的指令:【"+hexStr+"】 无需入库");
break;
}
}
convertBean.setRemarks(hexStr);
......
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