mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -43,7 +43,7 @@ public class PicTransferTest {
|
||||
}
|
||||
|
||||
private static void save(final ResultSet rs) throws SQLException{
|
||||
final String destDir = "d:/test/pic";
|
||||
final String destDir = "d:/test/shape";
|
||||
final String path = StrUtil.format("{}/{}-{}.jpg", destDir, rs.getString("NAME"), rs.getString("GROUP"));
|
||||
FileUtil.copy(rs.getBlob("PIC").getBinaryStream(), FileUtil.file(path));
|
||||
}
|
||||
|
Reference in New Issue
Block a user