#20230510 欣影管理平台装置信息查询代码

jni
18616268358 2 years ago
parent 469f2a63d7
commit a95382aefe

@ -63,5 +63,8 @@ public class TerminalPhotoListModel implements Serializable {
@ApiModelProperty(value = "拍照方式", example = "123456")
private Integer manualRequest;
@ApiModelProperty(value = "拍照类型", example = "123456")
private Integer mediaType;
}
}

@ -107,12 +107,13 @@ public class TerminalPhotoServiceImpl implements TerminalPhotoService {
photoBean.setChannelId(item.getChannelId());
photoBean.setFileSize(item.getFileSize());
photoBean.setHeight(item.getHeight());
photoBean.setMediaType(item.getMediaType());
if (item.getMediaType() == 0) {
photoBean.setPath(photoaddress + item.getPath());
} else {
photoBean.setPath(videoaddress + item.getPath());
if (item.getThumb() != null) {
if (StringUtils.isNotBlank(item.getThumb())) {
photoBean.setThumb(videoaddress + item.getThumb());
}
}

Loading…
Cancel
Save