微调
This commit is contained in:
@@ -77,11 +77,11 @@ public class CsDataSetServiceImpl extends ServiceImpl<CsDataSetMapper, CsDataSet
|
|||||||
.and(i->i.eq(CsDataSet::getDataType,"Rt").or().isNull(CsDataSet::getDataType));
|
.and(i->i.eq(CsDataSet::getDataType,"Rt").or().isNull(CsDataSet::getDataType));
|
||||||
//谐波电压含有率
|
//谐波电压含有率
|
||||||
if (target == 0) {
|
if (target == 0) {
|
||||||
wrapper.eq(CsDataSet::getName,"Ds$Pqd$Rt$HarmV$01");
|
wrapper.eq(CsDataSet::getName,"Ds$Pqd$Rt$HarmV$0".concat(clDev.toString()));
|
||||||
} else if (target == 1) {
|
} else if (target == 1) {
|
||||||
wrapper.eq(CsDataSet::getName,"Ds$Pqd$Rt$HarmI$01");
|
wrapper.eq(CsDataSet::getName,"Ds$Pqd$Rt$HarmI$0".concat(clDev.toString()));
|
||||||
} else if (target == 2) {
|
} else if (target == 2) {
|
||||||
wrapper.eq(CsDataSet::getName,"Ds$Pqd$Rt$InHarmV$01");
|
wrapper.eq(CsDataSet::getName,"Ds$Pqd$Rt$InHarmV$0".concat(clDev.toString()));
|
||||||
}
|
}
|
||||||
return this.baseMapper.selectOne(wrapper);
|
return this.baseMapper.selectOne(wrapper);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user