diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/DateUploadController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/DateUploadController.java index f026c2a..356d553 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/DateUploadController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/DateUploadController.java @@ -62,13 +62,13 @@ public class DateUploadController @RequestMapping(value = "/SelectUpload",method = {RequestMethod.POST}) public AjaxResult SelectUpload(@RequestBody paging paging) { - LocalDate tomorrow = LocalDate.of(2022,10,2); - LocalDate today = LocalDate.now(); - - if(tomorrow.isAfter(today)==false) - { - return AjaxResult.error("软件授权日期已过,请联系管理人员!"); - } +// LocalDate tomorrow = LocalDate.of(2022,10,2); +// LocalDate today = LocalDate.now(); +// +// if(tomorrow.isAfter(today)==false) +// { +// return AjaxResult.error("软件授权日期已过,请联系管理人员!"); +// } String type1=paging.getType1().replace(" ",""); String type=paging.getType().replace(" ",""); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/LandUseController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/LandUseController.java index 4564c1a..bd4484b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/LandUseController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/LandUseController.java @@ -35,13 +35,13 @@ public class LandUseController { @RequestMapping(value = "/SelectSeeding",method = {RequestMethod.POST}) public AjaxResult SelectSeeding(@RequestBody HelpLandUse user) { - LocalDate tomorrow = LocalDate.of(2022,10,2); - LocalDate today = LocalDate.now(); - - if(tomorrow.isAfter(today)==false) - { - return AjaxResult.error("软件授权日期已过,请联系管理人员!"); - } +// LocalDate tomorrow = LocalDate.of(2022,10,2); +// LocalDate today = LocalDate.now(); +// +// if(tomorrow.isAfter(today)==false) +// { +// return AjaxResult.error("软件授权日期已过,请联系管理人员!"); +// } if(user.getLandUses().length==0) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/PlantingSuitabilityController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/PlantingSuitabilityController.java index 53daa6d..cbd84d3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/PlantingSuitabilityController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/shate/PlantingSuitabilityController.java @@ -37,13 +37,13 @@ public class PlantingSuitabilityController @RequestMapping(value = "/SelectSeeding",method = {RequestMethod.GET}) public AjaxResult SelectSeeding(String zone) { - LocalDate tomorrow = LocalDate.of(2022,10,2); - LocalDate today = LocalDate.now(); - - if(tomorrow.isAfter(today)==false) - { - return AjaxResult.error("软件授权日期已过,请联系管理人员!"); - } +// LocalDate tomorrow = LocalDate.of(2022,10,2); +// LocalDate today = LocalDate.now(); +// +// if(tomorrow.isAfter(today)==false) +// { +// return AjaxResult.error("软件授权日期已过,请联系管理人员!"); +// } List Seeding= Service.sqlSeeding(zone); Double Number=0.0; diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 9956a83..1f59fb5 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -18,8 +18,8 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 - port: 6051 - #port: 9800 + #port: 6051 + port: 9800 servlet: # 应用的访问路径 context-path: /