From 3e2efe16950340bd6c71605b0f1e036199659f69 Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Thu, 29 Apr 2021 11:51:29 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' # Conflicts: # src/main/resources/static/assets/images/backgrounds/1.jpg # src/main/resources/static/assets/images/backgrounds/2.jpg # src/main/resources/static/assets/images/backgrounds/3.jpg # src/main/resources/static/assets/images/backgrounds/4.jpg # src/main/resources/static/assets/images/backgrounds/5.jpg # src/main/resources/static/assets/images/backgrounds/6.jpg # src/main/resources/static/assets/images/backgrounds/7.jpg # src/main/resources/static/assets/images/backgrounds/8.jpg # src/main/resources/static/assets/images/backgrounds/9.jpg # src/main/resources/static/assets/js/dialog.js # src/main/resources/static/assets/js/vendor/ckplayer/ckplayer/ckplayer.js # src/main/resources/static/assets/js/vendor/ueditor/lang/zh-cn/images/localimage.png # src/main/resources/static/assets/js/vendor/ueditor/themes/default/css/ueditor.css # src/main/resources/static/assets/js/vendor/ueditor/themes/default/css/ueditor.min.css # src/main/resources/static/assets/js/vendor/ueditor/themes/iframe.css # src/main/resources/static/assets/js/vendor/ueditor/ueditor.config.js # src/main/resources/static/assets/layuiadmin/config.js # src/main/resources/static/assets/layuiadmin/layui/lay/modules/form.js # src/main/resources/static/assets/layuiadmin/lib/admin.js # src/main/resources/static/assets/layuiadmin/modules/common.js # src/main/resources/static/assets/layuiadmin/modules/dialog.js # src/main/resources/static/assets/layuiadmin/modules/restajax.js # src/main/resources/static/assets/layuiadmin/style/admin.css # src/main/resources/static/assets/layuiadmin/style/login.css # src/main/resources/static/default.html --- .../InstitutionRouteController.java | 4 + .../dao/institution/IInstitutionDao.java | 7 +- .../impl/InstitutionServiceImpl.java | 13 +- .../mapper/institution/institution-mapper.xml | 8 +- .../templates/baidumap/map-baidu.html | 275 ++++++++++++++++++ .../templates/institution/list.html | 0 .../templates/institution/save.html | 45 ++- .../templates/institution/update.html | 0 8 files changed, 323 insertions(+), 29 deletions(-) create mode 100644 module-institution-management/src/main/resources/templates/baidumap/map-baidu.html rename module-institution-management/src/main/resources/{mybatis => }/templates/institution/list.html (100%) rename module-institution-management/src/main/resources/{mybatis => }/templates/institution/save.html (93%) rename module-institution-management/src/main/resources/{mybatis => }/templates/institution/update.html (100%) diff --git a/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/controller/route/institution/InstitutionRouteController.java b/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/controller/route/institution/InstitutionRouteController.java index 47e965a..12aeaab 100644 --- a/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/controller/route/institution/InstitutionRouteController.java +++ b/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/controller/route/institution/InstitutionRouteController.java @@ -39,4 +39,8 @@ public class InstitutionRouteController extends DefaultBaseController { return new ModelAndView("institution/list"); } + @GetMapping("baidumap") + public ModelAndView baiDuMap(){return new ModelAndView("baidumap/map-baidu.html");} + + } \ No newline at end of file diff --git a/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/dao/institution/IInstitutionDao.java b/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/dao/institution/IInstitutionDao.java index b31d769..e5a720e 100644 --- a/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/dao/institution/IInstitutionDao.java +++ b/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/dao/institution/IInstitutionDao.java @@ -1,12 +1,13 @@ package cn.com.tenlion.institutionmanagement.dao.institution; +import cn.com.tenlion.institutionmanagement.pojo.bos.institution.InstitutionBO; +import cn.com.tenlion.institutionmanagement.pojo.dtos.institution.InstitutionDTO; +import cn.com.tenlion.institutionmanagement.pojo.pos.institution.InstitutionPO; import ink.wgink.exceptions.RemoveException; import ink.wgink.exceptions.SaveException; import ink.wgink.exceptions.SearchException; import ink.wgink.exceptions.UpdateException; -import cn.com.tenlion.pojo.bos.institution.InstitutionBO; -import cn.com.tenlion.pojo.pos.institution.InstitutionPO; -import cn.com.tenlion.pojo.dtos.institution.InstitutionDTO; + import org.springframework.stereotype.Repository; import java.util.List; diff --git a/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/service/institution/impl/InstitutionServiceImpl.java b/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/service/institution/impl/InstitutionServiceImpl.java index fa1a9b1..11e55af 100644 --- a/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/service/institution/impl/InstitutionServiceImpl.java +++ b/module-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/service/institution/impl/InstitutionServiceImpl.java @@ -1,17 +1,18 @@ package cn.com.tenlion.institutionmanagement.service.institution.impl; +import cn.com.tenlion.institutionmanagement.dao.institution.IInstitutionDao; +import cn.com.tenlion.institutionmanagement.pojo.bos.institution.InstitutionBO; +import cn.com.tenlion.institutionmanagement.pojo.dtos.institution.InstitutionDTO; +import cn.com.tenlion.institutionmanagement.pojo.pos.institution.InstitutionPO; +import cn.com.tenlion.institutionmanagement.pojo.vos.institution.InstitutionVO; +import cn.com.tenlion.institutionmanagement.service.institution.IInstitutionService; import ink.wgink.common.base.DefaultBaseService; import ink.wgink.pojo.ListPage; import ink.wgink.pojo.result.SuccessResult; import ink.wgink.pojo.result.SuccessResultList; import ink.wgink.util.map.HashMapUtil; import ink.wgink.util.UUIDUtil; -import cn.com.tenlion.dao.institution.IInstitutionDao; -import cn.com.tenlion.pojo.dtos.institution.InstitutionDTO; -import cn.com.tenlion.pojo.vos.institution.InstitutionVO; -import cn.com.tenlion.pojo.bos.institution.InstitutionBO; -import cn.com.tenlion.pojo.pos.institution.InstitutionPO; -import cn.com.tenlion.service.institution.IInstitutionService; + import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import org.apache.commons.lang3.StringUtils; diff --git a/module-institution-management/src/main/resources/mybatis/mapper/institution/institution-mapper.xml b/module-institution-management/src/main/resources/mybatis/mapper/institution/institution-mapper.xml index a3c64ba..d8c6126 100644 --- a/module-institution-management/src/main/resources/mybatis/mapper/institution/institution-mapper.xml +++ b/module-institution-management/src/main/resources/mybatis/mapper/institution/institution-mapper.xml @@ -1,8 +1,8 @@ - + - + @@ -22,7 +22,7 @@ - + @@ -45,7 +45,7 @@ - + diff --git a/module-institution-management/src/main/resources/templates/baidumap/map-baidu.html b/module-institution-management/src/main/resources/templates/baidumap/map-baidu.html new file mode 100644 index 0000000..0137699 --- /dev/null +++ b/module-institution-management/src/main/resources/templates/baidumap/map-baidu.html @@ -0,0 +1,275 @@ + + + + + + + + + + + + + + + + + +
+
+
+ +
+ + + + +
+
+
+ +
+
+
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/module-institution-management/src/main/resources/mybatis/templates/institution/list.html b/module-institution-management/src/main/resources/templates/institution/list.html similarity index 100% rename from module-institution-management/src/main/resources/mybatis/templates/institution/list.html rename to module-institution-management/src/main/resources/templates/institution/list.html diff --git a/module-institution-management/src/main/resources/mybatis/templates/institution/save.html b/module-institution-management/src/main/resources/templates/institution/save.html similarity index 93% rename from module-institution-management/src/main/resources/mybatis/templates/institution/save.html rename to module-institution-management/src/main/resources/templates/institution/save.html index 864a713..588acbb 100644 --- a/module-institution-management/src/main/resources/mybatis/templates/institution/save.html +++ b/module-institution-management/src/main/resources/templates/institution/save.html @@ -10,6 +10,14 @@ +
@@ -64,22 +72,12 @@
-
+
- -
-
-
- -
- -
-
-
- -
- + + +
@@ -101,7 +99,7 @@
- +