public interface GxYyCustomNewsDao
| 限定符和类型 | 方法和说明 |
|---|---|
void |
delete(String id)
删除
|
GxYyCustomNews |
get(String id)
通过ID查询单条数据
|
List<GxYyCustomNews> |
getByParentIsNull()
查询新闻列表
|
List<GxYyCustomNews> |
listByIds(List<String> parentIdList)
根据id集合查询
|
PageInfo<GxYyCustomNews> |
page(CustomNewsQueryParamsDTO customNewsQueryParamsDTO)
获取数据
|
String |
saveOrUpdateNew(GxYyCustomNews gxYyCustomNews)
修改数据
|
void |
updateStatus(CustomNewsQueryParamsDTO customNewsQueryParamsDTO)
发布
|
GxYyCustomNews get(String id)
id - 主键void delete(String id)
id - 主键void updateStatus(CustomNewsQueryParamsDTO customNewsQueryParamsDTO)
customNewsQueryParamsDTO - 状态String saveOrUpdateNew(GxYyCustomNews gxYyCustomNews)
gxYyCustomNews - 实例对象PageInfo<GxYyCustomNews> page(CustomNewsQueryParamsDTO customNewsQueryParamsDTO)
customNewsQueryParamsDTO - List<GxYyCustomNews> getByParentIsNull()
List<GxYyCustomNews> listByIds(List<String> parentIdList)
parentIdList - Copyright © 2025. All rights reserved.