| | |
| | | import com.panzhihua.service_community.model.dos.ComActDynDO; |
| | | import com.panzhihua.service_community.model.dos.ComActDynUserDO; |
| | | import com.panzhihua.service_community.service.ComActDynService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.ObjectUtils; |
| | |
| | | * @author: huang.hongfa weixin hhf9596 qq 959656820 |
| | | * @create: 2020-12-07 14:29 |
| | | **/ |
| | | @Slf4j |
| | | @Service |
| | | public class ComActDynServiceImpl extends ServiceImpl<ComActDynDAO, ComActDynDO> implements ComActDynService { |
| | | @Resource |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 定时任务刷新社区动态置顶状态 |
| | | * |
| | | * @return 刷新结果 |
| | | */ |
| | | @Override |
| | | public R timedTaskDynIstopping() { |
| | | int num=comActDynUserDAO.timedTaskDynIstopping(); |
| | | if (num>0) { |
| | | log.info("一共维护社区动态数量【{}】",num); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | } |