fix: 81770 年度制修订计划--导入--列表变更状态应该都是新增
This commit is contained in:
+1
-3
@@ -547,15 +547,13 @@ public class ProcessEsAnnualInitServiceImpl extends ServiceImpl<ProcessEsAnnualI
|
|||||||
String curYearNumber = String.valueOf(date.get(Calendar.YEAR));
|
String curYearNumber = String.valueOf(date.get(Calendar.YEAR));
|
||||||
item.setDecadeCode(curYearNumber);
|
item.setDecadeCode(curYearNumber);
|
||||||
}
|
}
|
||||||
// 设置变更状态 制定是新增 修订是变更
|
|
||||||
item.setChangeStatus(ESPChangeType.ADD.getValue());
|
|
||||||
} else {
|
} else {
|
||||||
item.setChangeStatus(ESPChangeType.CHANGE.getValue());
|
|
||||||
List<LawsEnterpriseStandard> esList = esMap.get(item.getOriginEnStandardNo());
|
List<LawsEnterpriseStandard> esList = esMap.get(item.getOriginEnStandardNo());
|
||||||
if (esList != null && !esList.isEmpty()) {
|
if (esList != null && !esList.isEmpty()) {
|
||||||
item.setOriginEnStandardName(esList.get(0).getStandardName());
|
item.setOriginEnStandardName(esList.get(0).getStandardName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
item.setChangeStatus(ESPChangeType.ADD.getValue());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-3
@@ -450,15 +450,13 @@ public class ProcessEsAnnualReportServiceImpl extends ServiceImpl<ProcessEsAnnua
|
|||||||
String curYearNumber = String.valueOf(date.get(Calendar.YEAR));
|
String curYearNumber = String.valueOf(date.get(Calendar.YEAR));
|
||||||
item.setDecadeCode(curYearNumber);
|
item.setDecadeCode(curYearNumber);
|
||||||
}
|
}
|
||||||
// 设置变更状态 制定是新增 修订是变更
|
|
||||||
item.setChangeStatus(ESPChangeType.ADD.getValue());
|
|
||||||
} else {
|
} else {
|
||||||
item.setChangeStatus(ESPChangeType.CHANGE.getValue());
|
|
||||||
List<LawsEnterpriseStandard> esList = esMap.get(item.getOriginEnStandardNo());
|
List<LawsEnterpriseStandard> esList = esMap.get(item.getOriginEnStandardNo());
|
||||||
if (esList != null && !esList.isEmpty()) {
|
if (esList != null && !esList.isEmpty()) {
|
||||||
item.setOriginEnStandardName(esList.get(0).getStandardName());
|
item.setOriginEnStandardName(esList.get(0).getStandardName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
item.setChangeStatus(ESPChangeType.ADD.getValue());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user