|
@ -81,6 +81,9 @@ public class ResiCategoryStatsConfigServiceImpl implements ResiCategoryStatsConf |
|
|
|
|
|
|
|
|
//2.获取ic_resi_category_stats_config 和 ic_resi_category_warn_config 表中的数据
|
|
|
//2.获取ic_resi_category_stats_config 和 ic_resi_category_warn_config 表中的数据
|
|
|
List<IcResiCategoryStatsConfigEntity> statsConfigEntityList = icResiCategoryStatsConfigDao.selectList(new QueryWrapper<IcResiCategoryStatsConfigEntity>().lambda().eq(IcResiCategoryStatsConfigEntity::getCustomerId,customerId)); |
|
|
List<IcResiCategoryStatsConfigEntity> statsConfigEntityList = icResiCategoryStatsConfigDao.selectList(new QueryWrapper<IcResiCategoryStatsConfigEntity>().lambda().eq(IcResiCategoryStatsConfigEntity::getCustomerId,customerId)); |
|
|
|
|
|
if (!CollectionUtils.isEmpty(statsConfigEntityList)){ |
|
|
|
|
|
return icResiCategoryStatsConfigDao.listInfo(customerId,formDTO.getIsWarn(),formDTO.getLevel()); |
|
|
|
|
|
} |
|
|
List<IcResiCategoryWarnConfigEntity> warnConfigEntityList = icResiCategoryWarnConfigDao.selectList(new QueryWrapper<IcResiCategoryWarnConfigEntity>().lambda().eq(IcResiCategoryWarnConfigEntity::getCustomerId,customerId)); |
|
|
List<IcResiCategoryWarnConfigEntity> warnConfigEntityList = icResiCategoryWarnConfigDao.selectList(new QueryWrapper<IcResiCategoryWarnConfigEntity>().lambda().eq(IcResiCategoryWarnConfigEntity::getCustomerId,customerId)); |
|
|
//3.新增不存在的,删除不在tableColumnMap的
|
|
|
//3.新增不存在的,删除不在tableColumnMap的
|
|
|
|
|
|
|
|
|