From 468a1406df91cef8ddb784d48d3bc7ac36f37af2 Mon Sep 17 00:00:00 2001 From: caozhaoxin <987927464@qq.con> Date: Wed, 12 May 2021 09:08:10 +0800 Subject: [PATCH] first commit --- .classpath | 33 + .gitignore | 1 + .idea/$PRODUCT_WORKSPACE_FILE$ | 19 + .idea/compiler.xml | 13 + .idea/encodings.xml | 8 + .idea/inspectionProfiles/Project_Default.xml | 6 + .idea/misc.xml | 20 + .idea/ssm74edv.iml | 2 + .idea/vcs.xml | 6 + .idea/workspace.xml | 282 + .project | 46 + .settings/.jsdtscope | 13 + .settings/org.eclipse.core.resources.prefs | 5 + .settings/org.eclipse.jdt.core.prefs | 9 + .settings/org.eclipse.m2e.core.prefs | 4 + .settings/org.eclipse.wst.common.component | 10 + ....eclipse.wst.common.project.facet.core.xml | 7 + ...rg.eclipse.wst.jsdt.ui.superType.container | 1 + .../org.eclipse.wst.jsdt.ui.superType.name | 1 + .settings/org.eclipse.wst.validation.prefs | 2 + db/ssm74edv.sql | 352 + pom.xml | 264 + .../java/com/annotation/APPLoginUser.java | 15 + src/main/java/com/annotation/IgnoreAuth.java | 13 + src/main/java/com/annotation/LoginUser.java | 15 + .../java/com/config/MyMetaObjectHandler.java | 28 + .../com/controller/CangkuxinxiController.java | 208 + .../controller/ChanpinchukuController.java | 208 + .../ChanpinkucunguanliController.java | 208 + .../com/controller/ChanpinrukuController.java | 208 + .../java/com/controller/CommonController.java | 258 + .../java/com/controller/ConfigController.java | 111 + .../java/com/controller/FileController.java | 83 + .../java/com/controller/UserController.java | 175 + .../java/com/controller/YonghuController.java | 285 + .../YuancailiaochukuController.java | 208 + .../YuancailiaokucunguanliController.java | 208 + .../controller/YuancailiaorukuController.java | 208 + src/main/java/com/dao/CangkuxinxiDao.java | 33 + src/main/java/com/dao/ChanpinchukuDao.java | 33 + .../java/com/dao/ChanpinkucunguanliDao.java | 33 + src/main/java/com/dao/ChanpinrukuDao.java | 33 + src/main/java/com/dao/CommonDao.java | 26 + src/main/java/com/dao/ConfigDao.java | 12 + src/main/java/com/dao/TokenDao.java | 22 + src/main/java/com/dao/UserDao.java | 22 + src/main/java/com/dao/YonghuDao.java | 33 + .../java/com/dao/YuancailiaochukuDao.java | 33 + .../com/dao/YuancailiaokucunguanliDao.java | 33 + src/main/java/com/dao/YuancailiaorukuDao.java | 33 + .../java/com/entity/CangkuxinxiEntity.java | 200 + .../java/com/entity/ChanpinchukuEntity.java | 202 + .../com/entity/ChanpinkucunguanliEntity.java | 166 + .../java/com/entity/ChanpinrukuEntity.java | 202 + src/main/java/com/entity/ConfigEntity.java | 53 + src/main/java/com/entity/EIException.java | 52 + src/main/java/com/entity/TokenEntity.java | 132 + src/main/java/com/entity/UserEntity.java | 77 + src/main/java/com/entity/YonghuEntity.java | 200 + .../com/entity/YuancailiaochukuEntity.java | 184 + .../entity/YuancailiaokucunguanliEntity.java | 166 + .../com/entity/YuancailiaorukuEntity.java | 184 + .../com/entity/model/CangkuxinxiModel.java | 157 + .../com/entity/model/ChanpinchukuModel.java | 159 + .../entity/model/ChanpinkucunguanliModel.java | 115 + .../com/entity/model/ChanpinrukuModel.java | 159 + .../java/com/entity/model/YonghuModel.java | 157 + .../entity/model/YuancailiaochukuModel.java | 137 + .../model/YuancailiaokucunguanliModel.java | 115 + .../entity/model/YuancailiaorukuModel.java | 137 + .../java/com/entity/view/CangkuxinxiView.java | 36 + .../com/entity/view/ChanpinchukuView.java | 36 + .../entity/view/ChanpinkucunguanliView.java | 36 + .../java/com/entity/view/ChanpinrukuView.java | 36 + src/main/java/com/entity/view/YonghuView.java | 36 + .../com/entity/view/YuancailiaochukuView.java | 36 + .../view/YuancailiaokucunguanliView.java | 36 + .../com/entity/view/YuancailiaorukuView.java | 36 + .../java/com/entity/vo/CangkuxinxiVO.java | 157 + .../java/com/entity/vo/ChanpinchukuVO.java | 159 + .../com/entity/vo/ChanpinkucunguanliVO.java | 115 + .../java/com/entity/vo/ChanpinrukuVO.java | 159 + src/main/java/com/entity/vo/YonghuVO.java | 157 + .../com/entity/vo/YuancailiaochukuVO.java | 137 + .../entity/vo/YuancailiaokucunguanliVO.java | 115 + .../java/com/entity/vo/YuancailiaorukuVO.java | 137 + .../interceptor/AuthorizationInterceptor.java | 88 + src/main/java/com/model/enums/TypeEnum.java | 31 + .../java/com/service/CangkuxinxiService.java | 36 + .../java/com/service/ChanpinchukuService.java | 36 + .../service/ChanpinkucunguanliService.java | 36 + .../java/com/service/ChanpinrukuService.java | 36 + src/main/java/com/service/CommonService.java | 20 + src/main/java/com/service/ConfigService.java | 16 + src/main/java/com/service/TokenService.java | 26 + src/main/java/com/service/UserService.java | 25 + src/main/java/com/service/YonghuService.java | 36 + .../com/service/YuancailiaochukuService.java | 36 + .../YuancailiaokucunguanliService.java | 36 + .../com/service/YuancailiaorukuService.java | 36 + .../service/impl/CangkuxinxiServiceImpl.java | 62 + .../service/impl/ChanpinchukuServiceImpl.java | 62 + .../impl/ChanpinkucunguanliServiceImpl.java | 62 + .../service/impl/ChanpinrukuServiceImpl.java | 62 + .../com/service/impl/CommonServiceImpl.java | 59 + .../com/service/impl/ConfigServiceImpl.java | 33 + .../com/service/impl/TokenServiceImpl.java | 79 + .../com/service/impl/UserServiceImpl.java | 49 + .../com/service/impl/YonghuServiceImpl.java | 62 + .../impl/YuancailiaochukuServiceImpl.java | 62 + .../YuancailiaokucunguanliServiceImpl.java | 62 + .../impl/YuancailiaorukuServiceImpl.java | 62 + src/main/java/com/utils/BaiduUtil.java | 96 + src/main/java/com/utils/CommonUtil.java | 22 + src/main/java/com/utils/FileUtil.java | 27 + src/main/java/com/utils/HttpClientUtils.java | 42 + src/main/java/com/utils/JQPageInfo.java | 54 + src/main/java/com/utils/MD5Util.java | 19 + src/main/java/com/utils/MPUtil.java | 184 + src/main/java/com/utils/PageUtils.java | 101 + src/main/java/com/utils/Query.java | 98 + src/main/java/com/utils/R.java | 51 + src/main/java/com/utils/SQLFilter.java | 42 + .../java/com/utils/SpringContextUtils.java | 43 + src/main/java/com/utils/ValidatorUtils.java | 39 + src/main/resources/config.properties | 10 + src/main/resources/doc/sys_user.sql | 41 + src/main/resources/log4j.properties | 19 + src/main/resources/mapper/CangkuxinxiDao.xml | 42 + src/main/resources/mapper/ChanpinchukuDao.xml | 42 + .../mapper/ChanpinkucunguanliDao.xml | 40 + src/main/resources/mapper/ChanpinrukuDao.xml | 42 + src/main/resources/mapper/CommonDao.xml | 56 + src/main/resources/mapper/ConfigDao.xml | 5 + src/main/resources/mapper/TokenDao.xml | 13 + src/main/resources/mapper/UserDao.xml | 13 + src/main/resources/mapper/YonghuDao.xml | 42 + .../resources/mapper/YuancailiaochukuDao.xml | 41 + .../mapper/YuancailiaokucunguanliDao.xml | 40 + .../resources/mapper/YuancailiaorukuDao.xml | 41 + src/main/resources/mybatis/mybatis-config.xml | 38 + src/main/resources/spring/spring-mvc.xml | 68 + src/main/resources/spring/spring-mybatis.xml | 137 + src/main/resources/spring/spring.xml | 14 + src/main/webapp/WEB-INF/web.xml | 68 + src/main/webapp/admin | 1 + .../resources/bootstrap/css/bootstrap.css | 6760 +++++++++++++++++ .../resources/bootstrap/css/bootstrap.css.map | 1 + .../resources/bootstrap/css/bootstrap.min.css | 6 + .../bootstrap/css/bootstrap.min.css.map | 1 + .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 + .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes .../resources/bootstrap/js/bootstrap.js | 2363 ++++++ .../resources/bootstrap/js/bootstrap.min.js | 7 + .../resources/jquery/jquery-2.2.3.min.js | 4 + src/main/webapp/upload/test.txt | 0 159 files changed, 20538 insertions(+) create mode 100644 .classpath create mode 100644 .gitignore create mode 100644 .idea/$PRODUCT_WORKSPACE_FILE$ create mode 100644 .idea/compiler.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/ssm74edv.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 .project create mode 100644 .settings/.jsdtscope create mode 100644 .settings/org.eclipse.core.resources.prefs create mode 100644 .settings/org.eclipse.jdt.core.prefs create mode 100644 .settings/org.eclipse.m2e.core.prefs create mode 100644 .settings/org.eclipse.wst.common.component create mode 100644 .settings/org.eclipse.wst.common.project.facet.core.xml create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.container create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 .settings/org.eclipse.wst.validation.prefs create mode 100644 db/ssm74edv.sql create mode 100644 pom.xml create mode 100644 src/main/java/com/annotation/APPLoginUser.java create mode 100644 src/main/java/com/annotation/IgnoreAuth.java create mode 100644 src/main/java/com/annotation/LoginUser.java create mode 100644 src/main/java/com/config/MyMetaObjectHandler.java create mode 100644 src/main/java/com/controller/CangkuxinxiController.java create mode 100644 src/main/java/com/controller/ChanpinchukuController.java create mode 100644 src/main/java/com/controller/ChanpinkucunguanliController.java create mode 100644 src/main/java/com/controller/ChanpinrukuController.java create mode 100644 src/main/java/com/controller/CommonController.java create mode 100644 src/main/java/com/controller/ConfigController.java create mode 100644 src/main/java/com/controller/FileController.java create mode 100644 src/main/java/com/controller/UserController.java create mode 100644 src/main/java/com/controller/YonghuController.java create mode 100644 src/main/java/com/controller/YuancailiaochukuController.java create mode 100644 src/main/java/com/controller/YuancailiaokucunguanliController.java create mode 100644 src/main/java/com/controller/YuancailiaorukuController.java create mode 100644 src/main/java/com/dao/CangkuxinxiDao.java create mode 100644 src/main/java/com/dao/ChanpinchukuDao.java create mode 100644 src/main/java/com/dao/ChanpinkucunguanliDao.java create mode 100644 src/main/java/com/dao/ChanpinrukuDao.java create mode 100644 src/main/java/com/dao/CommonDao.java create mode 100644 src/main/java/com/dao/ConfigDao.java create mode 100644 src/main/java/com/dao/TokenDao.java create mode 100644 src/main/java/com/dao/UserDao.java create mode 100644 src/main/java/com/dao/YonghuDao.java create mode 100644 src/main/java/com/dao/YuancailiaochukuDao.java create mode 100644 src/main/java/com/dao/YuancailiaokucunguanliDao.java create mode 100644 src/main/java/com/dao/YuancailiaorukuDao.java create mode 100644 src/main/java/com/entity/CangkuxinxiEntity.java create mode 100644 src/main/java/com/entity/ChanpinchukuEntity.java create mode 100644 src/main/java/com/entity/ChanpinkucunguanliEntity.java create mode 100644 src/main/java/com/entity/ChanpinrukuEntity.java create mode 100644 src/main/java/com/entity/ConfigEntity.java create mode 100644 src/main/java/com/entity/EIException.java create mode 100644 src/main/java/com/entity/TokenEntity.java create mode 100644 src/main/java/com/entity/UserEntity.java create mode 100644 src/main/java/com/entity/YonghuEntity.java create mode 100644 src/main/java/com/entity/YuancailiaochukuEntity.java create mode 100644 src/main/java/com/entity/YuancailiaokucunguanliEntity.java create mode 100644 src/main/java/com/entity/YuancailiaorukuEntity.java create mode 100644 src/main/java/com/entity/model/CangkuxinxiModel.java create mode 100644 src/main/java/com/entity/model/ChanpinchukuModel.java create mode 100644 src/main/java/com/entity/model/ChanpinkucunguanliModel.java create mode 100644 src/main/java/com/entity/model/ChanpinrukuModel.java create mode 100644 src/main/java/com/entity/model/YonghuModel.java create mode 100644 src/main/java/com/entity/model/YuancailiaochukuModel.java create mode 100644 src/main/java/com/entity/model/YuancailiaokucunguanliModel.java create mode 100644 src/main/java/com/entity/model/YuancailiaorukuModel.java create mode 100644 src/main/java/com/entity/view/CangkuxinxiView.java create mode 100644 src/main/java/com/entity/view/ChanpinchukuView.java create mode 100644 src/main/java/com/entity/view/ChanpinkucunguanliView.java create mode 100644 src/main/java/com/entity/view/ChanpinrukuView.java create mode 100644 src/main/java/com/entity/view/YonghuView.java create mode 100644 src/main/java/com/entity/view/YuancailiaochukuView.java create mode 100644 src/main/java/com/entity/view/YuancailiaokucunguanliView.java create mode 100644 src/main/java/com/entity/view/YuancailiaorukuView.java create mode 100644 src/main/java/com/entity/vo/CangkuxinxiVO.java create mode 100644 src/main/java/com/entity/vo/ChanpinchukuVO.java create mode 100644 src/main/java/com/entity/vo/ChanpinkucunguanliVO.java create mode 100644 src/main/java/com/entity/vo/ChanpinrukuVO.java create mode 100644 src/main/java/com/entity/vo/YonghuVO.java create mode 100644 src/main/java/com/entity/vo/YuancailiaochukuVO.java create mode 100644 src/main/java/com/entity/vo/YuancailiaokucunguanliVO.java create mode 100644 src/main/java/com/entity/vo/YuancailiaorukuVO.java create mode 100644 src/main/java/com/interceptor/AuthorizationInterceptor.java create mode 100644 src/main/java/com/model/enums/TypeEnum.java create mode 100644 src/main/java/com/service/CangkuxinxiService.java create mode 100644 src/main/java/com/service/ChanpinchukuService.java create mode 100644 src/main/java/com/service/ChanpinkucunguanliService.java create mode 100644 src/main/java/com/service/ChanpinrukuService.java create mode 100644 src/main/java/com/service/CommonService.java create mode 100644 src/main/java/com/service/ConfigService.java create mode 100644 src/main/java/com/service/TokenService.java create mode 100644 src/main/java/com/service/UserService.java create mode 100644 src/main/java/com/service/YonghuService.java create mode 100644 src/main/java/com/service/YuancailiaochukuService.java create mode 100644 src/main/java/com/service/YuancailiaokucunguanliService.java create mode 100644 src/main/java/com/service/YuancailiaorukuService.java create mode 100644 src/main/java/com/service/impl/CangkuxinxiServiceImpl.java create mode 100644 src/main/java/com/service/impl/ChanpinchukuServiceImpl.java create mode 100644 src/main/java/com/service/impl/ChanpinkucunguanliServiceImpl.java create mode 100644 src/main/java/com/service/impl/ChanpinrukuServiceImpl.java create mode 100644 src/main/java/com/service/impl/CommonServiceImpl.java create mode 100644 src/main/java/com/service/impl/ConfigServiceImpl.java create mode 100644 src/main/java/com/service/impl/TokenServiceImpl.java create mode 100644 src/main/java/com/service/impl/UserServiceImpl.java create mode 100644 src/main/java/com/service/impl/YonghuServiceImpl.java create mode 100644 src/main/java/com/service/impl/YuancailiaochukuServiceImpl.java create mode 100644 src/main/java/com/service/impl/YuancailiaokucunguanliServiceImpl.java create mode 100644 src/main/java/com/service/impl/YuancailiaorukuServiceImpl.java create mode 100644 src/main/java/com/utils/BaiduUtil.java create mode 100644 src/main/java/com/utils/CommonUtil.java create mode 100644 src/main/java/com/utils/FileUtil.java create mode 100644 src/main/java/com/utils/HttpClientUtils.java create mode 100644 src/main/java/com/utils/JQPageInfo.java create mode 100644 src/main/java/com/utils/MD5Util.java create mode 100644 src/main/java/com/utils/MPUtil.java create mode 100644 src/main/java/com/utils/PageUtils.java create mode 100644 src/main/java/com/utils/Query.java create mode 100644 src/main/java/com/utils/R.java create mode 100644 src/main/java/com/utils/SQLFilter.java create mode 100644 src/main/java/com/utils/SpringContextUtils.java create mode 100644 src/main/java/com/utils/ValidatorUtils.java create mode 100644 src/main/resources/config.properties create mode 100644 src/main/resources/doc/sys_user.sql create mode 100644 src/main/resources/log4j.properties create mode 100644 src/main/resources/mapper/CangkuxinxiDao.xml create mode 100644 src/main/resources/mapper/ChanpinchukuDao.xml create mode 100644 src/main/resources/mapper/ChanpinkucunguanliDao.xml create mode 100644 src/main/resources/mapper/ChanpinrukuDao.xml create mode 100644 src/main/resources/mapper/CommonDao.xml create mode 100644 src/main/resources/mapper/ConfigDao.xml create mode 100644 src/main/resources/mapper/TokenDao.xml create mode 100644 src/main/resources/mapper/UserDao.xml create mode 100644 src/main/resources/mapper/YonghuDao.xml create mode 100644 src/main/resources/mapper/YuancailiaochukuDao.xml create mode 100644 src/main/resources/mapper/YuancailiaokucunguanliDao.xml create mode 100644 src/main/resources/mapper/YuancailiaorukuDao.xml create mode 100644 src/main/resources/mybatis/mybatis-config.xml create mode 100644 src/main/resources/spring/spring-mvc.xml create mode 100644 src/main/resources/spring/spring-mybatis.xml create mode 100644 src/main/resources/spring/spring.xml create mode 100644 src/main/webapp/WEB-INF/web.xml create mode 160000 src/main/webapp/admin create mode 100644 src/main/webapp/resources/bootstrap/css/bootstrap.css create mode 100644 src/main/webapp/resources/bootstrap/css/bootstrap.css.map create mode 100644 src/main/webapp/resources/bootstrap/css/bootstrap.min.css create mode 100644 src/main/webapp/resources/bootstrap/css/bootstrap.min.css.map create mode 100644 src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.eot create mode 100644 src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.svg create mode 100644 src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.ttf create mode 100644 src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.woff create mode 100644 src/main/webapp/resources/bootstrap/fonts/glyphicons-halflings-regular.woff2 create mode 100644 src/main/webapp/resources/bootstrap/js/bootstrap.js create mode 100644 src/main/webapp/resources/bootstrap/js/bootstrap.min.js create mode 100644 src/main/webapp/resources/jquery/jquery-2.2.3.min.js create mode 100644 src/main/webapp/upload/test.txt diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..43b5a89 --- /dev/null +++ b/.classpath @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/.idea/$PRODUCT_WORKSPACE_FILE$ b/.idea/$PRODUCT_WORKSPACE_FILE$ new file mode 100644 index 0000000..3733e0d --- /dev/null +++ b/.idea/$PRODUCT_WORKSPACE_FILE$ @@ -0,0 +1,19 @@ + + + + + + + 1.8 + + + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..26648d9 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..af673e7 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..03d9549 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..1035788 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/ssm74edv.iml b/.idea/ssm74edv.iml new file mode 100644 index 0000000..78b2cc5 --- /dev/null +++ b/.idea/ssm74edv.iml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..2ada99b --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..a30e9f2 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,282 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +