Commit 99e1d262 authored by 邢磊's avatar 邢磊

*)修改装备全部导出报错

parent f8d83515
......@@ -225,11 +225,11 @@ public class AnalysisResultServiceImpl extends ServiceImpl<AnalysisResultMapper,
JSONArray deviceIds = map.getJSONArray("deviceIds");
String samplingTime = map.getString("samplingTime");
String analysisResult = map.getString("analysisResult");
if (ValidationUtil.isEmpty(deviceIds)){
throw new BadRequest("部件编码不能为空.");
}
Page<AnalysisResult> page = new Page<>(size, size);
if (ValidationUtil.isEmpty(deviceIds)){
return page;
}
LambdaQueryWrapper<AnalysisResult> wrapper = new LambdaQueryWrapper<>();
wrapper.in(AnalysisResult::getDeviceId, deviceIds);
wrapper.isNotNull(AnalysisResult::getAnalysisResult);
......
......@@ -289,11 +289,6 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
return equipmentDetailMapper.getPref(id);
}
@Override
public String checkDelete(List<Long> ids) {
String res = "";
......@@ -308,7 +303,6 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
@Override
public List<DetailssAmountVO> getall() {
return equipmentDetailMapper.getall();
}
......
......@@ -182,7 +182,7 @@
-- wlp.measure,
wles.iot_code,
wled.equipment_id,
wles.remark agencyName,
wles.agency_name agencyName,
wled.equipment_name
FROM
wl_equipment_detail wled
......
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