فهرست منبع

fix(设备附加费): model修改

likai 4 سال پیش
والد
کامیت
1e39ed4185
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      model/equipment/instrument.go

+ 2 - 2
model/equipment/instrument.go

@@ -30,8 +30,8 @@ type SearchEntity struct {
 	InstrType               int         `orm:"InstrType"               json:"instr_type"`                 // 设备类别
 	InstrTypeStr            string      `orm:"-"                       json:"-"           excel:"设备类别"`   // 设备类别
 	Brand                   string      `orm:"Brand"                   json:"brand"       excel:"设备品牌"`   // 设备品牌
-	Belongs                 int         `orm:"Belongs"                 json:"belongs"`                             // 设备所属 1内部 2外部
-	BelongsName             string      `orm:"BelongsName"             json:"belongs_name"`                  // 设备所属名称
+	Belongs                 int         `orm:"Belongs"  			   json:"belongs"`                             // 设备所属 1内部 2外部
+	BelongsName             string      `orm:"BelongsName"      	   json:"belongs_name"`                  // 设备所属名称
 	Rate                    int         `orm:"Rate"                    json:"rate"`                       // 优惠比例
 	UnitCount               float64     `orm:"UnitCount"               json:"unit_count"`                 // 计费单价
 	FactoryNum              string      `orm:"FactoryNum"              json:"factory_num" excel:"出厂编号"`   // 出厂编号