@Service(value="feedbackService") public class FeedbackServiceImpl extends Object implements FeedbackService
Constructor and Description |
---|
FeedbackServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
delete(Integer msgId)
根据主键删除
|
int |
deleteBatch(Integer[] msgIds)
根据主键批量删除
|
List<FeedbackEntity> |
queryList(Map<String,Object> map)
分页查询
|
FeedbackEntity |
queryObject(Integer msgId)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(FeedbackEntity feedback)
保存实体
|
int |
update(FeedbackEntity feedback)
根据主键更新实体
|
public FeedbackEntity queryObject(Integer msgId)
FeedbackService
queryObject
in interface FeedbackService
public List<FeedbackEntity> queryList(Map<String,Object> map)
FeedbackService
queryList
in interface FeedbackService
map
- 参数public int queryTotal(Map<String,Object> map)
FeedbackService
queryTotal
in interface FeedbackService
map
- 参数public int save(FeedbackEntity feedback)
FeedbackService
save
in interface FeedbackService
feedback
- 实体public int update(FeedbackEntity feedback)
FeedbackService
update
in interface FeedbackService
feedback
- 实体public int delete(Integer msgId)
FeedbackService
delete
in interface FeedbackService
public int deleteBatch(Integer[] msgIds)
FeedbackService
deleteBatch
in interface FeedbackService
Copyright © 2021. All rights reserved.