增加实时数据中的设备名称
This commit is contained in:
parent
16f199a8de
commit
6bdbd0f246
|
|
@ -92,7 +92,7 @@ w * @param pageNo 非必传,虫情孢子类,杀虫灯传入
|
|||
} else {
|
||||
if (transdataAir != null) {
|
||||
transdataAir.setDeployId(deployId);
|
||||
voTransData.setTransData(CommonUtils.markZhibiao(CommonUtils.constructAir(transdataAir), zhibiaoList));
|
||||
voTransData.setTransData(CommonUtils.markZhibiao(deploy,CommonUtils.constructAir(transdataAir), zhibiaoList));
|
||||
return voTransData;
|
||||
}
|
||||
}
|
||||
|
|
@ -103,7 +103,7 @@ w * @param pageNo 非必传,虫情孢子类,杀虫灯传入
|
|||
} else {
|
||||
if (transdataSoil != null) {
|
||||
transdataSoil.setDeployId(deployId);
|
||||
voTransData.setTransData(CommonUtils.markZhibiao(CommonUtils.constructSoil(transdataSoil), zhibiaoList));
|
||||
voTransData.setTransData(CommonUtils.markZhibiao(deploy,CommonUtils.constructSoil(transdataSoil), zhibiaoList));
|
||||
return voTransData;
|
||||
}
|
||||
}
|
||||
|
|
@ -114,7 +114,7 @@ w * @param pageNo 非必传,虫情孢子类,杀虫灯传入
|
|||
} else {
|
||||
if (transdataWater != null) {
|
||||
transdataWater.setDeployId(deployId);
|
||||
voTransData.setTransData(CommonUtils.markZhibiao(CommonUtils.constructSoil(transdataWater), zhibiaoList));
|
||||
voTransData.setTransData(CommonUtils.markZhibiao(deploy,CommonUtils.constructSoil(transdataWater), zhibiaoList));
|
||||
return voTransData;
|
||||
}
|
||||
}
|
||||
|
|
@ -721,7 +721,7 @@ w * @param pageNo 非必传,虫情孢子类,杀虫灯传入
|
|||
}
|
||||
|
||||
|
||||
public static List<CommonDataTrans> markZhibiao(List<CommonDataTrans> dataList, List<ScEquZhibiao> zhibiaoList) {
|
||||
public static List<CommonDataTrans> markZhibiao(SurvDeviceDeploy deploy,List<CommonDataTrans> dataList, List<ScEquZhibiao> zhibiaoList) {
|
||||
if (dataList == null || dataList.size() == 0) {//无数据直接返回
|
||||
System.out.println("无数据直接返回");
|
||||
return dataList;
|
||||
|
|
@ -770,6 +770,7 @@ w * @param pageNo 非必传,虫情孢子类,杀虫灯传入
|
|||
} else {
|
||||
System.out.println("无指标跳过====================" + commonDataTrans.getSurvItem());
|
||||
}
|
||||
commonDataTrans.setDeployRemark(deploy.getDeployDes());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ import java.time.LocalDateTime;
|
|||
public class CommonDataTrans {
|
||||
@ApiModelProperty("设备编号")
|
||||
private String deployId;
|
||||
@ApiModelProperty("设备名称")
|
||||
private String deployRemark;
|
||||
@ApiModelProperty("监测类型")
|
||||
private String survType;
|
||||
@ApiModelProperty("监测项名称")
|
||||
|
|
|
|||
Loading…
Reference in New Issue