初次提交

This commit is contained in:
张江玮
2022-11-04 13:56:06 +08:00
parent b0cdad9bfe
commit eb9f7c7a71
84 changed files with 1398 additions and 5721 deletions

View File

@@ -243,7 +243,7 @@ public class DeviceServiceImpl implements DeviceService, ApplicationAutoInitial
// allDevice.remove(deviceByCode);
log.info("设备删除成功!");
if (deviceByCode != null) {
if (deviceByCode != null && deviceByCode.getDeviceDriverDefination() != null) {
if (StrUtil.equals("storage", deviceByCode.getDeviceDriverDefination().getFitDeviceTypes().get(0).name())) {
storageTab.delete("substring_index( storage_code,'-',1)= '" + device_code + "'");