|
|
@ -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); |
|
|
|
} |
|
|
|