From a0caaa96e1e8a6f6d268affcaa9035f1ce3c4d24 Mon Sep 17 00:00:00 2001 From: lzh Date: Sat, 20 Nov 2021 21:13:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E8=AE=BE=E7=BD=AEcustomerId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/ResiCategoryStatsConfigServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/ResiCategoryStatsConfigServiceImpl.java b/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/ResiCategoryStatsConfigServiceImpl.java index 8865e16362..3cdcd7944f 100644 --- a/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/ResiCategoryStatsConfigServiceImpl.java +++ b/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/ResiCategoryStatsConfigServiceImpl.java @@ -227,7 +227,7 @@ public class ResiCategoryStatsConfigServiceImpl implements ResiCategoryStatsConf //更新配置类别 IcResiCategoryStatsConfigEntity icResiCategoryStatsConfigEntity = new IcResiCategoryStatsConfigEntity(); BeanUtils.copyProperties(formDTO,icResiCategoryStatsConfigEntity); - icResiCategoryStatsConfigEntity.setCustomerId(customerId); +// icResiCategoryStatsConfigEntity.setCustomerId(customerId); icResiCategoryStatsConfigDao.updateById(icResiCategoryStatsConfigEntity); //更新配置预警 @@ -249,7 +249,7 @@ public class ResiCategoryStatsConfigServiceImpl implements ResiCategoryStatsConf icResiCategoryWarnConfigEntity.setSort(icResiCategoryStatsConfigDTO.getSort()); icResiCategoryWarnConfigDao.insert(icResiCategoryWarnConfigEntity); }else{ - icResiCategoryWarnConfigEntity.setCustomerId(customerId); +// icResiCategoryWarnConfigEntity.setCustomerId(customerId); icResiCategoryWarnConfigEntity.setLabel(icResiCategoryStatsConfigDTO.getLabel()); icResiCategoryWarnConfigEntity.setTableName(icResiCategoryStatsConfigDTO.getTableName()); icResiCategoryWarnConfigEntity.setColumnName(icResiCategoryStatsConfigDTO.getColumnName()); @@ -276,7 +276,7 @@ public class ResiCategoryStatsConfigServiceImpl implements ResiCategoryStatsConf //更新配置类别 IcResiCategoryStatsConfigEntity icResiCategoryStatsConfigEntity = new IcResiCategoryStatsConfigEntity(); BeanUtils.copyProperties(formDTO,icResiCategoryStatsConfigEntity); - icResiCategoryStatsConfigEntity.setCustomerId(customerId); +// icResiCategoryStatsConfigEntity.setCustomerId(customerId); icResiCategoryStatsConfigDao.updateById(icResiCategoryStatsConfigEntity); } @@ -287,7 +287,7 @@ public class ResiCategoryStatsConfigServiceImpl implements ResiCategoryStatsConf for (IcResiCategoryStatsConfigSortFormDTO formDTO : formDTOs) { IcResiCategoryStatsConfigEntity icResiCategoryStatsConfigEntity = new IcResiCategoryStatsConfigEntity(); icResiCategoryStatsConfigEntity.setId(formDTO.getId()); - icResiCategoryStatsConfigEntity.setCustomerId(customerId); +// icResiCategoryStatsConfigEntity.setCustomerId(customerId); icResiCategoryStatsConfigEntity.setSort(formDTO.getSort()); entityList.add(icResiCategoryStatsConfigEntity); }