查询id范围


  1. dao := NewDbtestDao()
  2. param := torm.ParamRange{101,201}
  3. lists, err := dao.Get(param)
  4. if err != nil {
  5. return err
  6. }