Pārlūkot izejas kodu

测试word替换的问题

huZhiHao 5 gadi atpakaļ
vecāks
revīzija
0b86efd80a

+ 1 - 1
src/main/java/platform/modules/government/service/ProjectDeclarationService.java

@@ -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();