hunan
liuguijing 2 years ago
parent 771a61629e
commit 60fb1bf5d7

@ -1,16 +1,14 @@
package com.shxy.xymanager_common.entity; package com.shxy.xymanager_common.entity;
import com.shxy.xymanager_common.dto.TermChannelCoordinateDto;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigInteger; import java.math.BigInteger;
import java.util.Date; import java.util.Date;
import java.util.List;
@Data @Data
public class TerminalPhoto implements Serializable { public class TerminalPhoto implements Serializable {
private Long id; private BigInteger id;
private Integer termId; private Integer termId;

@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@ -29,7 +30,7 @@ public class TerminalPhotoListModel implements Serializable {
public static class PhotoBean { public static class PhotoBean {
@ApiModelProperty(value = "图片id", example = "12321") @ApiModelProperty(value = "图片id", example = "12321")
private Long id; private BigInteger id;
@ApiModelProperty(value = "装置编号", example = "123456") @ApiModelProperty(value = "装置编号", example = "123456")
private Integer termId; private Integer termId;

@ -31,6 +31,9 @@ public class TerminalPhotoSelectListModel implements Serializable {
@Data @Data
public static class PhotoBean { public static class PhotoBean {
@ApiModelProperty(value = "照片id", example = "123456")
private BigInteger picid;
@ApiModelProperty(value = "装置编号", example = "123456") @ApiModelProperty(value = "装置编号", example = "123456")
private Integer termid; private Integer termid;

@ -397,6 +397,8 @@ public class TerminalUtils {
} }
} }
Integer channelId = item.getChannelId(); Integer channelId = item.getChannelId();
BigInteger picid = item.getId();
photoBean.setPicid(picid);
photoBean.setChannelid(channelId); photoBean.setChannelid(channelId);
photoBean.setCmdid(terminals.getCmdid()); photoBean.setCmdid(terminals.getCmdid());
if (termchannelMap != null) { if (termchannelMap != null) {

Loading…
Cancel
Save