This commit is contained in:
@@ -22,7 +22,7 @@ func NewMapService() *MapService {
|
||||
|
||||
func (s *MapService) GetData(p1 uint32) (ret *model.MapConfig) {
|
||||
//cacheKey := strings.Join([]string{fmt.Sprintf("%d", p1), fmt.Sprintf("%d", p2)}, ":")
|
||||
m := dbm_enable(s.Model)
|
||||
m := dbm_notenable(s.Model)
|
||||
|
||||
m.Wheref(`male_pet_ids @> ARRAY[?]::integer[]`, p1).Scan(&ret)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user