csx 3 years ago
parent
commit
7b7657af34
1 changed files with 3 additions and 3 deletions
  1. 3 3
      service/bl_service.go

+ 3 - 3
service/bl_service.go View File

544
 			info.ResultDate = time.Now().Unix()
544
 			info.ResultDate = time.Now().Unix()
545
 			writeMiddleDb.Save(&info)
545
 			writeMiddleDb.Save(&info)
546
 			//插入到系统检验检查数据
546
 			//插入到系统检验检查数据
547
-			//for _, item  := range list{}
548
 			for _, item := range list {
547
 			for _, item := range list {
548
+				fmt.Println(item)
549
 
549
 
550
 				project_id := int64(0)
550
 				project_id := int64(0)
551
-				if len(item.Barcode) > 0 {
551
+				if len("180") > 0 {
552
 					project_id, _ = GetGzjhProjectID(org_id, item.Groupname)
552
 					project_id, _ = GetGzjhProjectID(org_id, item.Groupname)
553
 				} else {
553
 				} else {
554
 					continue
554
 					continue
555
 				}
555
 				}
556
-				printInfo, _ := GetHisLabelPrintInfoById(item.Barcode)
556
+				printInfo, _ := GetHisLabelPrintInfoById("180")
557
 
557
 
558
 				item_id, _ := GetItemID(org_id, item.Groupname, item.Itemname, project_id)
558
 				item_id, _ := GetItemID(org_id, item.Groupname, item.Itemname, project_id)
559
 
559