Parcourir la source

供应商模块保存和更改接口改动

mainqaq il y a 3 ans
Parent
révision
fcf47bd0e7
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      controllers/supply_order_api_contorller.go

+ 2 - 2
controllers/supply_order_api_contorller.go Voir le fichier

253
 			if len(thisStockIn) == 1 {
253
 			if len(thisStockIn) == 1 {
254
 				for _, item := range thisStockIn {
254
 				for _, item := range thisStockIn {
255
 					items := item.(map[string]interface{})
255
 					items := item.(map[string]interface{})
256
-					items["Isfirst"] = 1
256
+					items["isfirst"] = 1
257
 				}
257
 				}
258
 			}
258
 			}
259
 			tmodify := this.GetAdminUserInfo().AdminUser.Id
259
 			tmodify := this.GetAdminUserInfo().AdminUser.Id
435
 			if len(thisStockIn) == 1 {
435
 			if len(thisStockIn) == 1 {
436
 				for _, item := range thisStockIn {
436
 				for _, item := range thisStockIn {
437
 					items := item.(map[string]interface{})
437
 					items := item.(map[string]interface{})
438
-					items["Isfirst"] = 1
438
+					items["isfirst"] = 1
439
 				}
439
 				}
440
 			}
440
 			}
441
 			tcreater := this.GetAdminUserInfo().AdminUser.Id
441
 			tcreater := this.GetAdminUserInfo().AdminUser.Id