Commit 7ea7b17d authored by gaoyingwei's avatar gaoyingwei

修改摄像头数据查询

parent a60ed4fc
......@@ -148,7 +148,7 @@ public class AepPushServiceImpl implements IAepPushService {
if(StringUtils.equals("0100",status)){
convertBean.setDataType("OPEN");//开门状态
}else if(StringUtils.equals("0000",status)){
convertBean.setDataType("OPEN");//关门
convertBean.setDataType("CLOSE");//关门
}else {
resultCode = "0";
log.info("设备:【"+convertBean.getDeviceImei()+"】发送的指令:【"+hexStr+"】 无需入库");
......
......@@ -129,6 +129,8 @@ public class DoorDeviceInfo extends CyIdIncreEntity<DoorDeviceInfo> {
/**
* 抓拍图像
*/
@Transient
@TableField(exist = false)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date captureTime;
......
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