Pārlūkot izejas kodu

pasture: 集团账号下发

Yi 1 gadu atpakaļ
vecāks
revīzija
992ec960d4
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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"`