Browse Source

提交代码

陈少旭 2 weeks ago
parent
commit
826f98dd5b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      service/stock_service.go

+ 2 - 0
service/stock_service.go View File

279
 		"zuobiao_id":                     goodInfo.Bbx01,
279
 		"zuobiao_id":                     goodInfo.Bbx01,
280
 		"first_letter":                   goodInfo.FirstLetter,
280
 		"first_letter":                   goodInfo.FirstLetter,
281
 		"is_show":                        goodInfo.IsShow,
281
 		"is_show":                        goodInfo.IsShow,
282
+		"is_zero_flag":                   goodInfo.IsZeroFlag,
282
 	}).Error
283
 	}).Error
283
 
284
 
284
 	writeDb.Model(&models.WarehousingInfo{}).Where("good_id = ? AND org_id = ?", goodInfo.ID, goodInfo.OrgId).Updates(map[string]interface{}{"good_type_id": goodInfo.GoodTypeId})
285
 	writeDb.Model(&models.WarehousingInfo{}).Where("good_id = ? AND org_id = ?", goodInfo.ID, goodInfo.OrgId).Updates(map[string]interface{}{"good_type_id": goodInfo.GoodTypeId})
1180
 	DoseUnit                    string  `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
1181
 	DoseUnit                    string  `gorm:"column:dose_unit" json:"dose_unit" form:"dose_unit"`
1181
 	DrugDay                     string  `gorm:"column:drug_day" json:"drug_day" form:"drug_day"`
1182
 	DrugDay                     string  `gorm:"column:drug_day" json:"drug_day" form:"drug_day"`
1182
 	MinPrice                    float64 `gorm:"column:min_price" json:"min_price" form:"min_price"`
1183
 	MinPrice                    float64 `gorm:"column:min_price" json:"min_price" form:"min_price"`
1184
+	IsZeroFlag                  int64   `gorm:"column:is_zero_flag" json:"is_zero_flag" form:"is_zero_flag"`
1183
 }
1185
 }
1184
 
1186
 
1185
 func (Drug) TableName() string {
1187
 func (Drug) TableName() string {