|
@@ -257,10 +257,11 @@ public class ArchiveAutoRuleSyncImpl {
|
|
//1.通过fromid找出项目级
|
|
//1.通过fromid找出项目级
|
|
ArchiveTreeVO2 proTreeVO2 = proMap.get(fromId);
|
|
ArchiveTreeVO2 proTreeVO2 = proMap.get(fromId);
|
|
//2.获取项目级groupID
|
|
//2.获取项目级groupID
|
|
- Long pro_groupId = proTreeVO2.getArchiveAutoGroupId();
|
|
|
|
- if (pro_groupId == null) {
|
|
|
|
|
|
+ if (proTreeVO2 == null ||proTreeVO2.getArchiveAutoGroupId() == null) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
|
|
+ Long pro_groupId = proTreeVO2.getArchiveAutoGroupId();
|
|
|
|
+
|
|
//3.,那么保存到集合 合同段ID_项目级groupID,客户级groupID
|
|
//3.,那么保存到集合 合同段ID_项目级groupID,客户级groupID
|
|
Long contractId = contractVO2.getContractId();
|
|
Long contractId = contractVO2.getContractId();
|
|
if (contractId != null) {
|
|
if (contractId != null) {
|