| | |
| | | import com.yeshi.buwan.service.inter.juhe.InternetSearchVideoService; |
| | | import com.yeshi.buwan.service.inter.system.SystemConfigService; |
| | | import com.yeshi.buwan.util.mq.CMQManager; |
| | | import org.springframework.cache.annotation.Cacheable; |
| | | import org.springframework.data.mongodb.core.query.Query; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | return internetSearchVideoDao.get(id); |
| | | } |
| | | |
| | | @Cacheable(value = "internetSearch", key = "'selectByPrimaryKey-'+#id") |
| | | @Override |
| | | public InternetSearchVideo selectByPrimaryKeyCache(String id) { |
| | | |
| | | return selectByPrimaryKey(id); |
| | | } |
| | | |
| | | |
| | | } |