Просмотр исходного кода

Merge branch 'feature/tmr-group' of baishaojie/tmrgo into develop

xuyiping 1 год назад
Родитель
Сommit
e39b9691cd
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      models/pasture.go

+ 2 - 2
models/pasture.go

@@ -2,8 +2,8 @@ package models
 
 type Pasture struct {
 	PastureId   int64  `xorm:"pastureid"`
-	PastureCode string `xorm:"pasture_Code"`
-	PastureName string `xorm:"pasture_Name"`
+	PastureCode string `xorm:"pasture_code"`
+	PastureName string `xorm:"pasture_name"`
 	GroupsId    int64  `xorm:"groupsid"`
 	User        string `xorm:"user"`
 	Note        string `xorm:"note"`