支持锁定编辑后的设备名 #642

This commit is contained in:
648540858
2022-10-17 17:16:59 +08:00
parent 7918f03734
commit 3e91483d4b
4 changed files with 157 additions and 21 deletions

View File

@@ -360,7 +360,7 @@ public class DeviceServiceImpl implements IDeviceService {
device.setUpdateTime(now);
device.setCharset(device.getCharset().toUpperCase());
device.setUpdateTime(DateUtil.getNow());
if (deviceMapper.update(device) > 0) {
if (deviceMapper.updateCustom(device) > 0) {
redisCatchStorage.updateDevice(device);
}