|
@@ -210,7 +210,7 @@ func (this *MachineApiController) SaveManageInfo() {
|
210
|
210
|
DeviceName: device_name,
|
211
|
211
|
ManufactureFactory: manufacture_factory,
|
212
|
212
|
ServiceManufacturer: service_manufacturer,
|
213
|
|
- UnitType: unit_type,
|
|
213
|
+ UnitType: unittype,
|
214
|
214
|
UseSection: use_section,
|
215
|
215
|
SectionNumber: section_number,
|
216
|
216
|
BuyDate: buydate,
|
|
@@ -294,8 +294,8 @@ func (this *MachineApiController) UpdateMachineInfo() {
|
294
|
294
|
//fmt.Println("生产厂家", manufacture_factory)
|
295
|
295
|
service_manufacturer := dataBody["service_manufacturer"].(string)
|
296
|
296
|
//fmt.Println("维修厂家", service_manufacturer)
|
297
|
|
- unittype := int64(dataBody["unit_type"].(float64))
|
298
|
|
- unit_type := strconv.FormatInt(unittype, 10)
|
|
297
|
+ unit_type := int64(dataBody["unit_type"].(float64))
|
|
298
|
+ //unit_type := strconv.FormatInt(unittype, 10)
|
299
|
299
|
fmt.Println("设备型号", unit_type)
|
300
|
300
|
|
301
|
301
|
use_section := dataBody["use_section"].(string)
|
|
@@ -435,8 +435,8 @@ func (this *MachineApiController) UpdateMachinetwo() {
|
435
|
435
|
//fmt.Println("生产厂家", manufacture_factory)
|
436
|
436
|
service_manufacturer := dataBody["service_manufacturer"].(string)
|
437
|
437
|
//fmt.Println("维修厂家", service_manufacturer)
|
438
|
|
- unittype := int64(dataBody["unit_type"].(float64))
|
439
|
|
- unit_type := strconv.FormatInt(unittype, 10)
|
|
438
|
+ unit_type := int64(dataBody["unit_type"].(float64))
|
|
439
|
+ //unit_type := strconv.FormatInt(unittype, 10)
|
440
|
440
|
//fmt.Println("设备型号", unit_type)
|
441
|
441
|
use_section := dataBody["use_section"].(string)
|
442
|
442
|
//fmt.Println("使用科室", use_section)
|
|
@@ -568,7 +568,7 @@ func (this *MachineApiController) Updatemacheinetwo() {
|
568
|
568
|
service_manufacturer := dataBody["service_manufacturer"].(string)
|
569
|
569
|
//fmt.Println("维修厂家", service_manufacturer)
|
570
|
570
|
unittype := int64(dataBody["unit_type"].(float64))
|
571
|
|
- unit_type := strconv.FormatInt(unittype, 10)
|
|
571
|
+ //unit_type := strconv.FormatInt(unittype, 10)
|
572
|
572
|
//fmt.Println("设备型号", unit_type)
|
573
|
573
|
use_section := dataBody["use_section"].(string)
|
574
|
574
|
//fmt.Println("使用科室", use_section)
|
|
@@ -635,7 +635,7 @@ func (this *MachineApiController) Updatemacheinetwo() {
|
635
|
635
|
DeviceName: device_name,
|
636
|
636
|
ManufactureFactory: manufacture_factory,
|
637
|
637
|
ServiceManufacturer: service_manufacturer,
|
638
|
|
- UnitType: unit_type,
|
|
638
|
+ UnitType: unittype,
|
639
|
639
|
UseSection: use_section,
|
640
|
640
|
SectionNumber: section_number,
|
641
|
641
|
BuyDate: buydate,
|
|
@@ -2651,9 +2651,9 @@ func (this *MachineApiController) SaveManageinfoTwo() {
|
2651
|
2651
|
fmt.Println("生产厂家", manufacture_factory)
|
2652
|
2652
|
service_manufacturer := dataBody["service_manufacturer"].(string)
|
2653
|
2653
|
fmt.Println("维修厂家", service_manufacturer)
|
2654
|
|
- unittype := int64(dataBody["unit_type"].(float64))
|
2655
|
|
- unit_type := strconv.FormatInt(unittype, 10)
|
2656
|
|
- fmt.Println("设备型号", unit_type)
|
|
2654
|
+ unit_type := int64(dataBody["unit_type"].(float64))
|
|
2655
|
+ //unit_type := strconv.FormatInt(unittype, 10)
|
|
2656
|
+ //fmt.Println("设备型号", unit_type)
|
2657
|
2657
|
use_section := dataBody["use_section"].(string)
|
2658
|
2658
|
fmt.Println("使用科室", use_section)
|
2659
|
2659
|
section_number := dataBody["section_number"].(string)
|