Browse Source

fix:钢联

Roc 5 months ago
parent
commit
2a20d4908c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      services/data/edb_info.go

+ 2 - 0
services/data/edb_info.go

@@ -3236,6 +3236,7 @@ func GetMySteelSourceByEdbCode(edbCode string) (source int, item *data_manage.Ed
 		}
 		}
 		if tmpInfo != nil {
 		if tmpInfo != nil {
 			source = utils.DATA_SOURCE_MYSTEEL_CHEMICAL
 			source = utils.DATA_SOURCE_MYSTEEL_CHEMICAL
+			return
 		}
 		}
 	}
 	}
 
 
@@ -3250,6 +3251,7 @@ func GetMySteelSourceByEdbCode(edbCode string) (source int, item *data_manage.Ed
 		}
 		}
 		if tmpInfo != nil {
 		if tmpInfo != nil {
 			source = utils.DATA_SOURCE_GL
 			source = utils.DATA_SOURCE_GL
+			return
 		}
 		}
 	}
 	}