diff --git a/src/main/java/io/v/nutz/zhgh/therapyRecuperation/service/impl/TheRapyRecuperationEnrollServiceImpl.java b/src/main/java/io/v/nutz/zhgh/therapyRecuperation/service/impl/TheRapyRecuperationEnrollServiceImpl.java index 7abf2d8..c89670b 100644 --- a/src/main/java/io/v/nutz/zhgh/therapyRecuperation/service/impl/TheRapyRecuperationEnrollServiceImpl.java +++ b/src/main/java/io/v/nutz/zhgh/therapyRecuperation/service/impl/TheRapyRecuperationEnrollServiceImpl.java @@ -1018,6 +1018,16 @@ public class TheRapyRecuperationEnrollServiceImpl extends ViServiceImpl 0) { + return Map.of(false, "报名时间已过,抱歉不能报名"); + } + Map oneYear = this.validCountOneYear(loginName, travelFrequency, editOther); if (oneYear != null) { return oneYear; diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 468b60c..d647ebd 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -15,9 +15,9 @@ jetty.staticPathLocal=G:/zhgh/zhgh_hmc/src/main/resources/static nutz.mvc.ignore=^(.+[.])(jsp|png|gif|jpg|js|css|jspx|jpeg|html|mp3|mp4|ico|svg)$ nutz.mvc.exclusions=/favicon/*,/assets/*,/druid/*,/upload/* ftp.enabled=true -ftp.host=192.168.21.203 -ftp.port=9090 -ftp.username=ftpuser +ftp.host=127.0.0.1 +ftp.port=21 +ftp.username=ftp_user ftp.password=123456 ftp.timeout=100 redis.host=127.0.0.1 @@ -35,10 +35,12 @@ redis.pool.minIdle=10 redis.mode=normal #redis.nodes=192.168.6.31:6377,192.168.6.31:6378,192.168.6.28:6377,192.168.6.28:6378,192.168.6.34:6377,192.168.6.34:6378 jdbc.url=jdbc:mysql://127.0.0.1:3306/zhgh_hmc?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true +#jdbc.url=jdbc:mysql://10.112.101.15:3306/zhgh_hmc?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true #jdbc.driver=dm.jdbc.driver.DmDriver #jdbc.url=jdbc:dm://127.0.0.1:5236?databaseProductName=dm mysql&compatibleMode=mysql jdbc.username=root jdbc.password=123456 +#jdbc.password=mysql_Cb5XrP jdbc.validationQuery=select 1 jdbc.maxActive=500 jdbc.testWhileIdle=true diff --git a/src/main/resources/views/platform/theRapyRecuperation/signUp/index.html b/src/main/resources/views/platform/theRapyRecuperation/signUp/index.html index eecf76e..8e32e29 100644 --- a/src/main/resources/views/platform/theRapyRecuperation/signUp/index.html +++ b/src/main/resources/views/platform/theRapyRecuperation/signUp/index.html @@ -271,13 +271,14 @@ layout("/layouts/platform.html"){