Эх сурвалжийг харах

update batchCount support

animeic 1 жил өмнө
parent
commit
84d261df89

+ 3 - 3
boxcost/db/model/pack.go

@@ -66,9 +66,9 @@ type ComponentStage struct {
 	// 供应商信息
 	SupplierInfo *Supplier `bson:"supplierInfo,omitempty" json:"supplierInfo"`
 
-	BatchCount      int `bson:"batchCount,omitempty" json:"batchCount"`           //拼版数量
-	BatchSizeWidth  int `bson:"batchSizeWidth,omitempty" json:"batchSizeWidth"`   //平板尺寸
-	BatchSizeHeight int `bson:"batchSizeHeight,omitempty" json:"batchSizeHeight"` //平板尺寸
+	BatchCount      *float64 `bson:"batchCount,omitempty" json:"batchCount"`           //拼版数量
+	BatchSizeWidth  int      `bson:"batchSizeWidth,omitempty" json:"batchSizeWidth"`   //平板尺寸
+	BatchSizeHeight int      `bson:"batchSizeHeight,omitempty" json:"batchSizeHeight"` //平板尺寸
 
 	Remark     string    `bson:"remark,omitempty" json:"remark"`     //备注
 	Size       string    `bson:"size,omitempty" json:"size"`         //工艺尺寸