|
@@ -1022,8 +1022,8 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
|
|
|
for (ContractInfo c : contracts) {
|
|
|
if (c.getContractType() == 3) {
|
|
|
Integer storagePeriod = c.getStoragePeriod();
|
|
|
- if (storagePeriod == null) {
|
|
|
- storageTime = "30";
|
|
|
+ if (storagePeriod == null || storagePeriod == -1) {
|
|
|
+ storageTime = "2";
|
|
|
} else {
|
|
|
storageTime = storagePeriod.toString();
|
|
|
}
|
|
@@ -1053,7 +1053,7 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
|
|
|
}
|
|
|
for (ContractInfo c : contracts) {
|
|
|
if (c.getContractType() == 3) {
|
|
|
- if (c.getSecurityLevel() == null) {
|
|
|
+ if (c.getSecurityLevel() == null || c.getSecurityLevel() == -1) {
|
|
|
secretLevel = "4";
|
|
|
} else {
|
|
|
secretLevel = c.getSecurityLevel().toString();
|