| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | return todoEventsVOS; |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public R deleteMicroWish(Long id) { |
| | | ComActMicroWishDO comActMicroWishDO = comActMicroWishDAO.selectById(id); |
| | | if(comActMicroWishDO==null){ |
| | | return R.fail("id有误!"); |
| | | } |
| | | comActMicroWishDAO.deleteById(id); |
| | | comActMicroWishUserDAO.delete(new LambdaQueryWrapper<ComActMicroWishUserDO>().eq(ComActMicroWishUserDO::getMicroWishId,id)); |
| | | return R.ok(); |
| | | } |
| | | } |