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