Merge branch 'main-v2' into lite-ba
This commit is contained in:
@@ -21,7 +21,7 @@ type UEEvent struct{}
|
||||
func (r UEEvent) SelectByPage(neType string, query map[string]string) ([]model.UEEvent, int64) {
|
||||
// 表名
|
||||
tableName := fmt.Sprintf("ue_event_%s", strings.ToLower(neType))
|
||||
tx := db.DB("").Table(tableName).Model(&model.CDREvent{})
|
||||
tx := db.DB("").Table(tableName).Model(&model.UEEvent{})
|
||||
// 查询条件拼接
|
||||
if v, ok := query["rmUID"]; ok && v != "" {
|
||||
tx = tx.Where("rm_uid = ?", v)
|
||||
|
||||
Reference in New Issue
Block a user