| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | import com.panzhihua.common.model.dtos.grid.PageEasyAdminDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEasyAppDTO; |
| | | import com.panzhihua.common.model.vos.grid.ComActEasyPhotoAdminVO; |
| | | import com.panzhihua.service_grid.model.dos.ComActEasyPhotoDO; |
| | | import com.panzhihua.common.model.vos.grid.ComActEasyPhotoVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import com.panzhihua.service_grid.model.dos.ComActEasyPhotoDO; |
| | | |
| | | /** |
| | | * DAO |
| | |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param easyAppDTO 请求参数 |
| | | * |
| | | * @param easyAppDTO |
| | | * 请求参数 |
| | | * @return 随手拍列表 |
| | | */ |
| | | IPage<ComActEasyPhotoVO> findByPage(Page page, @Param("easyAppDTO") PageEasyAppDTO easyAppDTO); |
| | | |
| | | /** |
| | | * 根据随手拍id查询随手拍详情 |
| | | * @param easyId 随手拍id |
| | | * |
| | | * @param easyId |
| | | * 随手拍id |
| | | * @return 随手拍详情 |
| | | */ |
| | | ComActEasyPhotoVO findByEaseId(@Param("easyId") Long easyId); |
| | | |
| | | /** |
| | | * 后台管理-分页查询随手拍列表 |
| | | * @param easyAppDTO 请求参数 |
| | | * |
| | | * @param easyAppDTO |
| | | * 请求参数 |
| | | * @return 随手拍列表 |
| | | */ |
| | | IPage<ComActEasyPhotoAdminVO> easyListByAdmin(Page page, @Param("easyAppDTO") PageEasyAdminDTO easyAppDTO); |
| | | |
| | | /** |
| | | * 后台管理-随手拍详情 |
| | | * @param easyId 随手拍id |
| | | * |
| | | * @param easyId |
| | | * 随手拍id |
| | | * @return 随手拍详情 |
| | | */ |
| | | ComActEasyPhotoAdminVO easyDetailByAdmin(@Param("easyId") Long easyId); |
| | | |
| | | /** |
| | | * 后台管理-批量修改随手拍公示状态/删除随手拍 |
| | | * @param photoEditDTO 请求参数 |
| | | * |
| | | * @param photoEditDTO |
| | | * 请求参数 |
| | | * @return 修改/删除结果 |
| | | */ |
| | | Integer easyPublicityByAdmin(@Param("photoEditDTO") ComActEasyPhotoEditAdminDTO photoEditDTO); |