From 536b2809b7237d4b6c79d29777c6f06f767beb7f Mon Sep 17 00:00:00 2001 From: ronger <1207296860@qq.com> Date: Mon, 16 Oct 2017 13:20:54 +0800 Subject: [PATCH] update ossean --- .../main/java/com/ossean/match/matchprocess/Match.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/match_program/src/main/java/com/ossean/match/matchprocess/Match.java b/match_program/src/main/java/com/ossean/match/matchprocess/Match.java index ddb3dd6..4043076 100644 --- a/match_program/src/main/java/com/ossean/match/matchprocess/Match.java +++ b/match_program/src/main/java/com/ossean/match/matchprocess/Match.java @@ -201,12 +201,16 @@ public class Match { */ public static String getTargetTable(int ospId){ String targetTableName = ""; - if(ospId >= 770000){ + if(ospId >= 770000 && ospId <= 800000){ targetTableName = "relative_memo_to_open_source_projects_70"; } + else if(ospId > 800000 && ospId<78000000) { + int tmp = 71 + ospId%20; + targetTableName = "relative_memo_to_open_source_projects_" + tmp; + } else{ - int a = 1 + ospId/11000; - targetTableName = "relative_memo_to_open_source_projects_" + a; + int a = 1 + ospId/11000; + targetTableName = "relative_memo_to_open_source_projects_" + a; } return targetTableName;