ok: one path
1 parent 1ceb500 commit bdd5f3ac67c415725a1ef6e4fa6e746e4e61af6c
@hayashi hayashi authored on 27 Jan 2018
Showing 1 changed file
View
4
src/osm/jp/coverage/postoffice/Postoffice.java
}
}
}
if (idref != null) {
System.out.println("UPDATE "+ DbFuel.TABLE_NAME +" SET fixed1="+ score +" WHERE idref="+ idref +" and area=" + area);
System.out.println("UPDATE "+ DbPostoffice.TABLE_NAME +" SET fixed1="+ score +" WHERE idref="+ idref +" and area=" + area);
ps3.setInt(1, score);
ps3.setString(2, idref);
ps3.setInt(3, area);
ps3.executeUpdate();
}
}
}
 
System.out.println("UPDATE "+ DbFuel.TABLE_NAME +" SET up=1 WHERE (fixed<>fixed1) and (up=0)");
System.out.println("UPDATE "+ DbPostoffice.TABLE_NAME +" SET up=1 WHERE (fixed<>fixed1) and (up=0)");
ps5.executeUpdate();
}
}
}