1.入库添加集合数量
2.同步监测点、装置状态
This commit is contained in:
@@ -27,7 +27,7 @@ public class PqDataVerifyServiceImpl extends MppServiceImpl<PqDataVerifyMapper,
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void insertData(List<PqDataVerify> list) {
|
||||
this.saveOrUpdateBatchByMultiId(list);
|
||||
this.saveOrUpdateBatchByMultiId(list,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -31,6 +31,6 @@ public class RelationDataComAssImpl extends MppServiceImpl<RStatDataComAssMapper
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ public class RelationDataFlickerImpl extends MppServiceImpl<RStatDataFlickerRela
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataFlicker.saveOrUpdateBatchByMultiId(result);
|
||||
dataFlicker.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -78,7 +78,7 @@ public class RelationDataFlucImpl extends MppServiceImpl<RStatDataFlucRelationMa
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataFluc.saveOrUpdateBatchByMultiId(result);
|
||||
dataFluc.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
@@ -43,6 +43,6 @@ public class RelationDataHarmRateIImpl extends MppServiceImpl<RStatDataHarmRateI
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataHarmRateI.saveOrUpdateBatchByMultiId(result);
|
||||
dataHarmRateI.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ public class RelationDataHarmRateVImpl extends MppServiceImpl<RStatDataHarmRateV
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataHarmRateV.saveOrUpdateBatchByMultiId(result);
|
||||
dataHarmRateV.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -83,6 +83,6 @@ public class RelationDataHarmphasicIImpl extends MppServiceImpl<RStatDataHarmPha
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataHarmphasicI.saveOrUpdateBatchByMultiId(result);
|
||||
dataHarmphasicI.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ public class RelationDataHarmphasicVImpl extends MppServiceImpl<RStatDataHarmPha
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataHarmphasicV.saveOrUpdateBatchByMultiId(result);
|
||||
dataHarmphasicV.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -87,6 +87,6 @@ public class RelationDataHarmpowerPImpl extends MppServiceImpl<RStatDataHarmPowe
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataHarmPowerP.saveOrUpdateBatchByMultiId(result);
|
||||
dataHarmPowerP.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,6 +85,6 @@ public class RelationDataHarmpowerQImpl extends MppServiceImpl<RStatDataHarmPowe
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataHarmpowerQ.saveOrUpdateBatchByMultiId(result);
|
||||
dataHarmpowerQ.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,6 +80,6 @@ public class RelationDataHarmpowerSImpl extends MppServiceImpl<RStatDataHarmPowe
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataHarmPowerS.saveOrUpdateBatchByMultiId(result);
|
||||
dataHarmPowerS.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ public class RelationDataIImpl extends MppServiceImpl<RStatDataIRelationMapper,
|
||||
BeanUtils.copyProperties(item, dataI);
|
||||
result.add(dataI);
|
||||
});
|
||||
iDataI.saveOrUpdateBatchByMultiId(result);
|
||||
iDataI.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -78,6 +78,6 @@ public class RelationDataInharmIImpl extends MppServiceImpl<RStatDataInHarmIRela
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataInharmI.saveOrUpdateBatchByMultiId(result);
|
||||
dataInharmI.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,6 +86,6 @@ public class RelationDataInharmVImpl extends MppServiceImpl<RStatDataInHarmVRela
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataInHarmV.saveOrUpdateBatchByMultiId(result);
|
||||
dataInHarmV.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ public class RelationDataIntegrityImpl extends MppServiceImpl<RStatIntegrityDMap
|
||||
BeanUtils.copyProperties(item, onlineRate);
|
||||
result.add(onlineRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataLimitQualifiedImpl extends MppServiceImpl<RStatLimitQua
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -110,7 +110,7 @@ public class RelationDataLimitRateDetailImpl extends MppServiceImpl<RStatLimitRa
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -39,7 +39,7 @@ public class RelationDataLimitRateImpl extends MppServiceImpl<RStatLimitRateRela
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -42,7 +42,7 @@ public class RelationDataLimitTargetImpl extends MppServiceImpl<RStatLimitTarget
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -35,7 +35,7 @@ public class RelationDataOnlineRateImpl extends MppServiceImpl<RStatOnlineRateD
|
||||
BeanUtils.copyProperties(item, onlineRate);
|
||||
result.add(onlineRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -35,7 +35,7 @@ public class RelationDataOrgIntegrityImpl extends MppServiceImpl<RStatOrgIntegri
|
||||
BeanUtils.copyProperties(item, onlineRate);
|
||||
result.add(onlineRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -91,7 +91,7 @@ public class RelationDataPltImpl extends MppServiceImpl<RStatDataPltRelationMapp
|
||||
BeanUtils.copyProperties(item, data);
|
||||
result.add(data);
|
||||
});
|
||||
dataPlt.saveOrUpdateBatchByMultiId(result);
|
||||
dataPlt.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataPollutionImpl extends MppServiceImpl<RMpPollutionDMappe
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataPollutionOrgDImpl extends MppServiceImpl<RStatPollution
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataPollutionOrgMImpl extends MppServiceImpl<RStatPollution
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataPollutionOrgQImpl extends MppServiceImpl<RStatPollution
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataPollutionOrgYImpl extends MppServiceImpl<RStatPollution
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataPollutionSubstationDImpl extends MppServiceImpl<RStatPo
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataPollutionSubstationMImpl extends MppServiceImpl<RStatPo
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataPollutionSubstationQImpl extends MppServiceImpl<RStatPo
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ public class RelationDataPollutionSubstationYImpl extends MppServiceImpl<RStatPo
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -120,7 +120,7 @@ public class RelationDataVImpl extends MppServiceImpl<RStatDataVRelationMapper,
|
||||
BeanUtils.copyProperties(item, dataV);
|
||||
result.add(dataV);
|
||||
});
|
||||
iDataV.saveOrUpdateBatchByMultiId(result);
|
||||
iDataV.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -32,6 +32,6 @@ public class RelationRActivePowerRangeServiceImpl extends MppServiceImpl<RActive
|
||||
powerRange.setState(1);
|
||||
result.add(powerRange);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ public class RelationRmpEventDetailDImpl extends MppServiceImpl<RMpEventDetailDM
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -33,7 +33,7 @@ public class RelationRmpEventDetailMImpl extends MppServiceImpl<RMpEventDetailMM
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -33,7 +33,7 @@ public class RelationRmpEventDetailQImpl extends MppServiceImpl<RMpEventDetailQM
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -30,6 +30,6 @@ public class RelationRmpEventDetailYImpl extends MppServiceImpl<RMpEventDetailYM
|
||||
BeanUtils.copyProperties(item, limitRate);
|
||||
result.add(limitRate);
|
||||
});
|
||||
this.saveOrUpdateBatchByMultiId(result);
|
||||
this.saveOrUpdateBatchByMultiId(result,500);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user