Interface IProguardService

All Known Implementing Classes:
ProguardServiceImpl

public interface IProguardService
  • Method Details

    • searchAllByProguardName

      List<Proguard> searchAllByProguardName(String proguardName)
    • findAll

      List<Proguard> findAll()
    • saveAndFlush

      Proguard saveAndFlush(Proguard entity)
    • saveAllAndFlush

      List<Proguard> saveAllAndFlush(List<Proguard> proguards)
      批量保存,返回值含主键
      Parameters:
      proguards -
      Returns:
    • getProguardByProguardId

      Proguard getProguardByProguardId(Long proguardId)
    • updateProguardByProguardId

      Proguard updateProguardByProguardId(Proguard proguard)
    • searchAllByProguardNameRange

      List<Proguard> searchAllByProguardNameRange(String proguardNameRange)
      范围查询 参数格式为: A-D,H 代表从 A 到 D,并且包含 H 的 数据 in (A,B,C,D,H)
      Parameters:
      proguardNameRange -
      Returns:
    • searchAllByNaiveSQL

      org.springframework.data.domain.Page<Proguard> searchAllByNaiveSQL(String naiveSQL, org.springframework.data.domain.Pageable pageable)
      原生SQL 分页查询
      Parameters:
      naiveSQL -
      pageable -
      Returns:
    • searchAllByNaiveSQLMap

      org.springframework.data.domain.Page<Map> searchAllByNaiveSQLMap(String naiveSQL, org.springframework.data.domain.Pageable pageable)
      原生SQL 分页查询 返回 Map
      Parameters:
      naiveSQL -
      pageable -
      Returns:
    • executeNaiveSQLBatch

      Boolean executeNaiveSQLBatch(List<String> naiveSQLList, List<List<Object>> paramsList)
      批量执行多个SQL 实现类增加 org.springframework.transaction.annotation.Transactional 注解
      Parameters:
      naiveSQLList -
      paramsList -
      Returns:
    • deleteAllById

      void deleteAllById(Long proguardId)