zwl 5 vuotta sitten
vanhempi
commit
f10a3e3363
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      controllers/erms3/spotContract.go

+ 2 - 2
controllers/erms3/spotContract.go

@@ -56,7 +56,7 @@ type SoptContractDetail struct {
 	DeliveryGoodsName    string           `json:"deliverygoodsname"`                  // 现货品种名称
 	DeliveryGoodsDesc    string           `json:"deliverygoodsdesc"`                  // 现货品种说明
 	WarehouseID          int32            `json:"warehouseid" binding:"required"`     // 仓库ID
-	WarehouseName        int32            `json:"warehousename"`                      // 仓库名称
+	WarehouseName        string           `json:"warehousename"`                      // 仓库名称
 	UnitName             string           `json:"unitname" binding:"required"`        // 单位名称
 	PointDesc            string           `json:"pointdesc"`                          // 点价描述
 	SpotPriceOrderList   []SpotPriceOrder `json:"spotPriceOrderList"`                 // 定价列表
@@ -73,7 +73,7 @@ type SoptContractDetailSum struct {
 	DeliveryGoodsName     string           `json:"deliverygoodsname"`                  // 现货品种名称
 	DeliveryGoodsDesc     string           `json:"deliverygoodsdesc"`                  // 现货品种说明
 	WarehouseID           int32            `json:"warehouseid" binding:"required"`     // 仓库ID
-	WarehouseName         int32            `json:"warehousename"`                      // 仓库名称
+	WarehouseName         string           `json:"warehousename"`                      // 仓库名称
 	UnitName              string           `json:"unitname" binding:"required"`        // 单位名称
 	PointDesc             string           `json:"pointdesc"`                          // 点价描述
 	SpotPriceOrderList    []SpotPriceOrder `json:"spotPriceOrderList"`                 // 定价列表