feat: 调整cdr数据查询

This commit is contained in:
TsMask
2024-12-20 16:34:36 +08:00
parent 7710d3cd81
commit 4c57fe2c85
19 changed files with 474 additions and 759 deletions

View File

@@ -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 批量删除信息