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