feat: 调整cdr数据查询
This commit is contained in:
@@ -18,8 +18,8 @@ type Alarm struct {
|
||||
}
|
||||
|
||||
// SelectPage 根据条件分页查询
|
||||
func (r *Alarm) SelectPage(querys model.AlarmQuery) map[string]any {
|
||||
return r.alarmRepository.SelectPage(querys)
|
||||
func (r *Alarm) SelectPage(querys model.AlarmQuery) ([]model.Alarm, int64) {
|
||||
return r.alarmRepository.SelectByPage(querys)
|
||||
}
|
||||
|
||||
// DeleteByIds 批量删除信息
|
||||
|
||||
Reference in New Issue
Block a user