Compare commits
No commits in common. "b9695b66474759a936e9145f229f790a18e22b18" and "ca7ebdd29b0618949b8b44b48ac0d0017e0711bd" have entirely different histories.
b9695b6647
...
ca7ebdd29b
@ -56,8 +56,7 @@ public class ShipLastPositionSyncRepositoryImpl implements ShipLastPositionSyncR
|
||||
cargo_ton = ?,
|
||||
add_info = ?,
|
||||
sts_yn = ?,
|
||||
ancrg_yn = ?,
|
||||
mmsi_no = ?
|
||||
ancrg_yn = ?
|
||||
WHERE imo_no = ?
|
||||
""".formatted(getTableName());
|
||||
}
|
||||
@ -78,8 +77,7 @@ public class ShipLastPositionSyncRepositoryImpl implements ShipLastPositionSyncR
|
||||
tonnes_cargo = ?,
|
||||
extra_info = ?,
|
||||
in_sts = ?,
|
||||
on_berth = ?,
|
||||
mmsi = ?
|
||||
on_berth = ?
|
||||
WHERE lrno = ?;
|
||||
""";
|
||||
}
|
||||
@ -174,12 +172,7 @@ public class ShipLastPositionSyncRepositoryImpl implements ShipLastPositionSyncR
|
||||
// ancrg_yn ← onBerth (Boolean, null-safe)
|
||||
ps.setObject(idx++, entity.getOnBerth(), Types.BOOLEAN);
|
||||
|
||||
// mmsi_no ← mmsi (Long → 9자리 zero-padded String)
|
||||
ps.setString(idx++, entity.getMmsi() != null
|
||||
? String.format("%09d", entity.getMmsi()) : null);
|
||||
|
||||
// WHERE imo_no ← imoVerified (String)
|
||||
ps.setString(idx++, entity.getImoVerified());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user