java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysFileMapper,SysFile>
io.github.mangocrisp.spring.taybct.admin.file.service.impl.SysFileServiceImpl
所有已实现的接口:
com.baomidou.mybatisplus.extension.service.IService<SysFile>, ISysFileService

@AutoConfiguration @Service public class SysFileServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysFileMapper,SysFile> implements ISysFileService
 针对表【sys_file(文件管理)】的数据库操作Service实现
 
从以下版本开始:
2024-09-01 21:20:40
另请参阅:
  • 字段概要

    从类继承的字段 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl

    baseMapper, entityClass, log, mapperClass, typeArguments

    从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService

    DEFAULT_BATCH_SIZE
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    清理无效的文件
    <E extends SysFile>
    E
    detail(com.alibaba.fastjson2.JSONObject params)
    查询详情
    boolean
    link(List<SysFile> list)
    链接
    <E extends SysFile>
    List<E>
    list(com.alibaba.fastjson2.JSONObject params, io.github.mangocrisp.spring.taybct.tool.core.mybatis.support.SqlPageParams sqlPageParams)
    查询列表
    <E extends SysFile>
    com.baomidou.mybatisplus.core.metadata.IPage<E>
    page(com.alibaba.fastjson2.JSONObject params, io.github.mangocrisp.spring.taybct.tool.core.mybatis.support.SqlPageParams sqlPageParams)
    查询分页
    <UM extends io.github.mangocrisp.spring.taybct.tool.core.bean.ModelConvertible<? extends SysFile>, QM extends io.github.mangocrisp.spring.taybct.tool.core.bean.ModelConvertible<? extends SysFile>>
    boolean
    update(io.github.mangocrisp.spring.taybct.tool.core.bean.UpdateModel<SysFile,UM,QM> model)
    根据条件更新数据
    boolean
    upload(Set<String> pathSet)
    上传文件

    从类继承的方法 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl

    closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchById

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService

    count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById
  • 构造器详细资料

    • SysFileServiceImpl

      public SysFileServiceImpl()
  • 方法详细资料

    • upload

      @Transactional(rollbackFor=java.lang.Throwable.class) public boolean upload(Set<String> pathSet)
      从接口复制的说明: ISysFileService
      上传文件
      指定者:
      upload 在接口中 ISysFileService
      参数:
      pathSet - 上传后的文件路径
      返回:
      记录保存文件
    • cleanNotLinkedFile

      @Transactional(rollbackFor=java.lang.Throwable.class) public boolean cleanNotLinkedFile(Map<String,Object> params)
      从接口复制的说明: ISysFileService
      清理无效的文件
      指定者:
      cleanNotLinkedFile 在接口中 ISysFileService
      参数:
      params - 参数
      返回:
      是否成功
    • link

      @Transactional(rollbackFor=java.lang.Throwable.class) public boolean link(List<SysFile> list)
      从接口复制的说明: ISysFileService
      链接
      指定者:
      link 在接口中 ISysFileService
      参数:
      list - 修改内容
      返回:
      是否操作成功
    • update

      @Transactional(rollbackFor=java.lang.Throwable.class) public <UM extends io.github.mangocrisp.spring.taybct.tool.core.bean.ModelConvertible<? extends SysFile>, QM extends io.github.mangocrisp.spring.taybct.tool.core.bean.ModelConvertible<? extends SysFile>> boolean update(io.github.mangocrisp.spring.taybct.tool.core.bean.UpdateModel<SysFile,UM,QM> model)
      从接口复制的说明: ISysFileService
      根据条件更新数据
      指定者:
      update 在接口中 ISysFileService
      参数:
      model - 条件
      返回:
      是否更新成功
    • page

      public <E extends SysFile> com.baomidou.mybatisplus.core.metadata.IPage<E> page(com.alibaba.fastjson2.JSONObject params, io.github.mangocrisp.spring.taybct.tool.core.mybatis.support.SqlPageParams sqlPageParams)
      从接口复制的说明: ISysFileService
      查询分页
      指定者:
      page 在接口中 ISysFileService
      类型参数:
      E - 结果类型
      参数:
      params - 查询条件
      sqlPageParams - 分页参数
      返回:
      分页结果
    • list

      public <E extends SysFile> List<E> list(com.alibaba.fastjson2.JSONObject params, io.github.mangocrisp.spring.taybct.tool.core.mybatis.support.SqlPageParams sqlPageParams)
      从接口复制的说明: ISysFileService
      查询列表
      指定者:
      list 在接口中 ISysFileService
      类型参数:
      E - 返回对象类型
      参数:
      params - 查询条件
      sqlPageParams - 分页参数防止查询全表
      返回:
      返回列表数据
    • detail

      public <E extends SysFile> E detail(com.alibaba.fastjson2.JSONObject params)
      从接口复制的说明: ISysFileService
      查询详情
      指定者:
      detail 在接口中 ISysFileService
      类型参数:
      E - 结果类型
      参数:
      params - 查询条件
      返回:
      详情