|
@@ -224,7 +224,7 @@ public class ArchiveOfflineVersionInfoServiceImpl extends BaseServiceImpl<Archiv
|
|
pstm.setLong(1, auto.getId());
|
|
pstm.setLong(1, auto.getId());
|
|
pstm.setLong(2, auto.getProjectId());
|
|
pstm.setLong(2, auto.getProjectId());
|
|
pstm.setString(3, auto.getName());
|
|
pstm.setString(3, auto.getName());
|
|
- pstm.setString(4, auto.getFileNumber());
|
|
|
|
|
|
+ pstm.setString(4, auto.getFileNumber() == null ? "" :auto.getFileNumber());
|
|
pstm.setString(5, auto.getUnit());
|
|
pstm.setString(5, auto.getUnit());
|
|
pstm.setString(6, auto.getStorageTime());
|
|
pstm.setString(6, auto.getStorageTime());
|
|
pstm.setInt(7, auto.getIsArchive() == null ? 0 : 1);
|
|
pstm.setInt(7, auto.getIsArchive() == null ? 0 : 1);
|