update ossean

This commit is contained in:
ronger 2017-10-16 13:20:54 +08:00
parent 5bea7b0704
commit 536b2809b7
1 changed files with 7 additions and 3 deletions

View File

@ -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;