|
@@ -141,6 +141,7 @@ public class LockBusiness {
|
|
|
*/
|
|
*/
|
|
|
private void insertLockPower(List<PtRoomVo> roomVos) {
|
|
private void insertLockPower(List<PtRoomVo> roomVos) {
|
|
|
if (CollectionUtil.isNotEmpty(roomVos)) {
|
|
if (CollectionUtil.isNotEmpty(roomVos)) {
|
|
|
|
|
+ // TODO 2024-12-11 15:16:50 luoyibo 在写新电量前将原有的所有电量设置为历史
|
|
|
roomVos.forEach(p -> {
|
|
roomVos.forEach(p -> {
|
|
|
String lockId = p.getLockId();
|
|
String lockId = p.getLockId();
|
|
|
R<String> result = this.queryLockBattery(lockId);
|
|
R<String> result = this.queryLockBattery(lockId);
|