|
|
@@ -1030,7 +1030,7 @@ public class ProjectDeclarationService extends BaseService<ProjectDeclaration> {
|
|
|
ProjectDeclaration declaration = findById(projectApplication.getDeclaration_id());
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
|
|
int year = LocalDateTime.parse(declaration.getApply_startdate(), formatter).getYear();
|
|
|
- if (year == 2019) return refactorPass(projectId, comment);
|
|
|
+ if (year >= 2019) return refactorPass(projectId, comment);
|
|
|
|
|
|
Approval approval = approvalDao.getLatestApproval(projectId, Constant.DictionaryType.PROJECT_APPLICATION);
|
|
|
Approval a = new Approval();
|