| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.modules.directive.entity.Directive; |
| | | import org.springblade.modules.directive.entity.DirectiveFile; |
| | | import org.springblade.modules.directive.vo.DirectiveVo; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | DirectiveVo selectDirectiveInfo(@Param("directive") Directive directive); |
| | | |
| | | /** |
| | | * 查询指令图片信息集合 |
| | | * @param id 指令id |
| | | * @return |
| | | */ |
| | | List<DirectiveFile> getDirectiveFileList(Long id); |
| | | |
| | | /** |
| | | * 插入图片 |
| | | * @param directiveFile |
| | | * @return |
| | | */ |
| | | int saveDirectiveFile(@Param("directiveFile") DirectiveFile directiveFile); |
| | | |
| | | /** |
| | | * 删除图片 |
| | | * @param id 指令id |
| | | * @return |
| | | */ |
| | | int deleteByDirectiveId(@Param("id") Long id); |
| | | |
| | | /** |
| | | * 自定义分页--接收到的指令 |
| | | * @param page,size |
| | | * @param directive 指令对象 |
| | | */ |
| | | List<DirectiveVo> selectDirectiveReplyPage(IPage<DirectiveVo> page, @Param("directive")DirectiveVo directive); |
| | | } |