Interface IProguardService
- All Known Implementing Classes:
ProguardServiceImpl
public interface IProguardService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllById
(Long proguardId) 批量执行多个SQL 实现类增加 org.springframework.transaction.annotation.Transactional 注解findAll()
getProguardByProguardId
(Long proguardId) saveAllAndFlush
(List<Proguard> proguards) 批量保存,返回值含主键saveAndFlush
(Proguard entity) org.springframework.data.domain.Page<Proguard>
searchAllByNaiveSQL
(String naiveSQL, org.springframework.data.domain.Pageable pageable) 原生SQL 分页查询org.springframework.data.domain.Page<Map>
searchAllByNaiveSQLMap
(String naiveSQL, org.springframework.data.domain.Pageable pageable) 原生SQL 分页查询 返回 MapsearchAllByProguardName
(String proguardName) searchAllByProguardNameRange
(String proguardNameRange) 范围查询 参数格式为: A-D,H 代表从 A 到 D,并且包含 H 的 数据 in (A,B,C,D,H)updateProguardByProguardId
(Proguard proguard)
-
Method Details
-
searchAllByProguardName
-
findAll
-
saveAndFlush
-
saveAllAndFlush
批量保存,返回值含主键- Parameters:
proguards
-- Returns:
-
getProguardByProguardId
-
updateProguardByProguardId
-
searchAllByProguardNameRange
范围查询 参数格式为: 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
批量执行多个SQL 实现类增加 org.springframework.transaction.annotation.Transactional 注解- Parameters:
naiveSQLList
-paramsList
-- Returns:
-
deleteAllById
-