|
|
@ -21,6 +21,7 @@ package com.epmet.service.evaluationindex.screen.impl; |
|
|
|
import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
|
import com.epmet.constant.DataSourceConstant; |
|
|
|
import com.epmet.dao.evaluationindex.screen.ScreenDifficultyDataDao; |
|
|
|
import com.epmet.dto.screen.result.DifficultyIfExistedResultDTO; |
|
|
@ -66,5 +67,7 @@ public class ScreenDifficultyDataServiceImpl extends BaseServiceImpl<ScreenDiffi |
|
|
|
baseDao.deleteBatchDifficultyImg(imgs.stream().map(ScreenDifficultyImgDataEntity::getEventId).distinct().collect(Collectors.toList())); |
|
|
|
baseDao.insertBatchImg(imgs); |
|
|
|
} |
|
|
|
|
|
|
|
baseDao.updateTime(customerId, DateUtils.getBeforeNDay(NumConstant.ONE)); |
|
|
|
} |
|
|
|
} |