├── src └── main │ ├── webapp │ ├── success.jsp │ ├── js │ │ ├── video │ │ │ ├── index.html │ │ │ ├── alt │ │ │ │ └── index.html │ │ │ ├── font │ │ │ │ └── index.html │ │ │ ├── ie8 │ │ │ │ └── index.html │ │ │ └── lang │ │ │ │ └── index.html │ │ ├── swiper-4.5.0 │ │ │ ├── index.html │ │ │ ├── css │ │ │ │ └── index.html │ │ │ └── js │ │ │ │ └── index.html │ │ ├── umeditor │ │ │ ├── index.html │ │ │ ├── jsp │ │ │ │ └── index.html │ │ │ ├── dialogs │ │ │ │ ├── index.html │ │ │ │ ├── image │ │ │ │ │ ├── index.html │ │ │ │ │ └── images │ │ │ │ │ │ └── index.html │ │ │ │ ├── link │ │ │ │ │ └── index.html │ │ │ │ ├── map │ │ │ │ │ └── index.html │ │ │ │ ├── video │ │ │ │ │ ├── index.html │ │ │ │ │ └── images │ │ │ │ │ │ └── index.html │ │ │ │ ├── emotion │ │ │ │ │ ├── index.html │ │ │ │ │ └── images │ │ │ │ │ │ └── index.html │ │ │ │ └── formula │ │ │ │ │ ├── index.html │ │ │ │ │ └── images │ │ │ │ │ └── index.html │ │ │ ├── lang │ │ │ │ ├── en │ │ │ │ │ ├── index.html │ │ │ │ │ └── images │ │ │ │ │ │ └── index.html │ │ │ │ ├── index.html │ │ │ │ └── zh-cn │ │ │ │ │ ├── index.html │ │ │ │ │ └── images │ │ │ │ │ └── index.html │ │ │ ├── themes │ │ │ │ ├── index.html │ │ │ │ └── default │ │ │ │ │ ├── css │ │ │ │ │ └── index.html │ │ │ │ │ ├── index.html │ │ │ │ │ └── images │ │ │ │ │ └── index.html │ │ │ └── third-party │ │ │ │ ├── index.html │ │ │ │ └── mathquill │ │ │ │ ├── index.html │ │ │ │ └── font │ │ │ │ ├── index.html │ │ │ │ └── stixgeneral-bundle │ │ │ │ └── index.html │ │ ├── layer │ │ │ ├── theme │ │ │ │ └── default │ │ │ │ │ ├── icon.png │ │ │ │ │ ├── icon-ext.png │ │ │ │ │ ├── loading-0.gif │ │ │ │ │ ├── loading-1.gif │ │ │ │ │ └── loading-2.gif │ │ │ └── mobile │ │ │ │ ├── layer.js │ │ │ │ └── need │ │ │ │ └── layer.css │ │ ├── datepicker │ │ │ ├── skin │ │ │ │ ├── datePicker.gif │ │ │ │ ├── default │ │ │ │ │ ├── img.gif │ │ │ │ │ └── datepicker.css │ │ │ │ ├── whyGreen │ │ │ │ │ ├── bg.jpg │ │ │ │ │ ├── img.gif │ │ │ │ │ └── datepicker.css │ │ │ │ └── WdatePicker.css │ │ │ └── lang │ │ │ │ ├── en.js │ │ │ │ ├── zh-cn.js │ │ │ │ └── zh-tw.js │ │ └── common.js │ ├── upload │ │ ├── 20210423 │ │ │ ├── 08b7e7cd-0b40-4d26-9f09-8aa0f60c42a5.png │ │ │ ├── 14f9ad4b-c4ac-45a7-a55a-0a26498b7288.jpg │ │ │ ├── 173ed0b6-c29c-4399-86c8-f427cc59735c.png │ │ │ ├── 20da14c3-c0c1-46b2-9c74-7659ab6774ea.jpg │ │ │ ├── 2c122937-c82e-44fa-85b0-7ece54234e5d.png │ │ │ ├── 2f8ce2f3-8304-470e-bf4b-fd41fd965f03.jpg │ │ │ ├── 3aa28ed5-31ed-4fbc-a9f5-28080da37841.jpg │ │ │ ├── 46be35bf-c2e3-4ff6-b146-4a2697d69bfa.png │ │ │ ├── 47556825-36b6-4bd0-866e-66643f4c37d7.jpg │ │ │ ├── 4806562b-ee1d-4713-bd62-c5d0aa23547e.jpg │ │ │ ├── 4a5f9464-fda0-44bb-aacc-9ff85796fcbf.jpg │ │ │ ├── 51cf9bf9-9fca-4b01-b3d9-e47a4fe3f175.png │ │ │ ├── 535def89-8d21-4305-88cd-2fd3aa8ecae4.jpg │ │ │ ├── 547cf65a-9a31-4d1a-8b02-376fa7a2e1d1.jpg │ │ │ ├── 6487cbd4-633c-4989-8e24-7ea0e12e55fc.jpg │ │ │ ├── 79fc129b-9668-48a5-8ade-eb8ce5927f9d.jpg │ │ │ ├── 991ecb78-cfaf-489f-b43e-870cf7ac6ef1.png │ │ │ ├── 9c1f4921-f4ce-4877-a63b-85c0dbab600d.jpg │ │ │ ├── a95822bb-0997-4d37-99a3-6aaaa04d1efb.jpg │ │ │ ├── acca1f80-f9b2-48c5-b670-ce70a362654b.jpg │ │ │ ├── afe0acf7-e78a-4350-8ecd-bfc258d63309.jpg │ │ │ ├── b3128706-3423-4be4-a92c-52a9f9109b4d.jpg │ │ │ ├── d6f35748-1019-4639-8516-a36e89158bb1.jpg │ │ │ ├── e2045251-917a-4be9-a9c9-530feebc5606.jpg │ │ │ ├── eaf23ac1-260e-4d15-bf84-f5044ef2dc49.jpg │ │ │ ├── f0617774-faba-4377-8efa-8946d00ad807.png │ │ │ ├── f50d111c-1492-4664-9953-81a2f9d2a6b9.png │ │ │ └── 62fb70e7-1771-4d26-952d-066707151779.jpeg │ │ ├── 20221125 │ │ │ ├── 22cdd3db-1e73-4f04-8321-e086dfdbb0a6.png │ │ │ ├── 27dfc60b-3c28-42a5-bbe8-022ddec62889.png │ │ │ ├── 32ac3396-1c9d-4895-a907-bca7b6569d00.png │ │ │ ├── 333eaf9b-efc6-4003-9ae8-006a4be7476f.jpg │ │ │ ├── 73bea61f-a632-4365-92bf-80609a263b8f.png │ │ │ ├── 899e5d29-ab34-4c89-a8cf-b5cb9f29fc97.png │ │ │ └── d95b4e94-7e07-48d6-82ca-425686116610.png │ │ ├── 20221126 │ │ │ ├── cc940867-726d-442f-8635-6b7eefbfb4a3.webp │ │ │ └── cd631454-8dd4-48be-89df-ace06f29098a.webp │ │ ├── 1619171070888.png │ │ ├── 1619171071012.png │ │ ├── 1619171071072.png │ │ ├── 1619171071135.png │ │ ├── 1619169229736.png │ │ ├── 1619170054083.png │ │ ├── 1619171167716.png │ │ ├── 1619171167848.png │ │ ├── 1619171168163.png │ │ ├── 1619171168197.png │ │ ├── 1619171168392.png │ │ ├── 1619171168410.png │ │ ├── 1619171168766.png │ │ ├── 1619171168800.png │ │ ├── 1619171168956.png │ │ ├── 1619171168984.png │ │ ├── 1619171169242.png │ │ ├── 1619171169273.png │ │ ├── 1619171169516.png │ │ ├── 1619171169569.png │ │ ├── 053a867d9fc255ccc192844987aee542.png │ │ ├── 1357db17a09de5c07a218a036ac28345.png │ │ ├── 1a96cc46fc36e0574dd4d58e5ff0e49f.jpg │ │ ├── 41520be8ca77f734cd480b45c4a34156.jpg │ │ ├── 4817bbb9e832bc9de797cf383f7530d5.jpg │ │ ├── 508325a5f7c0c4a4ddb91048647752a2.png │ │ ├── 50a521e09e3009741329113dd9c765f7.png │ │ ├── 521fee21712b1ff8772ecc1c423c7b37.png │ │ ├── 57677818acbfddc07ed2483713cac2f7.png │ │ ├── 5f33344eef6ef2a23ddeb22689b46e1f.png │ │ ├── 73c46ea394ac0184a3181f77851e4b65.png │ │ ├── 7526b5302d5410b9b992b61a1b6cfe55.png │ │ ├── 87604a91f88d948d0cf72bc7a0e891b1.jpg │ │ ├── 9b68e8c49f68e2bfeb3e32770ca993b6.jpg │ │ ├── 9df4be4fa5027745f22192f1561d794a.jpg │ │ ├── a713441c33216cb674023d50a3522912.jpg │ │ ├── af939873e6383d3ac5263a56338dd746.png │ │ ├── c46cc0ff88af3292cc864dc46df1fa61.png │ │ ├── c5b97b78b7c72016a662e5256a2fbf43.jpg │ │ ├── d506cc960ccd3d9aaf88146ed10d5f53.png │ │ ├── e8882dc0dcd1eff6b1bf4b8198c944fc.png │ │ ├── ecdbe61eb19bda4fdc0a9cd5480b7ba5.jpg │ │ ├── ed95f36adac957361a2da8ec9e2559db.png │ │ └── f49ec0dd0855d7c7eb049c76b5ba27b3.png │ ├── css │ │ └── common.css │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── lib │ │ │ ├── jxl.jar │ │ │ ├── jntoo-query.jar │ │ │ └── ueditor-mini.jar │ │ └── sql.tld │ ├── zhifu │ │ └── images │ │ │ ├── logo.gif │ │ │ ├── alipay.gif │ │ │ ├── layout.css │ │ │ ├── ABC_OUT.gif │ │ │ ├── BJRCB_OUT.gif │ │ │ ├── BOC_OUT.gif │ │ │ ├── CCB_OUT.gif │ │ │ ├── CEB_OUT.gif │ │ │ ├── CIB_OUT.gif │ │ │ ├── CITIC_OUT.gif │ │ │ ├── CMBC_OUT.gif │ │ │ ├── CMB_OUT.gif │ │ │ ├── COMM_OUT.gif │ │ │ ├── FDB_OUT.gif │ │ │ ├── GDB_OUT.gif │ │ │ ├── HZCB_OUT.gif │ │ │ ├── ICBC_OUT.gif │ │ │ ├── PSBC_OUT.gif │ │ │ ├── SDB_OUT.gif │ │ │ ├── SPDB_OUT.gif │ │ │ ├── alipay_1.gif │ │ │ ├── logo_vbvv.gif │ │ │ ├── ENV_ABC_OUT.gif │ │ │ ├── ENV_CCB_OUT.gif │ │ │ ├── NBBANK_OUT.gif │ │ │ ├── SHBANK_OUT.gif │ │ │ ├── SPABANK_OUT.gif │ │ │ ├── alipay_bwrx.gif │ │ │ ├── button_sure.gif │ │ │ ├── icon_visa_s.gif │ │ │ ├── ENV_ICBC_OUT.gif │ │ │ └── ENV_SPDB_OUT.gif │ ├── qtstyle │ │ ├── font-awesome │ │ │ └── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ └── bootstrap │ │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── js │ │ │ └── npm.js │ ├── foot.jsp │ ├── message.jsp │ ├── upload.jsp │ ├── footer.jsp │ ├── head.jsp │ └── mod.jsp │ ├── java │ ├── dao │ │ ├── Query.java │ │ └── CommDAO.java │ ├── com │ │ ├── spring │ │ │ ├── service │ │ │ │ ├── DiquService.java │ │ │ │ ├── YudingService.java │ │ │ │ ├── LunbotuService.java │ │ │ │ ├── LiuyanbanService.java │ │ │ │ ├── LvyouxianluService.java │ │ │ │ ├── XinwenxinxiService.java │ │ │ │ ├── DifangmeishiService.java │ │ │ │ ├── MeishifenleiService.java │ │ │ │ ├── XinwenfenleiService.java │ │ │ │ ├── JingdianxinxiService.java │ │ │ │ ├── YouqinglianjieService.java │ │ │ │ ├── ShoucangjiluService.java │ │ │ │ ├── AdminsService.java │ │ │ │ ├── YonghuService.java │ │ │ │ └── impl │ │ │ │ │ ├── DiquServiceImpl.java │ │ │ │ │ ├── YudingServiceImpl.java │ │ │ │ │ ├── LunbotuServiceImpl.java │ │ │ │ │ ├── LiuyanbanServiceImpl.java │ │ │ │ │ ├── LvyouxianluServiceImpl.java │ │ │ │ │ ├── XinwenxinxiServiceImpl.java │ │ │ │ │ ├── DifangmeishiServiceImpl.java │ │ │ │ │ ├── MeishifenleiServiceImpl.java │ │ │ │ │ ├── XinwenfenleiServiceImpl.java │ │ │ │ │ ├── JingdianxinxiServiceImpl.java │ │ │ │ │ ├── YouqinglianjieServiceImpl.java │ │ │ │ │ ├── ShoucangjiluServiceImpl.java │ │ │ │ │ ├── AdminsServiceImpl.java │ │ │ │ │ └── YonghuServiceImpl.java │ │ │ ├── dao │ │ │ │ ├── DiquMapper.java │ │ │ │ ├── LunbotuMapper.java │ │ │ │ ├── YudingMapper.java │ │ │ │ ├── LiuyanbanMapper.java │ │ │ │ ├── DifangmeishiMapper.java │ │ │ │ ├── LvyouxianluMapper.java │ │ │ │ ├── MeishifenleiMapper.java │ │ │ │ ├── XinwenfenleiMapper.java │ │ │ │ ├── XinwenxinxiMapper.java │ │ │ │ ├── JingdianxinxiMapper.java │ │ │ │ ├── YouqinglianjieMapper.java │ │ │ │ ├── AdminsMapper.java │ │ │ │ ├── YonghuMapper.java │ │ │ │ └── ShoucangjiluMapper.java │ │ │ ├── config │ │ │ │ └── TokenConfig.java │ │ │ ├── util │ │ │ │ ├── QueryConnection.java │ │ │ │ ├── JsonResult.java │ │ │ │ └── CollectList.java │ │ │ ├── entity │ │ │ │ ├── Diqu.java │ │ │ │ ├── Meishifenlei.java │ │ │ │ ├── Xinwenfenlei.java │ │ │ │ ├── Admins.java │ │ │ │ ├── Youqinglianjie.java │ │ │ │ ├── Lunbotu.java │ │ │ │ ├── Liuyanban.java │ │ │ │ ├── Xinwenxinxi.java │ │ │ │ ├── Shoucangjilu.java │ │ │ │ ├── Difangmeishi.java │ │ │ │ ├── Yonghu.java │ │ │ │ ├── Jingdianxinxi.java │ │ │ │ ├── Lvyouxianlu.java │ │ │ │ └── Yuding.java │ │ │ ├── controller │ │ │ │ ├── PaymentController.java │ │ │ │ ├── IndexController.java │ │ │ │ ├── UploadController.java │ │ │ │ └── ShoucangjiluController.java │ │ │ ├── BootApplication.java │ │ │ └── interceptor │ │ │ │ └── TokenInterceptor.java │ │ └── base │ │ │ ├── IServiceBase.java │ │ │ ├── MapperBase.java │ │ │ └── ServiceBase.java │ └── util │ │ ├── tld │ │ └── QuerySql.java │ │ ├── Timer.java │ │ ├── Request.java │ │ ├── DESUtil.java │ │ ├── StringUtil.java │ │ └── DownloadRemoteImage.java │ └── resources │ ├── mapper │ ├── DiquMapper.xml │ ├── MeishifenleiMapper.xml │ ├── XinwenfenleiMapper.xml │ ├── YouqinglianjieMapper.xml │ ├── ShoucangjiluMapper.xml │ ├── LunbotuMapper.xml │ ├── AdminsMapper.xml │ ├── LiuyanbanMapper.xml │ ├── XinwenxinxiMapper.xml │ ├── DifangmeishiMapper.xml │ ├── YonghuMapper.xml │ ├── LvyouxianluMapper.xml │ ├── JingdianxinxiMapper.xml │ └── YudingMapper.xml │ └── application.properties ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ ├── maven-wrapper.properties │ └── MavenWrapperDownloader.java ├── .gitignore └── README.md /src/main/webapp/success.jsp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/video/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/swiper-4.5.0/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/jsp/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/video/alt/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/video/font/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/video/ie8/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/video/lang/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171070888.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171071012.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171071072.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171071135.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/swiper-4.5.0/css/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/swiper-4.5.0/js/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/lang/en/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/lang/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/themes/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/image/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/link/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/map/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/video/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/lang/zh-cn/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/third-party/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/emotion/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/formula/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/lang/en/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/lang/zh-cn/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/themes/default/css/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/themes/default/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/emotion/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/formula/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/image/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/dialogs/video/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/themes/default/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/third-party/mathquill/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/third-party/mathquill/font/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/webapp/css/common.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background: #f2f2f2; 3 | } -------------------------------------------------------------------------------- /src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /src/main/webapp/js/umeditor/third-party/mathquill/font/stixgeneral-bundle/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/lib/jxl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/WEB-INF/lib/jxl.jar -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/logo.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/alipay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/alipay.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/layout.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/layout.css -------------------------------------------------------------------------------- /src/main/webapp/upload/1619169229736.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619169229736.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619170054083.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619170054083.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171167716.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171167716.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171167848.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171167848.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171168163.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171168163.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171168197.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171168197.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171168392.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171168392.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171168410.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171168410.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171168766.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171168766.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171168800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171168800.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171168956.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171168956.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171168984.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171168984.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171169242.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171169242.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171169273.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171169273.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171169516.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171169516.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1619171169569.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1619171169569.png -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/ABC_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/ABC_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/BJRCB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/BJRCB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/BOC_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/BOC_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/CCB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/CCB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/CEB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/CEB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/CIB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/CIB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/CITIC_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/CITIC_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/CMBC_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/CMBC_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/CMB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/CMB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/COMM_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/COMM_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/FDB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/FDB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/GDB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/GDB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/HZCB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/HZCB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/ICBC_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/ICBC_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/PSBC_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/PSBC_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/SDB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/SDB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/SPDB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/SPDB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/alipay_1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/alipay_1.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/logo_vbvv.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/logo_vbvv.gif -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/lib/jntoo-query.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/WEB-INF/lib/jntoo-query.jar -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/lib/ueditor-mini.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/WEB-INF/lib/ueditor-mini.jar -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/ENV_ABC_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/ENV_ABC_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/ENV_CCB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/ENV_CCB_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/NBBANK_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/NBBANK_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/SHBANK_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/SHBANK_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/SPABANK_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/SPABANK_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/alipay_bwrx.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/alipay_bwrx.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/button_sure.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/button_sure.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/icon_visa_s.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/icon_visa_s.gif -------------------------------------------------------------------------------- /src/main/webapp/js/layer/theme/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/js/layer/theme/default/icon.png -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/ENV_ICBC_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/ENV_ICBC_OUT.gif -------------------------------------------------------------------------------- /src/main/webapp/zhifu/images/ENV_SPDB_OUT.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/zhifu/images/ENV_SPDB_OUT.gif -------------------------------------------------------------------------------- /src/main/java/dao/Query.java: -------------------------------------------------------------------------------- 1 | package dao; 2 | 3 | /** 4 | * 继承自库中jntoo-query.jar 5 | */ 6 | public class Query extends net.jntoo.db.Query { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/skin/datePicker.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/js/datepicker/skin/datePicker.gif -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip 2 | -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/skin/default/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/js/datepicker/skin/default/img.gif -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/skin/whyGreen/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/js/datepicker/skin/whyGreen/bg.jpg -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/skin/whyGreen/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/js/datepicker/skin/whyGreen/img.gif -------------------------------------------------------------------------------- /src/main/webapp/js/layer/theme/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/js/layer/theme/default/icon-ext.png -------------------------------------------------------------------------------- /src/main/webapp/js/layer/theme/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/js/layer/theme/default/loading-0.gif -------------------------------------------------------------------------------- /src/main/webapp/js/layer/theme/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/js/layer/theme/default/loading-1.gif -------------------------------------------------------------------------------- /src/main/webapp/js/layer/theme/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/js/layer/theme/default/loading-2.gif -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/qtstyle/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /src/main/webapp/upload/053a867d9fc255ccc192844987aee542.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/053a867d9fc255ccc192844987aee542.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1357db17a09de5c07a218a036ac28345.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1357db17a09de5c07a218a036ac28345.png -------------------------------------------------------------------------------- /src/main/webapp/upload/1a96cc46fc36e0574dd4d58e5ff0e49f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/1a96cc46fc36e0574dd4d58e5ff0e49f.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/41520be8ca77f734cd480b45c4a34156.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/41520be8ca77f734cd480b45c4a34156.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/4817bbb9e832bc9de797cf383f7530d5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/4817bbb9e832bc9de797cf383f7530d5.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/508325a5f7c0c4a4ddb91048647752a2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/508325a5f7c0c4a4ddb91048647752a2.png -------------------------------------------------------------------------------- /src/main/webapp/upload/50a521e09e3009741329113dd9c765f7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/50a521e09e3009741329113dd9c765f7.png -------------------------------------------------------------------------------- /src/main/webapp/upload/521fee21712b1ff8772ecc1c423c7b37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/521fee21712b1ff8772ecc1c423c7b37.png -------------------------------------------------------------------------------- /src/main/webapp/upload/57677818acbfddc07ed2483713cac2f7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/57677818acbfddc07ed2483713cac2f7.png -------------------------------------------------------------------------------- /src/main/webapp/upload/5f33344eef6ef2a23ddeb22689b46e1f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/5f33344eef6ef2a23ddeb22689b46e1f.png -------------------------------------------------------------------------------- /src/main/webapp/upload/73c46ea394ac0184a3181f77851e4b65.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/73c46ea394ac0184a3181f77851e4b65.png -------------------------------------------------------------------------------- /src/main/webapp/upload/7526b5302d5410b9b992b61a1b6cfe55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/7526b5302d5410b9b992b61a1b6cfe55.png -------------------------------------------------------------------------------- /src/main/webapp/upload/87604a91f88d948d0cf72bc7a0e891b1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/87604a91f88d948d0cf72bc7a0e891b1.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/9b68e8c49f68e2bfeb3e32770ca993b6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/9b68e8c49f68e2bfeb3e32770ca993b6.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/9df4be4fa5027745f22192f1561d794a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/9df4be4fa5027745f22192f1561d794a.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/a713441c33216cb674023d50a3522912.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/a713441c33216cb674023d50a3522912.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/af939873e6383d3ac5263a56338dd746.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/af939873e6383d3ac5263a56338dd746.png -------------------------------------------------------------------------------- /src/main/webapp/upload/c46cc0ff88af3292cc864dc46df1fa61.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/c46cc0ff88af3292cc864dc46df1fa61.png -------------------------------------------------------------------------------- /src/main/webapp/upload/c5b97b78b7c72016a662e5256a2fbf43.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/c5b97b78b7c72016a662e5256a2fbf43.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/d506cc960ccd3d9aaf88146ed10d5f53.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/d506cc960ccd3d9aaf88146ed10d5f53.png -------------------------------------------------------------------------------- /src/main/webapp/upload/e8882dc0dcd1eff6b1bf4b8198c944fc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/e8882dc0dcd1eff6b1bf4b8198c944fc.png -------------------------------------------------------------------------------- /src/main/webapp/upload/ecdbe61eb19bda4fdc0a9cd5480b7ba5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/ecdbe61eb19bda4fdc0a9cd5480b7ba5.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/ed95f36adac957361a2da8ec9e2559db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/ed95f36adac957361a2da8ec9e2559db.png -------------------------------------------------------------------------------- /src/main/webapp/upload/f49ec0dd0855d7c7eb049c76b5ba27b3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/f49ec0dd0855d7c7eb049c76b5ba27b3.png -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/qtstyle/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/qtstyle/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/qtstyle/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/qtstyle/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/qtstyle/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/qtstyle/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/08b7e7cd-0b40-4d26-9f09-8aa0f60c42a5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/08b7e7cd-0b40-4d26-9f09-8aa0f60c42a5.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/14f9ad4b-c4ac-45a7-a55a-0a26498b7288.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/14f9ad4b-c4ac-45a7-a55a-0a26498b7288.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/173ed0b6-c29c-4399-86c8-f427cc59735c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/173ed0b6-c29c-4399-86c8-f427cc59735c.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/20da14c3-c0c1-46b2-9c74-7659ab6774ea.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/20da14c3-c0c1-46b2-9c74-7659ab6774ea.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/2c122937-c82e-44fa-85b0-7ece54234e5d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/2c122937-c82e-44fa-85b0-7ece54234e5d.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/2f8ce2f3-8304-470e-bf4b-fd41fd965f03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/2f8ce2f3-8304-470e-bf4b-fd41fd965f03.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/3aa28ed5-31ed-4fbc-a9f5-28080da37841.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/3aa28ed5-31ed-4fbc-a9f5-28080da37841.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/46be35bf-c2e3-4ff6-b146-4a2697d69bfa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/46be35bf-c2e3-4ff6-b146-4a2697d69bfa.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/47556825-36b6-4bd0-866e-66643f4c37d7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/47556825-36b6-4bd0-866e-66643f4c37d7.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/4806562b-ee1d-4713-bd62-c5d0aa23547e.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/4806562b-ee1d-4713-bd62-c5d0aa23547e.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/4a5f9464-fda0-44bb-aacc-9ff85796fcbf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/4a5f9464-fda0-44bb-aacc-9ff85796fcbf.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/51cf9bf9-9fca-4b01-b3d9-e47a4fe3f175.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/51cf9bf9-9fca-4b01-b3d9-e47a4fe3f175.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/535def89-8d21-4305-88cd-2fd3aa8ecae4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/535def89-8d21-4305-88cd-2fd3aa8ecae4.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/547cf65a-9a31-4d1a-8b02-376fa7a2e1d1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/547cf65a-9a31-4d1a-8b02-376fa7a2e1d1.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/6487cbd4-633c-4989-8e24-7ea0e12e55fc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/6487cbd4-633c-4989-8e24-7ea0e12e55fc.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/79fc129b-9668-48a5-8ade-eb8ce5927f9d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/79fc129b-9668-48a5-8ade-eb8ce5927f9d.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/991ecb78-cfaf-489f-b43e-870cf7ac6ef1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/991ecb78-cfaf-489f-b43e-870cf7ac6ef1.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/9c1f4921-f4ce-4877-a63b-85c0dbab600d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/9c1f4921-f4ce-4877-a63b-85c0dbab600d.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/a95822bb-0997-4d37-99a3-6aaaa04d1efb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/a95822bb-0997-4d37-99a3-6aaaa04d1efb.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/acca1f80-f9b2-48c5-b670-ce70a362654b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/acca1f80-f9b2-48c5-b670-ce70a362654b.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/afe0acf7-e78a-4350-8ecd-bfc258d63309.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/afe0acf7-e78a-4350-8ecd-bfc258d63309.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/b3128706-3423-4be4-a92c-52a9f9109b4d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/b3128706-3423-4be4-a92c-52a9f9109b4d.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/d6f35748-1019-4639-8516-a36e89158bb1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/d6f35748-1019-4639-8516-a36e89158bb1.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/e2045251-917a-4be9-a9c9-530feebc5606.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/e2045251-917a-4be9-a9c9-530feebc5606.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/eaf23ac1-260e-4d15-bf84-f5044ef2dc49.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/eaf23ac1-260e-4d15-bf84-f5044ef2dc49.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/f0617774-faba-4377-8efa-8946d00ad807.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/f0617774-faba-4377-8efa-8946d00ad807.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/f50d111c-1492-4664-9953-81a2f9d2a6b9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/f50d111c-1492-4664-9953-81a2f9d2a6b9.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20221125/22cdd3db-1e73-4f04-8321-e086dfdbb0a6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20221125/22cdd3db-1e73-4f04-8321-e086dfdbb0a6.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20221125/27dfc60b-3c28-42a5-bbe8-022ddec62889.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20221125/27dfc60b-3c28-42a5-bbe8-022ddec62889.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20221125/32ac3396-1c9d-4895-a907-bca7b6569d00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20221125/32ac3396-1c9d-4895-a907-bca7b6569d00.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20221125/333eaf9b-efc6-4003-9ae8-006a4be7476f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20221125/333eaf9b-efc6-4003-9ae8-006a4be7476f.jpg -------------------------------------------------------------------------------- /src/main/webapp/upload/20221125/73bea61f-a632-4365-92bf-80609a263b8f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20221125/73bea61f-a632-4365-92bf-80609a263b8f.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20221125/899e5d29-ab34-4c89-a8cf-b5cb9f29fc97.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20221125/899e5d29-ab34-4c89-a8cf-b5cb9f29fc97.png -------------------------------------------------------------------------------- /src/main/webapp/upload/20221125/d95b4e94-7e07-48d6-82ca-425686116610.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20221125/d95b4e94-7e07-48d6-82ca-425686116610.png -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/qtstyle/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/qtstyle/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/main/webapp/upload/20210423/62fb70e7-1771-4d26-952d-066707151779.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20210423/62fb70e7-1771-4d26-952d-066707151779.jpeg -------------------------------------------------------------------------------- /src/main/webapp/upload/20221126/cc940867-726d-442f-8635-6b7eefbfb4a3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20221126/cc940867-726d-442f-8635-6b7eefbfb4a3.webp -------------------------------------------------------------------------------- /src/main/webapp/upload/20221126/cd631454-8dd4-48be-89df-ace06f29098a.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/small-bears/travel/HEAD/src/main/webapp/upload/20221126/cd631454-8dd4-48be-89df-ace06f29098a.webp -------------------------------------------------------------------------------- /src/main/java/com/spring/service/DiquService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Diqu; 5 | 6 | public interface DiquService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/YudingService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Yuding; 5 | 6 | public interface YudingService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/LunbotuService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Lunbotu; 5 | 6 | public interface LunbotuService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/LiuyanbanService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Liuyanban; 5 | 6 | public interface LiuyanbanService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/LvyouxianluService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Lvyouxianlu; 5 | 6 | public interface LvyouxianluService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/XinwenxinxiService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Xinwenxinxi; 5 | 6 | public interface XinwenxinxiService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/DifangmeishiService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Difangmeishi; 5 | 6 | public interface DifangmeishiService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/MeishifenleiService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Meishifenlei; 5 | 6 | public interface MeishifenleiService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/XinwenfenleiService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Xinwenfenlei; 5 | 6 | public interface XinwenfenleiService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/JingdianxinxiService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Jingdianxinxi; 5 | 6 | public interface JingdianxinxiService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/YouqinglianjieService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Youqinglianjie; 5 | 6 | public interface YouqinglianjieService extends IServiceBase { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/skin/WdatePicker.css: -------------------------------------------------------------------------------- 1 | .Wdate{ 2 | border:#999 1px solid; 3 | height:20px; 4 | background:#fff url(datePicker.gif) no-repeat right; 5 | } 6 | .Wdate::-ms-clear{display:none;} 7 | 8 | .WdateFmtErr{ 9 | font-weight:bold; 10 | color:red; 11 | } -------------------------------------------------------------------------------- /src/main/java/com/spring/service/ShoucangjiluService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Shoucangjilu; 5 | /** 6 | * 业务类 7 | */ 8 | public interface ShoucangjiluService extends IServiceBase { 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/DiquMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Diqu; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface DiquMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/LunbotuMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Lunbotu; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface LunbotuMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/YudingMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Yuding; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface YudingMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/LiuyanbanMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Liuyanban; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface LiuyanbanMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/DifangmeishiMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Difangmeishi; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface DifangmeishiMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/LvyouxianluMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Lvyouxianlu; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface LvyouxianluMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/MeishifenleiMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Meishifenlei; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface MeishifenleiMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/XinwenfenleiMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Xinwenfenlei; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface XinwenfenleiMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/XinwenxinxiMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Xinwenxinxi; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface XinwenxinxiMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/JingdianxinxiMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Jingdianxinxi; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface JingdianxinxiMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/YouqinglianjieMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Youqinglianjie; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface YouqinglianjieMapper extends MapperBase { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/AdminsMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Admins; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface AdminsMapper extends MapperBase { 11 | Admins login(Admins admins); 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/YonghuMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Yonghu; 5 | 6 | import org.springframework.stereotype.Repository; 7 | 8 | 9 | @Repository 10 | public interface YonghuMapper extends MapperBase { 11 | Yonghu login(Yonghu yonghu); 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/spring/dao/ShoucangjiluMapper.java: -------------------------------------------------------------------------------- 1 | package com.spring.dao; 2 | 3 | import com.base.MapperBase; 4 | import com.spring.entity.Shoucangjilu; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * 表shoucangjilu的mapper 9 | */ 10 | @Repository 11 | public interface ShoucangjiluMapper extends MapperBase { 12 | } -------------------------------------------------------------------------------- /src/main/java/com/spring/service/AdminsService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Admins; 5 | 6 | public interface AdminsService extends IServiceBase { 7 | public Admins login(String username, String password); 8 | public boolean updatePassword(int id, String newPassword); 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/YonghuService.java: -------------------------------------------------------------------------------- 1 | package com.spring.service; 2 | 3 | import com.base.IServiceBase; 4 | import com.spring.entity.Yonghu; 5 | 6 | public interface YonghuService extends IServiceBase { 7 | public Yonghu login(String username, String password); 8 | public boolean updatePassword(int id, String newPassword); 9 | } 10 | -------------------------------------------------------------------------------- /src/main/webapp/foot.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ page language="java" import="java.util.*"%> 3 | <%@page import="util.*"%> 4 | <%@page import="net.jntoo.db.*"%> 5 | <%@ taglib prefix="ssm" uri="http://ssm" %> 6 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /src/main/webapp/message.jsp: -------------------------------------------------------------------------------- 1 | <%@ page isELIgnored="false" %> 2 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 3 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 4 | 17 | -------------------------------------------------------------------------------- /src/main/webapp/qtstyle/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /src/main/java/com/base/IServiceBase.java: -------------------------------------------------------------------------------- 1 | package com.base; 2 | 3 | import tk.mybatis.mapper.entity.Example; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Service基本类接口 9 | * @param 10 | */ 11 | public interface IServiceBase { 12 | public List select(); 13 | public List select(E y); 14 | public E find(Object id); 15 | public E findEntity(E id); 16 | public List selectPage(E obj, int page, int pageSize); 17 | public List selectPageExample(Example obj , int page , int pageSize); 18 | public int delete(Object id); 19 | public int insert(E y); 20 | public int update(E y); 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/DiquServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.DiquMapper; 5 | import com.spring.entity.Diqu; 6 | import com.spring.service.DiquService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("DiquService") 13 | public class DiquServiceImpl extends ServiceBase implements DiquService { 14 | @Resource 15 | private DiquMapper dao; 16 | 17 | @Override 18 | protected DiquMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/YudingServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.YudingMapper; 5 | import com.spring.entity.Yuding; 6 | import com.spring.service.YudingService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("YudingService") 13 | public class YudingServiceImpl extends ServiceBase implements YudingService { 14 | @Resource 15 | private YudingMapper dao; 16 | 17 | @Override 18 | protected YudingMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/LunbotuServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.LunbotuMapper; 5 | import com.spring.entity.Lunbotu; 6 | import com.spring.service.LunbotuService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("LunbotuService") 13 | public class LunbotuServiceImpl extends ServiceBase implements LunbotuService { 14 | @Resource 15 | private LunbotuMapper dao; 16 | 17 | @Override 18 | protected LunbotuMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/LiuyanbanServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.LiuyanbanMapper; 5 | import com.spring.entity.Liuyanban; 6 | import com.spring.service.LiuyanbanService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("LiuyanbanService") 13 | public class LiuyanbanServiceImpl extends ServiceBase implements LiuyanbanService { 14 | @Resource 15 | private LiuyanbanMapper dao; 16 | 17 | @Override 18 | protected LiuyanbanMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/LvyouxianluServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.LvyouxianluMapper; 5 | import com.spring.entity.Lvyouxianlu; 6 | import com.spring.service.LvyouxianluService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("LvyouxianluService") 13 | public class LvyouxianluServiceImpl extends ServiceBase implements LvyouxianluService { 14 | @Resource 15 | private LvyouxianluMapper dao; 16 | 17 | @Override 18 | protected LvyouxianluMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/XinwenxinxiServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.XinwenxinxiMapper; 5 | import com.spring.entity.Xinwenxinxi; 6 | import com.spring.service.XinwenxinxiService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("XinwenxinxiService") 13 | public class XinwenxinxiServiceImpl extends ServiceBase implements XinwenxinxiService { 14 | @Resource 15 | private XinwenxinxiMapper dao; 16 | 17 | @Override 18 | protected XinwenxinxiMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/DifangmeishiServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.DifangmeishiMapper; 5 | import com.spring.entity.Difangmeishi; 6 | import com.spring.service.DifangmeishiService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("DifangmeishiService") 13 | public class DifangmeishiServiceImpl extends ServiceBase implements DifangmeishiService { 14 | @Resource 15 | private DifangmeishiMapper dao; 16 | 17 | @Override 18 | protected DifangmeishiMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/MeishifenleiServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.MeishifenleiMapper; 5 | import com.spring.entity.Meishifenlei; 6 | import com.spring.service.MeishifenleiService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("MeishifenleiService") 13 | public class MeishifenleiServiceImpl extends ServiceBase implements MeishifenleiService { 14 | @Resource 15 | private MeishifenleiMapper dao; 16 | 17 | @Override 18 | protected MeishifenleiMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/XinwenfenleiServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.XinwenfenleiMapper; 5 | import com.spring.entity.Xinwenfenlei; 6 | import com.spring.service.XinwenfenleiService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("XinwenfenleiService") 13 | public class XinwenfenleiServiceImpl extends ServiceBase implements XinwenfenleiService { 14 | @Resource 15 | private XinwenfenleiMapper dao; 16 | 17 | @Override 18 | protected XinwenfenleiMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/lang/en.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "Invalid date or the date out of range,redo or not?", 3 | aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 4 | aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], 5 | aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 6 | aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], 7 | clearStr: "Clear", 8 | todayStr: "Today", 9 | okStr: "OK", 10 | updateStr: "OK", 11 | timeStr: "Time", 12 | quickStr: "Quick Selection", 13 | err_1: 'MinDate Cannot be bigger than MaxDate!' 14 | } -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/JingdianxinxiServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.JingdianxinxiMapper; 5 | import com.spring.entity.Jingdianxinxi; 6 | import com.spring.service.JingdianxinxiService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("JingdianxinxiService") 13 | public class JingdianxinxiServiceImpl extends ServiceBase implements JingdianxinxiService { 14 | @Resource 15 | private JingdianxinxiMapper dao; 16 | 17 | @Override 18 | protected JingdianxinxiMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/YouqinglianjieServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.YouqinglianjieMapper; 5 | import com.spring.entity.Youqinglianjie; 6 | import com.spring.service.YouqinglianjieService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("YouqinglianjieService") 13 | public class YouqinglianjieServiceImpl extends ServiceBase implements YouqinglianjieService { 14 | @Resource 15 | private YouqinglianjieMapper dao; 16 | 17 | @Override 18 | protected YouqinglianjieMapper getDao() { 19 | return dao; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/webapp/upload.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 | 20 | -------------------------------------------------------------------------------- /src/main/resources/mapper/DiquMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | id, diqumingcheng, addtime 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/ShoucangjiluServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.ShoucangjiluMapper; 5 | import com.spring.entity.Shoucangjilu; 6 | import com.spring.service.ShoucangjiluService; 7 | import org.springframework.stereotype.Service; 8 | import tk.mybatis.mapper.common.Mapper; 9 | 10 | import javax.annotation.Resource; 11 | /** 12 | * 业务类 13 | */ 14 | @Service("ShoucangjiluService") 15 | public class ShoucangjiluServiceImpl extends ServiceBase implements ShoucangjiluService { 16 | @Resource 17 | protected ShoucangjiluMapper dao; 18 | @Override 19 | protected Mapper getDao() { 20 | return dao; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/resources/mapper/MeishifenleiMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | id, fenleimingcheng, addtime 12 | 13 | -------------------------------------------------------------------------------- /src/main/resources/mapper/XinwenfenleiMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | id, fenleimingcheng, addtime 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/com/spring/config/TokenConfig.java: -------------------------------------------------------------------------------- 1 | package com.spring.config; 2 | import com.spring.interceptor.TokenInterceptor; 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistration; 5 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 6 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 7 | 8 | 9 | @Configuration 10 | 11 | public class TokenConfig implements WebMvcConfigurer { 12 | @Override 13 | public void addInterceptors(InterceptorRegistry registry) { 14 | //注册TokenInterceptor拦截器 15 | InterceptorRegistration registration = registry.addInterceptor(new TokenInterceptor()); 16 | registration.addPathPatterns("/**"); //所有路径都被拦截 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/main/resources/mapper/YouqinglianjieMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | id, wangzhanmingcheng, wangzhi, addtime 13 | 14 | -------------------------------------------------------------------------------- /src/main/resources/mapper/ShoucangjiluMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/resources/mapper/LunbotuMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | id, title, image, url, addtime 14 | 15 | -------------------------------------------------------------------------------- /src/main/webapp/footer.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ page language="java" import="java.util.*"%> 3 | <%@page import="util.*"%> 4 | <%@page import="net.jntoo.db.*"%> 5 | <%@ taglib prefix="ssm" uri="http://ssm" %> 6 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 7 | 8 | 9 | 10 | 11 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/main/java/com/base/MapperBase.java: -------------------------------------------------------------------------------- 1 | package com.base; 2 | 3 | import tk.mybatis.mapper.common.Mapper; 4 | import org.apache.ibatis.annotations.InsertProvider; 5 | import org.apache.ibatis.annotations.Options; 6 | import tk.mybatis.mapper.provider.SqlServerProvider; 7 | 8 | 9 | /** 10 | * Mapper 基本类接口 11 | * @param 12 | */ 13 | public interface MapperBase extends Mapper 14 | { 15 | 16 | /** 17 | * 插入数据库,`null`值也会插入,不会使用列的默认值 18 | * 19 | * @param record 20 | * @return 21 | */ 22 | @Options(useGeneratedKeys = true, keyProperty = "id") 23 | @InsertProvider(type = SqlServerProvider.class, method = "dynamicSQL") 24 | @Override 25 | int insert(T record); 26 | 27 | /** 28 | * 插入数据库,`null`值也会插入,不会使用列的默认值 29 | * 30 | * @param record 31 | * @return 32 | */ 33 | @Options(useGeneratedKeys = true, keyProperty = "id") 34 | @InsertProvider(type = SqlServerProvider.class, method = "dynamicSQL") 35 | @Override 36 | int insertSelective(T record); 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/spring/util/QueryConnection.java: -------------------------------------------------------------------------------- 1 | package com.spring.util; 2 | 3 | import com.spring.BootApplication; 4 | import net.jntoo.annotation.JdbcConnection; 5 | import net.jntoo.annotation.RequestJdbcConnection; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | 8 | import javax.sql.DataSource; 9 | import java.sql.Connection; 10 | 11 | @JdbcConnection 12 | public class QueryConnection { 13 | 14 | static private Connection conn = null; 15 | // 让jntoo-query 获取链接 16 | @RequestJdbcConnection 17 | public Connection getConnect() 18 | { 19 | try{ 20 | if(conn == null || conn.isClosed()){ 21 | DataSource source = BootApplication.content.getBean(DataSource.class); 22 | Connection connection = source.getConnection(); 23 | 24 | //System.out.println(connection); 25 | conn = connection; 26 | } 27 | }catch (Exception e){ 28 | System.err.println("链接数据库出错"); 29 | } 30 | return conn; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/resources/mapper/AdminsMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | id, username, pwd, addtime 13 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u786E\u5B9A", 10 | updateStr: "\u786E\u5B9A", 11 | timeStr: "\u65F6\u95F4", 12 | quickStr: "\u5FEB\u901F\u9009\u62E9", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/lang/zh-tw.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u78BA\u5B9A", 10 | updateStr: "\u78BA\u5B9A", 11 | timeStr: "\u6642\u9593", 12 | quickStr: "\u5FEB\u901F\u9078\u64C7", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/AdminsServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.AdminsMapper; 5 | import com.spring.entity.Admins; 6 | import com.spring.service.AdminsService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("AdminsService") 13 | public class AdminsServiceImpl extends ServiceBase implements AdminsService { 14 | @Resource 15 | private AdminsMapper dao; 16 | 17 | @Override 18 | protected AdminsMapper getDao() { 19 | return dao; 20 | } 21 | public Admins login(String username, String password) { 22 | Admins user = new Admins(); 23 | user.setUsername(username); 24 | user.setPwd(password); 25 | 26 | return this.dao.login(user); 27 | } 28 | 29 | public boolean updatePassword(int id, String newPassword) { 30 | Admins user = new Admins(); 31 | user.setId(id); 32 | user.setPwd(newPassword); 33 | int i = this.dao.updateByPrimaryKeySelective(user); 34 | return i == 1; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/spring/service/impl/YonghuServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.spring.service.impl; 2 | 3 | import com.base.ServiceBase; 4 | import com.spring.dao.YonghuMapper; 5 | import com.spring.entity.Yonghu; 6 | import com.spring.service.YonghuService; 7 | import org.springframework.stereotype.Service; 8 | import util.Info; 9 | 10 | import javax.annotation.Resource; 11 | 12 | @Service("YonghuService") 13 | public class YonghuServiceImpl extends ServiceBase implements YonghuService { 14 | @Resource 15 | private YonghuMapper dao; 16 | 17 | @Override 18 | protected YonghuMapper getDao() { 19 | return dao; 20 | } 21 | public Yonghu login(String username, String password) { 22 | Yonghu user = new Yonghu(); 23 | user.setYonghuming(username); 24 | user.setMima(password); 25 | 26 | return this.dao.login(user); 27 | } 28 | 29 | public boolean updatePassword(int id, String newPassword) { 30 | Yonghu user = new Yonghu(); 31 | user.setId(id); 32 | user.setMima(newPassword); 33 | int i = this.dao.updateByPrimaryKeySelective(user); 34 | return i == 1; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/spring/util/JsonResult.java: -------------------------------------------------------------------------------- 1 | package com.spring.util; 2 | 3 | /** 4 | * Json 数据返回格式 5 | */ 6 | public class JsonResult { 7 | private Integer code; 8 | private String msg; 9 | private Object data; 10 | 11 | public JsonResult(Integer code , String msg , Object data) 12 | { 13 | this.code = code; 14 | this.msg = msg; 15 | this.data = data; 16 | } 17 | 18 | public JsonResult(Object data) 19 | { 20 | this.data = data; 21 | setCode(0); 22 | setMsg(""); 23 | } 24 | 25 | public JsonResult(String msg) 26 | { 27 | this.msg = msg; 28 | setData(null); 29 | setCode(1); 30 | } 31 | 32 | public Integer getCode() { 33 | return code; 34 | } 35 | 36 | public void setCode(Integer code) { 37 | this.code = code; 38 | } 39 | 40 | public String getMsg() { 41 | return msg; 42 | } 43 | 44 | public void setMsg(String msg) { 45 | this.msg = msg; 46 | } 47 | 48 | public Object getData() { 49 | return data; 50 | } 51 | 52 | public void setData(Object data) { 53 | this.data = data; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/webapp/head.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ page language="java" import="java.util.*"%> 3 | <%@page import="util.*"%> 4 | <%@page import="net.jntoo.db.*"%> 5 | <%@ taglib prefix="ssm" uri="http://ssm" %> 6 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 7 | 8 | 9 | 10 | 11 | 旅游信息推荐系统设计与实现 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/main/webapp/js/common.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | 3 | (function () { 4 | var path =location.pathname.substr(1); 5 | var search = location.search; 6 | if(search!=''){ 7 | path += decodeURIComponent(search); 8 | } 9 | if(path == '') 10 | { 11 | $('#navbar-str li:eq(0)').addClass('active'); 12 | }else{ 13 | $('#navbar-str li').each(function () { 14 | var href = $(this).find('>a').attr('href'); 15 | if(href == path) 16 | { 17 | $(this).addClass('active'); 18 | } 19 | if($(this).hasClass('dropdown')) 20 | { 21 | var that = this; 22 | $(this).find('li').each(function () { 23 | var href = $(this).find('>a').attr('href'); 24 | if(href == path) 25 | { 26 | $(this).addClass('active'); 27 | $(that).addClass('active'); 28 | } 29 | }) 30 | } 31 | }) 32 | } 33 | console.log(path) 34 | })(); 35 | 36 | })(); -------------------------------------------------------------------------------- /src/main/resources/mapper/LiuyanbanMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | id, xingming, lianxidianhua, liuyanneirong, liuyanren, huifuneirong, addtime 16 | 17 | -------------------------------------------------------------------------------- /src/main/resources/mapper/XinwenxinxiMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | id, biaoti, fenlei, tupian, tianjiaren, dianjilv, neirong, addtime 17 | 18 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Diqu.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "diqu") 12 | public class Diqu implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "diqumingcheng") 19 | private String diqumingcheng; 20 | @Column(name = "addtime") 21 | private String addtime; 22 | 23 | 24 | private static final long serialVersionUID = 1L; 25 | 26 | public Integer getId() { 27 | return id; 28 | } 29 | 30 | public void setId(Integer id) { 31 | this.id = id; 32 | } 33 | 34 | 35 | 36 | public String getDiqumingcheng() { 37 | return diqumingcheng; 38 | } 39 | public void setDiqumingcheng(String diqumingcheng) { 40 | this.diqumingcheng = diqumingcheng == null ? "" : diqumingcheng.trim(); 41 | } 42 | 43 | public String getAddtime() { 44 | return addtime; 45 | } 46 | public void setAddtime(String addtime) { 47 | this.addtime = addtime == null ? "" : addtime.trim(); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Meishifenlei.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "meishifenlei") 12 | public class Meishifenlei implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "fenleimingcheng") 19 | private String fenleimingcheng; 20 | @Column(name = "addtime") 21 | private String addtime; 22 | 23 | 24 | private static final long serialVersionUID = 1L; 25 | 26 | public Integer getId() { 27 | return id; 28 | } 29 | 30 | public void setId(Integer id) { 31 | this.id = id; 32 | } 33 | 34 | 35 | 36 | public String getFenleimingcheng() { 37 | return fenleimingcheng; 38 | } 39 | public void setFenleimingcheng(String fenleimingcheng) { 40 | this.fenleimingcheng = fenleimingcheng == null ? "" : fenleimingcheng.trim(); 41 | } 42 | 43 | public String getAddtime() { 44 | return addtime; 45 | } 46 | public void setAddtime(String addtime) { 47 | this.addtime = addtime == null ? "" : addtime.trim(); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Xinwenfenlei.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "xinwenfenlei") 12 | public class Xinwenfenlei implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "fenleimingcheng") 19 | private String fenleimingcheng; 20 | @Column(name = "addtime") 21 | private String addtime; 22 | 23 | 24 | private static final long serialVersionUID = 1L; 25 | 26 | public Integer getId() { 27 | return id; 28 | } 29 | 30 | public void setId(Integer id) { 31 | this.id = id; 32 | } 33 | 34 | 35 | 36 | public String getFenleimingcheng() { 37 | return fenleimingcheng; 38 | } 39 | public void setFenleimingcheng(String fenleimingcheng) { 40 | this.fenleimingcheng = fenleimingcheng == null ? "" : fenleimingcheng.trim(); 41 | } 42 | 43 | public String getAddtime() { 44 | return addtime; 45 | } 46 | public void setAddtime(String addtime) { 47 | this.addtime = addtime == null ? "" : addtime.trim(); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /src/main/resources/mapper/DifangmeishiMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | id, meishibianhao, mingcheng, fujinjingdian, fenlei, tupian, jiage, meishijianjie, addtime 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/com/spring/controller/PaymentController.java: -------------------------------------------------------------------------------- 1 | package com.spring.controller; 2 | 3 | import dao.CommDAO; 4 | import net.jntoo.db.Query; 5 | import org.springframework.stereotype.Controller; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | import util.Request; 8 | 9 | import java.util.HashMap; 10 | 11 | @Controller 12 | public class PaymentController extends BaseController{ 13 | /** 14 | * 处理支付 15 | * @return String 16 | */ 17 | @RequestMapping("/payment") 18 | public String payment() 19 | { 20 | String id,biao; 21 | if(request.getParameter("out_trade_no")!=null) 22 | { 23 | String[] out_trade_no = request.getParameter("out_trade_no").split("\\-"); 24 | id = out_trade_no[2]; 25 | biao = out_trade_no[1]; 26 | 27 | }else{ 28 | id =request.getParameter("id"); 29 | biao =request.getParameter("biao"); 30 | } 31 | 32 | String sql = "update " + biao + " set iszf='是' where id='" + id + "'"; 33 | new CommDAO().commOper(sql); 34 | HashMap order = Query.make(biao).find(id); 35 | 36 | 37 | 38 | if("yuding".equals(biao)) 39 | { 40 | Query.execute("update yuding set zhuangtai='预定成功' where id='"+order.get("id")+"'"); 41 | 42 | 43 | } 44 | 45 | String referer = Request.get("referer").equals("") ? "sy.do" : Request.get("referer"); 46 | return showSuccess("支付成功",referer); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/com/spring/BootApplication.java: -------------------------------------------------------------------------------- 1 | package com.spring; 2 | 3 | import net.jntoo.util.AppUtil; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.boot.web.servlet.ServletRegistrationBean; 7 | import org.springframework.context.ConfigurableApplicationContext; 8 | import org.springframework.context.annotation.Bean; 9 | import org.springframework.web.servlet.DispatcherServlet; 10 | import tk.mybatis.spring.annotation.MapperScan; 11 | 12 | /** 13 | * application 启动类,也就是传说中的spring boot 启动类了 14 | */ 15 | @SpringBootApplication 16 | @MapperScan(basePackages = { "com.spring.dao" }) // mapper 扫描一下这个包 17 | public class BootApplication { 18 | static public ConfigurableApplicationContext content = null; 19 | public static void main(String[] args) { 20 | 21 | content = SpringApplication.run(BootApplication.class, args); 22 | //content.getBean(DataSource.class); 23 | AppUtil.bootstrap(BootApplication.class.getPackage().getName()+".util"); 24 | } 25 | /** 26 | * 设置匹配.do后缀的请求 27 | * @param dispatcherServlet 28 | * @return 29 | */ 30 | 31 | /* 32 | @Bean 33 | public ServletRegistrationBean servletRegistrationBean(DispatcherServlet dispatcherServlet) { 34 | ServletRegistrationBean bean = new ServletRegistrationBean(dispatcherServlet); 35 | bean.addUrlMappings("*.do"); 36 | return bean; 37 | } 38 | */ 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Admins.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "admins") 12 | public class Admins implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "username") 19 | private String username; 20 | @Column(name = "pwd") 21 | private String pwd; 22 | @Column(name = "addtime") 23 | private String addtime; 24 | 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | public Integer getId() { 29 | return id; 30 | } 31 | 32 | public void setId(Integer id) { 33 | this.id = id; 34 | } 35 | 36 | 37 | 38 | public String getUsername() { 39 | return username; 40 | } 41 | public void setUsername(String username) { 42 | this.username = username == null ? "" : username.trim(); 43 | } 44 | 45 | public String getPwd() { 46 | return pwd; 47 | } 48 | public void setPwd(String pwd) { 49 | this.pwd = pwd == null ? "" : pwd.trim(); 50 | } 51 | 52 | public String getAddtime() { 53 | return addtime; 54 | } 55 | public void setAddtime(String addtime) { 56 | this.addtime = addtime == null ? "" : addtime.trim(); 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /src/main/java/util/tld/QuerySql.java: -------------------------------------------------------------------------------- 1 | package util.tld; 2 | 3 | import dao.CommDAO; 4 | 5 | import javax.servlet.jsp.JspException; 6 | import javax.servlet.jsp.PageContext; 7 | import javax.servlet.jsp.tagext.JspFragment; 8 | import javax.servlet.jsp.tagext.SimpleTagSupport; 9 | import java.io.IOException; 10 | import java.io.StringWriter; 11 | import java.util.HashMap; 12 | import java.util.List; 13 | 14 | /** 15 | * jsp 页面ssm:sql 执行SQL语句 16 | */ 17 | public class QuerySql extends SimpleTagSupport { 18 | 19 | private String var; 20 | private String type; 21 | public String getVar() { 22 | return var; 23 | } 24 | public void setVar(String var) { 25 | this.var = var; 26 | } 27 | public String getType() { 28 | return type; 29 | } 30 | public void setType(String type) { 31 | this.type = type; 32 | } 33 | 34 | @Override 35 | public void doTag() throws JspException, IOException { 36 | JspFragment jf = this.getJspBody(); 37 | PageContext context = (PageContext)jf.getJspContext(); 38 | StringWriter sw = new StringWriter(); 39 | jf.invoke(sw); 40 | String sql = sw.getBuffer().toString(); 41 | 42 | 43 | if(type.equals("select")){ 44 | List list = new CommDAO().select(sql); 45 | context.setAttribute(var , list , PageContext.REQUEST_SCOPE); 46 | }else if(type.equals("find")){ 47 | HashMap list = new CommDAO().find(sql); 48 | context.setAttribute(var , list , PageContext.REQUEST_SCOPE); 49 | } 50 | //jf.invoke(null); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Youqinglianjie.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "youqinglianjie") 12 | public class Youqinglianjie implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "wangzhanmingcheng") 19 | private String wangzhanmingcheng; 20 | @Column(name = "wangzhi") 21 | private String wangzhi; 22 | @Column(name = "addtime") 23 | private String addtime; 24 | 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | public Integer getId() { 29 | return id; 30 | } 31 | 32 | public void setId(Integer id) { 33 | this.id = id; 34 | } 35 | 36 | 37 | 38 | public String getWangzhanmingcheng() { 39 | return wangzhanmingcheng; 40 | } 41 | public void setWangzhanmingcheng(String wangzhanmingcheng) { 42 | this.wangzhanmingcheng = wangzhanmingcheng == null ? "" : wangzhanmingcheng.trim(); 43 | } 44 | 45 | public String getWangzhi() { 46 | return wangzhi; 47 | } 48 | public void setWangzhi(String wangzhi) { 49 | this.wangzhi = wangzhi == null ? "" : wangzhi.trim(); 50 | } 51 | 52 | public String getAddtime() { 53 | return addtime; 54 | } 55 | public void setAddtime(String addtime) { 56 | this.addtime = addtime == null ? "" : addtime.trim(); 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /src/main/resources/mapper/YonghuMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | id, yonghuming, mima, xingming, xingbie, shouji, youxiang, shenfenzheng, touxiang, addtime 19 | 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Lunbotu.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "lunbotu") 12 | public class Lunbotu implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "title") 19 | private String title; 20 | @Column(name = "image") 21 | private String image; 22 | @Column(name = "url") 23 | private String url; 24 | @Column(name = "addtime") 25 | private String addtime; 26 | 27 | 28 | private static final long serialVersionUID = 1L; 29 | 30 | public Integer getId() { 31 | return id; 32 | } 33 | 34 | public void setId(Integer id) { 35 | this.id = id; 36 | } 37 | 38 | 39 | 40 | public String getTitle() { 41 | return title; 42 | } 43 | public void setTitle(String title) { 44 | this.title = title == null ? "" : title.trim(); 45 | } 46 | 47 | public String getImage() { 48 | return image; 49 | } 50 | public void setImage(String image) { 51 | this.image = image == null ? "" : image.trim(); 52 | } 53 | 54 | public String getUrl() { 55 | return url; 56 | } 57 | public void setUrl(String url) { 58 | this.url = url == null ? "" : url.trim(); 59 | } 60 | 61 | public String getAddtime() { 62 | return addtime; 63 | } 64 | public void setAddtime(String addtime) { 65 | this.addtime = addtime == null ? "" : addtime.trim(); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /src/main/resources/mapper/LvyouxianluMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | id, xianlubianhao, xianlumingcheng, tupian, chufadi, tujingdi, zhongdian, jiage, liulanliang, xianlutese, xianlujianjie, addtime 21 | 22 | -------------------------------------------------------------------------------- /src/main/java/com/spring/controller/IndexController.java: -------------------------------------------------------------------------------- 1 | package com.spring.controller; 2 | 3 | 4 | import org.springframework.beans.factory.annotation.Autowired; 5 | import org.springframework.stereotype.Controller; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | import util.*; 8 | import java.util.*; 9 | import dao.CommDAO; 10 | import net.jntoo.db.Query; 11 | import com.alibaba.fastjson.*; 12 | 13 | /** 14 | * 首页控制器 15 | */ 16 | @Controller 17 | public class IndexController extends BaseController{ 18 | 19 | // 首页 20 | @RequestMapping(value = {"/" , "index"}) 21 | public String Index() 22 | { 23 | 24 | ArrayList bhtList = Query.make("lunbotu").order("id desc").limit(5).select(); 25 | assign("bhtList" , bhtList); 26 | 27 | 28 | ArrayList jingdianxinxilist1 = Query.make("jingdianxinxi").limit(4).order("liulanliang desc").select(); 29 | assign("jingdianxinxilist1" , jingdianxinxilist1); 30 | 31 | 32 | ArrayList difangmeishilist2 = Query.make("difangmeishi").limit(4).order("id desc").select(); 33 | assign("difangmeishilist2" , difangmeishilist2); 34 | 35 | 36 | ArrayList lvyouxianlulist3 = Query.make("lvyouxianlu").limit(4).order("id desc").select(); 37 | assign("lvyouxianlulist3" , lvyouxianlulist3); 38 | 39 | 40 | ArrayList xinwenxinxilist4 = Query.make("xinwenxinxi").limit(4).order("id desc").select(); 41 | assign("xinwenxinxilist4" , xinwenxinxilist4); 42 | if(isAjax()) 43 | { 44 | return json(); 45 | } 46 | return "index"; 47 | 48 | } 49 | 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /src/main/resources/mapper/JingdianxinxiMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | id, jingdianbianhao, jingdianmingcheng, suoshudiqu, tupian, kaifangshijian, fujinmeishi, dizhi, piaojia, liulanliang, miaoshu, addtime 21 | 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### 联系方式(微信扫一扫): 2 | 2fc79856-4bde-42f0-a5ea-83281867fbbe 3 | 4 | ### 计算机毕设定制(直接点击链接):https://www.yuque.com/techninja/code/xrpvpxbu3y8fa3ey?singleDoc# 5 | 6 | #### 一、获取地址: 7 | 8 | #### 项目获取地址:https://www.666bear.com/12173.html 9 | 10 | **博主介绍:✌全网粉丝20W+,csdn特邀作者、Java领域优质创作者、csdn/掘金/哔哩哔哩/知乎/道客/小红书等平台优质作者,计算机毕设实战导师,目前专注于大学生项目实战开发,讲解,毕业答疑辅导✌工作室接计算机毕业设计程序开发、论文代写、代码讲解、出售成品源码等毕设服务,专业靠谱~** 11 | 12 | #### 作者QQ:3289948684 微信:bysj7626 (支持修改、 部署调试、 代做接毕业设计和课程设计) 13 | 14 | #### 接网站建设、小程序、H5、APP、各种系统、样式修改等 15 | 16 | #### 选题+开题报告+任务书+程序定制+安装调试+论文+答辩ppt 都可以做 17 | 18 | #### 有需求尽管甩过来!一条龙帮你安心过! 19 | 20 | #### 所有项目以及源代码本人均调试运行无问题 可支持远程调试运行 21 | 22 | 23 | #### 二、项目演示地址: 24 | 25 | https://www.bilibili.com/video/BV1KpCeBmEkz/?spm_id_from=333.1387.upload.video_card.click&vd_source=e51e8ec2fb03314ad9fa517492a2ce94 26 | 27 | #### 三、 项目介绍 28 | 29 | 基于SpringBoot的旅游服务网站的设计与实现, 30 | 31 | 包含前台用户模块与后台管理员模块,具体功能如下: 32 | 1. 前台用户模块 33 | 基础功能模块:首页、旅游景点、美食信息、酒店客房、演出活动、旅游路线、旅游攻略、公告信息、旅游资讯(个人中心功能未展开,通常包含账户管理、订单管理等) 34 | 2. 后台管理员模块 35 | 全流程管理功能:系统首页、个人中心、用户管理、景点类型管理、旅游景点管理、门票预订管理、门票退订管理、美食类型管理、美食信息管理、美食预订管理、美食退订管理、酒店类型管理、酒店客房管理、酒店预订管理、酒店退订管理、演出类型管理、演出活动管理、演出订票管理、演出退票管理、旅游路线管理、旅游攻略管理、公告信息管理、系统管理 36 | 该网站聚焦旅游服务场景,通过前台用户获取旅游相关信息(景点、美食、酒店等),后台管理员统筹各类旅游资源与预订业务,实现旅游服务从信息展示到预订退订的全流程数字化,为用户提供一站式旅游信息与服务支持。 37 | 38 | #### 四、项目技术 39 | 40 | 是否前后端分离项目:是 41 | 42 | 后端: SpringBoot+Mybatis-Plus 43 | 44 | 前端:Vue + Vue Router + ELementUI + Axios 45 | 46 | #### 五、 运行环境 47 | 48 | 开发语言:Java 49 | 50 | 项目架构:B/S架构 51 | 52 | 开发工具:IDEA,Eclipse,Myeclipse都可以。推荐IDEA 53 | 54 | JDK版本:1.8 55 | 56 | 数据库: MySQL5.7 57 | 58 | Tomcat环境:Tomcat 7.x,8.x,9.x版本均可 59 | 60 | 项目管理:Maven 61 | 62 | 63 | 64 | #### 六、安装教程 65 | 66 | 1.使用Navicat或者其它工具,在mysql中创建对应名称的数据库,并导入数据库脚本里面的sql文件. 67 | 68 | 2.使用IDEA/Eclipse/MyEclipse导入项目,Ecipse/MyEclipse导入时 69 | 70 | 3.将项目中config.properties中的数据库配置改为自己的配置 71 | 72 | 4.启动项目 73 | -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 关闭缓存,及时刷新,上线生产环境需要修改为true 2 | spring.datasource.username=root 3 | spring.datasource.password=123 4 | #spring.datasource.url=jdbc:mysql://localhost:3306/spbootvue07987lyxxtjxtsjysx?useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true 5 | #以下为mysql8.0以上使用 6 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 7 | spring.datasource.url=jdbc:mysql://localhost:3306/tourism?useUnicode=true&characterEncoding=UTF-8&useSSL=FALSE&serverTimezone=UTC&useOldAliasMetadataBehavior=true 8 | #spring.datasource.driver-class-name=com.mysql.jdbc.Driver 9 | 10 | #初始化连接 11 | spring.datasource.initial-size=10 12 | #最大空闲连接 13 | spring.datasource.max-idle=20 14 | #最小空闲连接 15 | spring.datasource.min-idle=5 16 | #最大连接数量 17 | spring.datasource.max-active=50 18 | #是否在自动回收超时连接的时候打印连接的超时错误 19 | spring.datasource.log-abandoned=true 20 | #是否自动回收超时连接 21 | spring.datasource.remove-abandoned=true 22 | #超时时间(以秒数为单位) 23 | spring.datasource.remove-abandoned-timeout=180 24 | ## 25 | spring.datasource.max-wait=1000 26 | spring.datasource.test-while-idle=true 27 | #检测数据库的查询语句 28 | spring.datasource.validation-query=select 1 29 | spring.datasource.test-on-borrow=true 30 | #每隔五分钟检测空闲超过10分钟的连接 31 | spring.datasource.min-evictable-idle-time-millis=600000 32 | spring.datasource.time-between-eviction-runs-millis=300000 33 | 34 | 35 | spring.mvc.view.prefix=/ 36 | spring.mvc.view.suffix=.jsp 37 | spring.mvc.pathmatch.use-suffix-pattern=false 38 | spring.mvc.pathmatch.use-registered-suffix-pattern=true 39 | spring.mvc.contentnegotiation.favor-path-extension=false 40 | 41 | server.port=8088 42 | server.servlet.context-path=/ 43 | 44 | 45 | 46 | # 整合mybatis 47 | mybatis.type-aliases-package=com.spring.boot.entity 48 | mybatis.mapper-locations=classpath:mapper/*.xml 49 | 50 | 51 | mapper.mappers=com.base.MapperBase 52 | mapper.not-empty=false 53 | mapper.identity=MYSQL 54 | 55 | #分页插件 56 | pagehelper.reasonable=true 57 | pagehelper.supportMethodsArguments=true 58 | pagehelper.params=count=countSql 59 | 60 | # 设置文件上传无限制 61 | spring.servlet.multipart.maxFileSize=-1 62 | spring.servlet.multipart.maxRequestSize=-1 63 | -------------------------------------------------------------------------------- /src/main/java/com/spring/controller/UploadController.java: -------------------------------------------------------------------------------- 1 | package com.spring.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | import org.springframework.web.multipart.MultipartFile; 6 | 7 | import java.io.File; 8 | import java.text.SimpleDateFormat; 9 | import java.util.Date; 10 | import java.util.UUID; 11 | 12 | /** 13 | * 上传控制器 14 | */ 15 | @Controller 16 | public class UploadController extends BaseController{ 17 | 18 | /** 19 | * 上传文件 20 | * @param fujian 21 | * @return 22 | * @throws Exception 23 | */ 24 | @RequestMapping(value = "/upload_re") 25 | public String Upload(MultipartFile fujian) throws Exception 26 | { 27 | String fileName = fujian.getOriginalFilename(); 28 | String suffixName = fileName.substring(fileName.lastIndexOf(".")); 29 | fileName = UUID.randomUUID()+suffixName; 30 | String filePath = getFolder("upload"); 31 | 32 | try{ 33 | File file = new File(getPhysicalPath(filePath)+"/"+fileName); 34 | fujian.transferTo(file); 35 | request.setAttribute("url",filePath+"/"+fileName); 36 | if(isAjax()) 37 | { 38 | return jsonResult(request.getAttribute("url")); 39 | } 40 | return "upload"; 41 | }catch (Exception e){ 42 | return showError(e.getMessage()); 43 | } 44 | } 45 | 46 | private String getFolder(String path) { 47 | SimpleDateFormat formater = new SimpleDateFormat("yyyyMMdd"); 48 | path += "/" + formater.format(new Date()); 49 | File dir = new File(this.getPhysicalPath(path)); 50 | if (!dir.exists()) { 51 | try { 52 | dir.mkdirs(); 53 | } catch (Exception e) { 54 | return ""; 55 | } 56 | } 57 | return path; 58 | } 59 | 60 | /** 61 | * 根据传入的虚拟路径获取物理路径 62 | * 63 | * @param path 64 | * @return 65 | */ 66 | private String getPhysicalPath(String path) { 67 | String servletPath = this.request.getServletPath(); 68 | String realPath = this.request.getSession().getServletContext() 69 | .getRealPath(servletPath); 70 | return new File(realPath).getParent() +"/" +path; 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /src/main/resources/mapper/YudingMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | id, lvyouxianluid, xianlubianhao, xianlumingcheng, chufadi, tujingdi, zhongdian, jiage, dingdanhao, yudingshijian, yudingrenxingming, lianxifangshi, zhuangtai, beizhu, yudingren, addtime, iszf 26 | 27 | -------------------------------------------------------------------------------- /src/main/java/com/spring/interceptor/TokenInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.spring.interceptor; 2 | import javax.servlet.http.HttpServletRequest; 3 | import javax.servlet.http.HttpServletResponse; 4 | import javax.servlet.http.HttpSession; 5 | 6 | import com.alibaba.fastjson.JSON; 7 | import com.alibaba.fastjson.JSONObject; 8 | import dao.Query; 9 | import org.springframework.web.servlet.HandlerInterceptor; 10 | import org.springframework.web.servlet.ModelAndView; 11 | import util.Info; 12 | 13 | import java.util.Map; 14 | 15 | public class TokenInterceptor implements HandlerInterceptor { 16 | /** 17 | * 在请求处理之前进行调用(Controller方法调用之前) 18 | */ 19 | @Override 20 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) { 21 | 22 | String token = request.getHeader("token"); 23 | if(token != null && !token.equals("") && request.getSession().getAttribute("id") == null) 24 | { 25 | HttpSession session = request.getSession(); 26 | //处理session 27 | Map tokenInfo = Query.make("token").where("token" , token).where("token_time" , ">" , Info.getDateStr()).find(); 28 | if(!tokenInfo.isEmpty()){ 29 | session.setAttribute("cx" , tokenInfo.get("cx")); 30 | session.setAttribute("login" , tokenInfo.get("login")); 31 | session.setAttribute("username" , tokenInfo.get("username")); 32 | session.setAttribute("id" , tokenInfo.get("id")); 33 | JSONObject session1 = JSON.parseObject(tokenInfo.get("session")); 34 | for( Map.Entry entry :session1.entrySet()) 35 | { 36 | session.setAttribute(entry.getKey() , entry.getValue()); 37 | } 38 | } 39 | } 40 | return true;//如果设置为false时,被请求时,拦截器执行到此处将不会继续操作 41 | //如果设置为true时,请求将会继续执行后面的操作 42 | } 43 | 44 | /** 45 | * 请求处理之后进行调用,但是在视图被渲染之前(Controller方法调用之后) 46 | */ 47 | @Override 48 | public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) { 49 | // System.out.println("执行了TestInterceptor的postHandle方法"); 50 | } 51 | 52 | /** 53 | * 在整个请求结束之后被调用,也就是在DispatcherServlet 渲染了对应的视图之后执行(主要是用于进行资源清理工作) 54 | */ 55 | @Override 56 | public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) { 57 | // System.out.println("执行了TestInterceptor的afterCompletion方法"); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Liuyanban.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "liuyanban") 12 | public class Liuyanban implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "xingming") 19 | private String xingming; 20 | @Column(name = "lianxidianhua") 21 | private String lianxidianhua; 22 | @Column(name = "liuyanneirong") 23 | private String liuyanneirong; 24 | @Column(name = "liuyanren") 25 | private String liuyanren; 26 | @Column(name = "huifuneirong") 27 | private String huifuneirong; 28 | @Column(name = "addtime") 29 | private String addtime; 30 | 31 | 32 | private static final long serialVersionUID = 1L; 33 | 34 | public Integer getId() { 35 | return id; 36 | } 37 | 38 | public void setId(Integer id) { 39 | this.id = id; 40 | } 41 | 42 | 43 | 44 | public String getXingming() { 45 | return xingming; 46 | } 47 | public void setXingming(String xingming) { 48 | this.xingming = xingming == null ? "" : xingming.trim(); 49 | } 50 | 51 | public String getLianxidianhua() { 52 | return lianxidianhua; 53 | } 54 | public void setLianxidianhua(String lianxidianhua) { 55 | this.lianxidianhua = lianxidianhua == null ? "" : lianxidianhua.trim(); 56 | } 57 | 58 | public String getLiuyanneirong() { 59 | return liuyanneirong; 60 | } 61 | public void setLiuyanneirong(String liuyanneirong) { 62 | this.liuyanneirong = liuyanneirong == null ? "" : liuyanneirong.trim(); 63 | } 64 | 65 | public String getLiuyanren() { 66 | return liuyanren; 67 | } 68 | public void setLiuyanren(String liuyanren) { 69 | this.liuyanren = liuyanren == null ? "" : liuyanren.trim(); 70 | } 71 | 72 | public String getHuifuneirong() { 73 | return huifuneirong; 74 | } 75 | public void setHuifuneirong(String huifuneirong) { 76 | this.huifuneirong = huifuneirong == null ? "" : huifuneirong.trim(); 77 | } 78 | 79 | public String getAddtime() { 80 | return addtime; 81 | } 82 | public void setAddtime(String addtime) { 83 | this.addtime = addtime == null ? "" : addtime.trim(); 84 | } 85 | 86 | } 87 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Xinwenxinxi.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "xinwenxinxi") 12 | public class Xinwenxinxi implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "biaoti") 19 | private String biaoti; 20 | @Column(name = "fenlei") 21 | private String fenlei; 22 | @Column(name = "tupian") 23 | private String tupian; 24 | @Column(name = "tianjiaren") 25 | private String tianjiaren; 26 | @Column(name = "dianjilv") 27 | private Integer dianjilv; 28 | @Column(name = "neirong") 29 | private String neirong; 30 | @Column(name = "addtime") 31 | private String addtime; 32 | 33 | 34 | private static final long serialVersionUID = 1L; 35 | 36 | public Integer getId() { 37 | return id; 38 | } 39 | 40 | public void setId(Integer id) { 41 | this.id = id; 42 | } 43 | 44 | 45 | 46 | public String getBiaoti() { 47 | return biaoti; 48 | } 49 | public void setBiaoti(String biaoti) { 50 | this.biaoti = biaoti == null ? "" : biaoti.trim(); 51 | } 52 | 53 | public String getFenlei() { 54 | return fenlei; 55 | } 56 | public void setFenlei(String fenlei) { 57 | this.fenlei = fenlei == null ? "" : fenlei.trim(); 58 | } 59 | 60 | public String getTupian() { 61 | return tupian; 62 | } 63 | public void setTupian(String tupian) { 64 | this.tupian = tupian == null ? "" : tupian.trim(); 65 | } 66 | 67 | public String getTianjiaren() { 68 | return tianjiaren; 69 | } 70 | public void setTianjiaren(String tianjiaren) { 71 | this.tianjiaren = tianjiaren == null ? "" : tianjiaren.trim(); 72 | } 73 | 74 | public Integer getDianjilv() { 75 | return dianjilv; 76 | } 77 | public void setDianjilv(Integer dianjilv) { 78 | this.dianjilv = dianjilv == null ? 0 : dianjilv; 79 | } 80 | 81 | public String getNeirong() { 82 | return neirong; 83 | } 84 | public void setNeirong(String neirong) { 85 | this.neirong = neirong == null ? "" : neirong.trim(); 86 | } 87 | 88 | public String getAddtime() { 89 | return addtime; 90 | } 91 | public void setAddtime(String addtime) { 92 | this.addtime = addtime == null ? "" : addtime.trim(); 93 | } 94 | 95 | } 96 | -------------------------------------------------------------------------------- /src/main/webapp/mod.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" pageEncoding="UTF-8"%> 2 | <%@ page language="java" import="java.util.*"%> 3 | <%@page import="util.*"%> 4 | <%@page import="net.jntoo.db.*"%> 5 | <%@ taglib prefix="ssm" uri="http://ssm" %> 6 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 7 | 8 | 9 | <%@ include file="head.jsp" %> 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 |
18 |
19 | 修改密码: 20 |
21 |
22 |
23 | 24 |
25 |
26 | 27 |
28 | 29 | 30 | 31 |
32 | 33 |
34 |
35 |
36 |
37 | 38 |
39 | 40 | 41 | 42 |
43 | 44 |
45 |
46 |
47 |
48 | 49 |
50 | 51 | 52 | 53 |
54 | 55 |
56 |
57 |
58 | 59 | 60 | 63 | 66 | 67 |
68 | 69 |
70 |
71 |
72 | 73 |
74 | 75 | 76 | 77 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | <%@ include file="foot.jsp" %> 89 | 90 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Shoucangjilu.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import java.io.Serializable; 4 | import java.util.Date; 5 | import java.util.Map; 6 | import javax.persistence.*; 7 | 8 | @Table(name = "shoucangjilu") 9 | public class Shoucangjilu implements Serializable { 10 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 11 | @Id 12 | @Column(name = "id",insertable=false) 13 | private Integer id; 14 | 15 | private String username; 16 | 17 | private Integer xwid; 18 | 19 | private String biao; 20 | 21 | private String ziduan; 22 | private String biaoti; 23 | private String url; 24 | private String addtime; 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | /** 29 | * @return id 30 | */ 31 | public Integer getId() { 32 | return id; 33 | } 34 | 35 | public String getBiaoti() { 36 | return biaoti; 37 | } 38 | 39 | public void setBiaoti(String biaoti) { 40 | this.biaoti = biaoti; 41 | } 42 | 43 | public String getUrl() { 44 | return url; 45 | } 46 | 47 | public void setUrl(String url) { 48 | this.url = url; 49 | } 50 | 51 | /** 52 | * @param id 53 | */ 54 | public void setId(Integer id) { 55 | this.id = id; 56 | } 57 | 58 | /** 59 | * @return username 60 | */ 61 | public String getUsername() { 62 | return username; 63 | } 64 | 65 | /** 66 | * @param username 67 | */ 68 | public void setUsername(String username) { 69 | this.username = username == null ? null : username.trim(); 70 | } 71 | 72 | /** 73 | * @return xwid 74 | */ 75 | public Integer getXwid() { 76 | return xwid; 77 | } 78 | 79 | /** 80 | * @param xwid 81 | */ 82 | public void setXwid(Integer xwid) { 83 | this.xwid = xwid; 84 | } 85 | 86 | /** 87 | * @return biao 88 | */ 89 | public String getBiao() { 90 | return biao; 91 | } 92 | 93 | /** 94 | * @param biao 95 | */ 96 | public void setBiao(String biao) { 97 | this.biao = biao == null ? null : biao.trim(); 98 | } 99 | 100 | /** 101 | * @return ziduan 102 | */ 103 | public String getZiduan() { 104 | return ziduan; 105 | } 106 | 107 | /** 108 | * @param ziduan 109 | */ 110 | public void setZiduan(String ziduan) { 111 | this.ziduan = ziduan == null ? null : ziduan.trim(); 112 | } 113 | 114 | /** 115 | * @return addtime 116 | */ 117 | public String getAddtime() { 118 | return addtime; 119 | } 120 | 121 | /** 122 | * @param addtime 123 | */ 124 | public void setAddtime(String addtime) { 125 | this.addtime = addtime; 126 | } 127 | } -------------------------------------------------------------------------------- /src/main/java/com/base/ServiceBase.java: -------------------------------------------------------------------------------- 1 | package com.base; 2 | 3 | import com.github.pagehelper.PageHelper; 4 | import com.github.pagehelper.PageInfo; 5 | import com.spring.util.CollectList; 6 | import tk.mybatis.mapper.common.Mapper; 7 | import tk.mybatis.mapper.entity.Example; 8 | import util.Request; 9 | 10 | import java.util.List; 11 | 12 | /** 13 | * 抽象Service基本类实现接口 14 | * @param 15 | */ 16 | abstract public class ServiceBase { 17 | 18 | /** 19 | * 虚函数,派生类必须继承 20 | * @return 21 | */ 22 | abstract protected Mapper getDao(); 23 | 24 | /** 25 | * 搜索数据 26 | * @return 27 | */ 28 | public List select() { 29 | return getDao().select(null); 30 | } 31 | 32 | /** 33 | * 根据实体类搜索数据 34 | * @param y 35 | * @return 36 | */ 37 | public List select(E y) { 38 | return getDao().select(y); 39 | } 40 | 41 | /** 42 | * 根据主键获取实体类 43 | * @param id 44 | * @return 45 | */ 46 | public E find(Object id) { 47 | return getDao().selectByPrimaryKey(id); 48 | } 49 | 50 | /** 51 | * 根据实体类获取实体类 52 | * @param id 53 | * @return 54 | */ 55 | public E findEntity(E id) 56 | { 57 | return getDao().selectOne(id); 58 | } 59 | 60 | /** 61 | * 搜索分页 62 | * @param obj 63 | * @param page 64 | * @param pageSize 65 | * @return 66 | */ 67 | public List selectPage(E obj, int page, int pageSize) { 68 | //int count = dao.selectCount(obj); 69 | 70 | PageHelper.startPage(page , pageSize , true); 71 | List list = select(obj); 72 | PageInfo pageInfo = new PageInfo(list); 73 | new CollectList(pageInfo.getTotal() , pageSize , page); 74 | return list; 75 | } 76 | /** 77 | * 根据Example搜索分页 78 | * @param obj 79 | * @param page 80 | * @param pageSize 81 | * @return 82 | */ 83 | public List selectPageExample(Example obj , int page , int pageSize) 84 | { 85 | PageHelper.startPage(page , pageSize , true); 86 | List list = getDao().selectByExample(obj); 87 | PageInfo pageInfo = new PageInfo(list); 88 | new CollectList(pageInfo.getTotal() , pageSize , page); 89 | return list; 90 | } 91 | 92 | /** 93 | * 根据主键删除一行数据 94 | * @param id 95 | * @return 96 | */ 97 | public int delete(Object id) 98 | { 99 | return getDao().deleteByPrimaryKey(id); 100 | } 101 | 102 | /** 103 | * 插入实体类 104 | * @param y 105 | * @return 106 | */ 107 | public int insert(E y) { 108 | return getDao().insertSelective(y); 109 | } 110 | 111 | /** 112 | * 更新实体类 113 | * @param y 114 | * @return 115 | */ 116 | public int update(E y) { 117 | return getDao().updateByPrimaryKeySelective(y); 118 | } 119 | } 120 | -------------------------------------------------------------------------------- /src/main/java/util/Timer.java: -------------------------------------------------------------------------------- 1 | package util; 2 | 3 | import java.text.ParseException; 4 | import java.text.SimpleDateFormat; 5 | import java.util.Calendar; 6 | import java.util.Date; 7 | /** 8 | * 日期处理类 9 | */ 10 | public class Timer { 11 | 12 | /** 13 | * 获取某日期的上个月开始日期 14 | * @param currentDate 15 | * @param format 16 | * @return 17 | */ 18 | public static Date getPrevMonthStartDate(String currentDate , String format){ 19 | SimpleDateFormat sdf = new SimpleDateFormat(format); 20 | Calendar c = Calendar.getInstance(); 21 | try { 22 | c.setTime(sdf.parse(currentDate)); 23 | c.add(Calendar.MONTH, -1); 24 | //设置为1号,当前日期既为本月第一天 25 | c.set(Calendar.DAY_OF_MONTH, 1); 26 | } catch (ParseException e) { 27 | e.printStackTrace(); 28 | } 29 | return c.getTime(); 30 | } 31 | /** 32 | * 获取某日期的上个月结束日期 33 | * @param date 34 | * @param format 35 | * @return 36 | */ 37 | public static Date getPrevMonthEndDate(String date , String format){ 38 | SimpleDateFormat sdf = new SimpleDateFormat(format); 39 | Calendar c = Calendar.getInstance(); 40 | try { 41 | c.setTime(sdf.parse(date)); 42 | c.add(Calendar.MONTH , -1); 43 | c.set(Calendar.DAY_OF_MONTH, c.getActualMaximum(Calendar.DAY_OF_MONTH)); 44 | c.set(Calendar.HOUR_OF_DAY, 23); 45 | c.set(Calendar.MINUTE, 59); 46 | c.set(Calendar.SECOND, 59); 47 | } catch (ParseException e) { 48 | e.printStackTrace(); 49 | } 50 | return c.getTime(); 51 | } 52 | /** 53 | * 获取某日期的 当前月开始日期 54 | * @param currentDate 55 | * @param format 56 | * @return 57 | */ 58 | public static Date getMonthStartDate(String currentDate , String format){ 59 | SimpleDateFormat sdf = new SimpleDateFormat(format); 60 | Calendar c = Calendar.getInstance(); 61 | try { 62 | c.setTime(sdf.parse(currentDate)); 63 | c.add(Calendar.MONTH, 0); 64 | //设置为1号,当前日期既为本月第一天 65 | c.set(Calendar.DAY_OF_MONTH, 1); 66 | } catch (ParseException e) { 67 | e.printStackTrace(); 68 | } 69 | return c.getTime(); 70 | } 71 | 72 | /** 73 | * 获取某日期的 当前月结束日期 74 | * @param date 75 | * @param format 76 | * @return 77 | */ 78 | public static Date getMonthEndDate(String date , String format) 79 | { 80 | SimpleDateFormat sdf = new SimpleDateFormat(format); 81 | Calendar c = Calendar.getInstance(); 82 | try { 83 | c.setTime(sdf.parse(date)); 84 | c.set(Calendar.DAY_OF_MONTH, c.getActualMaximum(Calendar.DAY_OF_MONTH)); 85 | c.set(Calendar.HOUR_OF_DAY, 23); 86 | c.set(Calendar.MINUTE, 59); 87 | c.set(Calendar.SECOND, 59); 88 | } catch (ParseException e) { 89 | e.printStackTrace(); 90 | } 91 | return c.getTime(); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /src/main/java/util/Request.java: -------------------------------------------------------------------------------- 1 | package util; 2 | 3 | import org.springframework.web.context.request.RequestContextHolder; 4 | import org.springframework.web.context.request.ServletRequestAttributes; 5 | 6 | import javax.servlet.http.HttpServletRequest; 7 | import javax.servlet.http.HttpServletResponse; 8 | 9 | /** 10 | * 获取前端提交的参数 11 | */ 12 | public class Request { 13 | 14 | /** 15 | * 获取HttpServletRequest 类的实体 16 | * @return 17 | */ 18 | static public HttpServletRequest getRequest() 19 | { 20 | return ((ServletRequestAttributes) RequestContextHolder 21 | .getRequestAttributes()).getRequest(); 22 | } 23 | /** 24 | * 获取HttpServletResponse 类的实体 25 | * @return 26 | */ 27 | static public HttpServletResponse getResponse() 28 | { 29 | return ((ServletRequestAttributes) RequestContextHolder 30 | .getRequestAttributes()).getResponse(); 31 | } 32 | 33 | 34 | /** 35 | * 获取参数 36 | * @param name 37 | * @return 38 | */ 39 | static public String get(String name) 40 | { 41 | String[] value = getRequest().getParameterValues(name); 42 | return value == null || value.length==0 ? "" : StringUtil.join(",",value); 43 | } 44 | /** 45 | * 获取URL 整数参数,默认为0 46 | * @param name 47 | * @return 48 | */ 49 | static public int getInt(String name) 50 | { 51 | String value = get(name , "0"); 52 | return value.equals("") ? 0 : Integer.valueOf(value).intValue(); 53 | } 54 | /** 55 | * 获取URL 整数参数,默认为0 56 | * @param name 57 | * @param def 默认值 58 | * @return 59 | */ 60 | static public int getInt(String name , int def) 61 | { 62 | String value = get(name , String.valueOf(def)); 63 | return value.equals("") ? def : Integer.valueOf(value).intValue(); 64 | } 65 | 66 | /** 67 | * 获取URL 浮点数参数 68 | * @param name 69 | * @return 70 | */ 71 | static public double getDouble(String name) 72 | { 73 | String value = get(name , "0"); 74 | return value.equals("") ? 0.0f : Double.valueOf(value).doubleValue(); 75 | } 76 | 77 | /** 78 | * 获取URL 浮点数参数 79 | * @param name 80 | * @param def 默认值 81 | * @return 82 | */ 83 | static public double getDouble(String name , double def) 84 | { 85 | String value = get(name , String.valueOf(def)); 86 | return value.equals("") ? 0.0f : Double.valueOf(value).doubleValue(); 87 | } 88 | 89 | 90 | 91 | /** 92 | * 获取Url 字符串参数 93 | * @param name 94 | * @param def 默认值 95 | * @return 96 | */ 97 | static public String get(String name, String def) 98 | { 99 | if(def == null) 100 | { 101 | def = ""; 102 | } 103 | String[] value = getRequest().getParameterValues(name); 104 | return value == null || value.length==0 ? def : StringUtil.join(",",value); 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Difangmeishi.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "difangmeishi") 12 | public class Difangmeishi implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "meishibianhao") 19 | private String meishibianhao; 20 | @Column(name = "mingcheng") 21 | private String mingcheng; 22 | @Column(name = "fujinjingdian") 23 | private String fujinjingdian; 24 | @Column(name = "fenlei") 25 | private String fenlei; 26 | @Column(name = "tupian") 27 | private String tupian; 28 | @Column(name = "jiage") 29 | private Double jiage; 30 | @Column(name = "meishijianjie") 31 | private String meishijianjie; 32 | @Column(name = "addtime") 33 | private String addtime; 34 | 35 | 36 | private static final long serialVersionUID = 1L; 37 | 38 | public Integer getId() { 39 | return id; 40 | } 41 | 42 | public void setId(Integer id) { 43 | this.id = id; 44 | } 45 | 46 | 47 | 48 | public String getMeishibianhao() { 49 | return meishibianhao; 50 | } 51 | public void setMeishibianhao(String meishibianhao) { 52 | this.meishibianhao = meishibianhao == null ? "" : meishibianhao.trim(); 53 | } 54 | 55 | public String getMingcheng() { 56 | return mingcheng; 57 | } 58 | public void setMingcheng(String mingcheng) { 59 | this.mingcheng = mingcheng == null ? "" : mingcheng.trim(); 60 | } 61 | 62 | public String getFujinjingdian() { 63 | return fujinjingdian; 64 | } 65 | public void setFujinjingdian(String fujinjingdian) { 66 | this.fujinjingdian = fujinjingdian == null ? "" : fujinjingdian.trim(); 67 | } 68 | 69 | public String getFenlei() { 70 | return fenlei; 71 | } 72 | public void setFenlei(String fenlei) { 73 | this.fenlei = fenlei == null ? "" : fenlei.trim(); 74 | } 75 | 76 | public String getTupian() { 77 | return tupian; 78 | } 79 | public void setTupian(String tupian) { 80 | this.tupian = tupian == null ? "" : tupian.trim(); 81 | } 82 | 83 | public Double getJiage() { 84 | return jiage; 85 | } 86 | public void setJiage(Double jiage) { 87 | this.jiage = jiage == null ? 0.0f : jiage; 88 | } 89 | 90 | public String getMeishijianjie() { 91 | return meishijianjie; 92 | } 93 | public void setMeishijianjie(String meishijianjie) { 94 | this.meishijianjie = meishijianjie == null ? "" : meishijianjie.trim(); 95 | } 96 | 97 | public String getAddtime() { 98 | return addtime; 99 | } 100 | public void setAddtime(String addtime) { 101 | this.addtime = addtime == null ? "" : addtime.trim(); 102 | } 103 | 104 | } 105 | -------------------------------------------------------------------------------- /src/main/webapp/js/layer/mobile/layer.js: -------------------------------------------------------------------------------- 1 | /*! layer mobile-v2.0.0 Web弹层组件 MIT License http://layer.layui.com/mobile By 贤心 */ 2 | ;!function(e){"use strict";var t=document,n="querySelectorAll",i="getElementsByClassName",a=function(e){return t[n](e)},s={type:0,shade:!0,shadeClose:!0,fixed:!0,anim:"scale"},l={extend:function(e){var t=JSON.parse(JSON.stringify(s));for(var n in e)t[n]=e[n];return t},timer:{},end:{}};l.touch=function(e,t){e.addEventListener("click",function(e){t.call(this,e)},!1)};var r=0,o=["layui-m-layer"],c=function(e){var t=this;t.config=l.extend(e),t.view()};c.prototype.view=function(){var e=this,n=e.config,s=t.createElement("div");e.id=s.id=o[0]+r,s.setAttribute("class",o[0]+" "+o[0]+(n.type||0)),s.setAttribute("index",r);var l=function(){var e="object"==typeof n.title;return n.title?'

'+(e?n.title[0]:n.title)+"

":""}(),c=function(){"string"==typeof n.btn&&(n.btn=[n.btn]);var e,t=(n.btn||[]).length;return 0!==t&&n.btn?(e=''+n.btn[0]+"",2===t&&(e=''+n.btn[1]+""+e),'
'+e+"
"):""}();if(n.fixed||(n.top=n.hasOwnProperty("top")?n.top:100,n.style=n.style||"",n.style+=" top:"+(t.body.scrollTop+n.top)+"px"),2===n.type&&(n.content='

'+(n.content||"")+"

"),n.skin&&(n.anim="up"),"msg"===n.skin&&(n.shade=!1),s.innerHTML=(n.shade?"
':"")+'
"+l+'
'+n.content+"
"+c+"
",!n.type||2===n.type){var d=t[i](o[0]+n.type),y=d.length;y>=1&&layer.close(d[0].getAttribute("index"))}document.body.appendChild(s);var u=e.elem=a("#"+e.id)[0];n.success&&n.success(u),e.index=r++,e.action(n,u)},c.prototype.action=function(e,t){var n=this;e.time&&(l.timer[n.index]=setTimeout(function(){layer.close(n.index)},1e3*e.time));var a=function(){var t=this.getAttribute("type");0==t?(e.no&&e.no(),layer.close(n.index)):e.yes?e.yes(n.index):layer.close(n.index)};if(e.btn)for(var s=t[i]("layui-m-layerbtn")[0].children,r=s.length,o=0;o list = service.selectPageExample(example , page , 15); 63 | if(isAjax()){ 64 | return json(); 65 | } 66 | return "shoucangjilu_list"; 67 | } 68 | 69 | /** 70 | * 查看我的收藏 71 | * @return 72 | */ 73 | @RequestMapping("/shoucangjilu_list2") 74 | public String index2() 75 | { 76 | int page = Math.max(Integer.valueOf(Request.get("page" , "1")) , 1); 77 | Example example = new Example(Shoucangjilu.class); 78 | Example.Criteria criteria = example.createCriteria(); 79 | criteria.andEqualTo("username" , request.getSession().getAttribute("username")); 80 | List list = service.selectPageExample(example , page , 15); 81 | assign("list" , list); 82 | if(isAjax()){ 83 | return json(); 84 | } 85 | return "shoucangjilu_list"; 86 | } 87 | 88 | /** 89 | * 删除收藏 90 | * @return 91 | */ 92 | @RequestMapping("/shoucangjilu_delete") 93 | public String delete() 94 | { 95 | String id = Request.get("id"); 96 | service.delete(id); 97 | return showSuccess("删除成功"); 98 | } 99 | 100 | } 101 | -------------------------------------------------------------------------------- /src/main/java/com/spring/util/CollectList.java: -------------------------------------------------------------------------------- 1 | package com.spring.util; 2 | 3 | import net.jntoo.annotation.QueryCollect; 4 | import net.jntoo.db.Collect; 5 | import util.Request; 6 | 7 | import javax.servlet.http.HttpServletRequest; 8 | import java.io.UnsupportedEncodingException; 9 | import java.net.URLEncoder; 10 | import java.util.HashMap; 11 | import java.util.Map; 12 | 13 | /** 14 | * 根据库jntoo-query.jar要求写代码 15 | */ 16 | @QueryCollect 17 | public class CollectList extends Collect { 18 | 19 | protected HttpServletRequest request; 20 | 21 | public CollectList(Long count, Integer pagesize) { 22 | super(count , pagesize); 23 | } 24 | 25 | public CollectList(Long count, Integer pagesize, Integer page) 26 | { 27 | super(count, pagesize, page); 28 | } 29 | 30 | /** 31 | * 获取url 规则 32 | * @return 33 | */ 34 | @Override 35 | protected String getRequestUrlPath() { 36 | request = Request.getRequest(); 37 | String queryString = request.getQueryString(); 38 | if(queryString == null){ 39 | queryString = ""; 40 | } 41 | StringBuffer buffer = new StringBuffer(queryString.length()+16); 42 | String requestURI = request.getRequestURI(); 43 | buffer.append(requestURI).append("?"); 44 | Map param = request.getParameterMap(); 45 | String name = ""; 46 | String value = ""; 47 | boolean isSearchPage = false; 48 | int page = -1; 49 | 50 | for (Map.Entry entry : param.entrySet()) { 51 | try{ 52 | name = entry.getKey(); 53 | String[] values = entry.getValue(); 54 | 55 | if(name.equals("page")){ 56 | page = Integer.valueOf(values[0]).intValue(); 57 | buffer.append(name).append("=").append("{page}").append("&"); 58 | isSearchPage = true; 59 | } else if (null == values) { 60 | buffer.append(name).append("=").append("&"); 61 | } else if (values.length>1) { 62 | for (int i = 0; i < values.length; i++) { //用于请求参数中有多个相同名称 63 | value = URLEncoder.encode(values[i] , "UTF-8"); 64 | buffer.append(name).append("=").append(value).append("&"); 65 | } 66 | //value = value.substring(0, value.length() - 1); 67 | } else { 68 | value = URLEncoder.encode(values[0] , "UTF-8"); 69 | buffer.append(name).append("=").append(value).append("&");//用于请求参数中请求参数名唯一 70 | } 71 | }catch (UnsupportedEncodingException e){ 72 | e.printStackTrace(); 73 | } 74 | } 75 | if(this.page == -1){ 76 | this.page = page; 77 | } 78 | this.page = Math.max(this.page , 1); 79 | 80 | if(!isSearchPage){ 81 | buffer.append("page={page}&"); 82 | } 83 | String result = buffer.toString(); 84 | return result.substring(0 , result.length()-1); 85 | } 86 | 87 | /** 88 | * 分页渲染完成后处理 89 | */ 90 | @Override 91 | protected void readerReady() { 92 | String info = getInfo(); 93 | HashMap map = new HashMap(); 94 | map.put("info" , info); 95 | request.setAttribute("page" , map); 96 | request.setAttribute("totalCount" , count); 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/util/StringUtil.java: -------------------------------------------------------------------------------- 1 | package util; 2 | 3 | import java.util.Iterator; 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | /** 8 | * 字符串处理工具 9 | */ 10 | public class StringUtil { 11 | 12 | /** 13 | * 将数组或列表,转换成:a,b,c,d 这样的字符串“,”根据des 变换 14 | * @param des 15 | * @param list 16 | * @return 17 | */ 18 | public static String join(String des , Object list){ 19 | StringBuffer buffer = new StringBuffer(); 20 | 21 | if(list instanceof int[]) { 22 | int[] var = (int[]) list; 23 | for(int i=0;i0){ 25 | buffer.append(des); 26 | } 27 | buffer.append(var[i]); 28 | } 29 | }else if(list instanceof long[]) { 30 | long[] var = (long[]) list; 31 | for(int i=0;i0){ 33 | buffer.append(des); 34 | } 35 | buffer.append(var[i]); 36 | } 37 | }else if(list instanceof double[]) { 38 | double[] var = (double[]) list; 39 | for(int i=0;i0){ 41 | buffer.append(des); 42 | } 43 | buffer.append(var[i]); 44 | } 45 | }else if(list instanceof float[]) { 46 | float[] var = (float[]) list; 47 | for(int i=0;i0){ 49 | buffer.append(des); 50 | } 51 | buffer.append(var[i]); 52 | } 53 | }else if(list instanceof String[]) { 54 | String[] var = (String[]) list; 55 | for(int i=0;i0){ 57 | buffer.append(des); 58 | } 59 | buffer.append(var[i]); 60 | } 61 | }else if(list instanceof boolean[]) { 62 | boolean[] var = (boolean[]) list; 63 | for(int i=0;i0){ 65 | buffer.append(des); 66 | } 67 | buffer.append(var[i]?"true" : "false"); 68 | } 69 | }else if(list instanceof List){ 70 | List var = (List) list; 71 | for(int i=0;i0){ 73 | buffer.append(des); 74 | } 75 | buffer.append(var.get(i)); 76 | } 77 | }else if(list instanceof Map){ 78 | Map var = (Map) list; 79 | Iterator entries = var.entrySet().iterator(); 80 | int i=0; 81 | while (entries.hasNext()) { 82 | if(i>0){ 83 | buffer.append(des); 84 | } 85 | Map.Entry entry = (Map.Entry) entries.next(); 86 | Object value = entry.getValue(); 87 | buffer.append(value); 88 | i++; 89 | } 90 | }else if(list instanceof Iterable) 91 | { 92 | Iterator it = ((Iterable)list).iterator(); 93 | int i=0; 94 | while(it.hasNext()){ 95 | if(i > 0) buffer.append(des); 96 | Object str = it.next(); 97 | buffer.append(str); 98 | i++; 99 | } 100 | } 101 | 102 | return buffer.toString(); 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/sql.tld: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | A tag library exercising SimpleTag handlers. 8 | 1.0 9 | ssm 10 | http://ssm 11 | 12 | 13 | sql 14 | util.tld.QuerySql 15 | scriptless 16 | 17 | var 18 | true 19 | false 20 | 21 | 22 | type 23 | true 24 | false 25 | 26 | 27 | 28 | 获取图片列表的第一张 29 | Info_images 30 | util.Info 31 | java.lang.String images(java.lang.String) 32 | ${ssm:Info_images()} 33 | 34 | 35 | 获取地址 36 | Info_address 37 | util.Info 38 | java.lang.String address(java.lang.String) 39 | ${ssm:Info_address()} 40 | 41 | 42 | 获取单页内容 43 | Info_dx 44 | util.Info 45 | java.lang.String dx(java.lang.String,int) 46 | ${ssm:Info_dx()} 47 | 48 | 49 | 获取编号 50 | Info_getID 51 | util.Info 52 | java.lang.String getID() 53 | ${ssm:Info_getID()} 54 | 55 | 56 | 截取字符串 57 | Info_subStr 58 | util.Info 59 | java.lang.String subStr(java.lang.String,int) 60 | ${ssm:Info_subStr()} 61 | 62 | 63 | 获取当前时间 64 | Info_getDateStr 65 | util.Info 66 | java.lang.String getDateStr() 67 | ${ssm:Info_getDateStr()} 68 | 69 | 70 | 71 | 格式化内容 72 | Info_html 73 | util.Info 74 | java.lang.String html(java.lang.String) 75 | ${ssm:Info_delHTMLTag()} 76 | 77 | 78 | 格式化内容 79 | Info_delHTMLTag 80 | util.Info 81 | java.lang.String delHTMLTag(java.lang.String) 82 | ${ssm:Info_delHTMLTag()} 83 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Jingdianxinxi.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "jingdianxinxi") 12 | public class Jingdianxinxi implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "jingdianbianhao") 19 | private String jingdianbianhao; 20 | @Column(name = "jingdianmingcheng") 21 | private String jingdianmingcheng; 22 | @Column(name = "suoshudiqu") 23 | private String suoshudiqu; 24 | @Column(name = "tupian") 25 | private String tupian; 26 | @Column(name = "kaifangshijian") 27 | private String kaifangshijian; 28 | @Column(name = "fujinmeishi") 29 | private String fujinmeishi; 30 | @Column(name = "dizhi") 31 | private String dizhi; 32 | @Column(name = "piaojia") 33 | private Double piaojia; 34 | @Column(name = "liulanliang") 35 | private Integer liulanliang; 36 | @Column(name = "miaoshu") 37 | private String miaoshu; 38 | @Column(name = "addtime") 39 | private String addtime; 40 | 41 | 42 | private static final long serialVersionUID = 1L; 43 | 44 | public Integer getId() { 45 | return id; 46 | } 47 | 48 | public void setId(Integer id) { 49 | this.id = id; 50 | } 51 | 52 | 53 | 54 | public String getJingdianbianhao() { 55 | return jingdianbianhao; 56 | } 57 | public void setJingdianbianhao(String jingdianbianhao) { 58 | this.jingdianbianhao = jingdianbianhao == null ? "" : jingdianbianhao.trim(); 59 | } 60 | 61 | public String getJingdianmingcheng() { 62 | return jingdianmingcheng; 63 | } 64 | public void setJingdianmingcheng(String jingdianmingcheng) { 65 | this.jingdianmingcheng = jingdianmingcheng == null ? "" : jingdianmingcheng.trim(); 66 | } 67 | 68 | public String getSuoshudiqu() { 69 | return suoshudiqu; 70 | } 71 | public void setSuoshudiqu(String suoshudiqu) { 72 | this.suoshudiqu = suoshudiqu == null ? "" : suoshudiqu.trim(); 73 | } 74 | 75 | public String getTupian() { 76 | return tupian; 77 | } 78 | public void setTupian(String tupian) { 79 | this.tupian = tupian == null ? "" : tupian.trim(); 80 | } 81 | 82 | public String getKaifangshijian() { 83 | return kaifangshijian; 84 | } 85 | public void setKaifangshijian(String kaifangshijian) { 86 | this.kaifangshijian = kaifangshijian == null ? "" : kaifangshijian.trim(); 87 | } 88 | 89 | public String getFujinmeishi() { 90 | return fujinmeishi; 91 | } 92 | public void setFujinmeishi(String fujinmeishi) { 93 | this.fujinmeishi = fujinmeishi == null ? "" : fujinmeishi.trim(); 94 | } 95 | 96 | public String getDizhi() { 97 | return dizhi; 98 | } 99 | public void setDizhi(String dizhi) { 100 | this.dizhi = dizhi == null ? "" : dizhi.trim(); 101 | } 102 | 103 | public Double getPiaojia() { 104 | return piaojia; 105 | } 106 | public void setPiaojia(Double piaojia) { 107 | this.piaojia = piaojia == null ? 0.0f : piaojia; 108 | } 109 | 110 | public Integer getLiulanliang() { 111 | return liulanliang; 112 | } 113 | public void setLiulanliang(Integer liulanliang) { 114 | this.liulanliang = liulanliang == null ? 0 : liulanliang; 115 | } 116 | 117 | public String getMiaoshu() { 118 | return miaoshu; 119 | } 120 | public void setMiaoshu(String miaoshu) { 121 | this.miaoshu = miaoshu == null ? "" : miaoshu.trim(); 122 | } 123 | 124 | public String getAddtime() { 125 | return addtime; 126 | } 127 | public void setAddtime(String addtime) { 128 | this.addtime = addtime == null ? "" : addtime.trim(); 129 | } 130 | 131 | } 132 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Lvyouxianlu.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "lvyouxianlu") 12 | public class Lvyouxianlu implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "xianlubianhao") 19 | private String xianlubianhao; 20 | @Column(name = "xianlumingcheng") 21 | private String xianlumingcheng; 22 | @Column(name = "tupian") 23 | private String tupian; 24 | @Column(name = "chufadi") 25 | private String chufadi; 26 | @Column(name = "tujingdi") 27 | private String tujingdi; 28 | @Column(name = "zhongdian") 29 | private String zhongdian; 30 | @Column(name = "jiage") 31 | private Double jiage; 32 | @Column(name = "liulanliang") 33 | private Integer liulanliang; 34 | @Column(name = "xianlutese") 35 | private String xianlutese; 36 | @Column(name = "xianlujianjie") 37 | private String xianlujianjie; 38 | @Column(name = "addtime") 39 | private String addtime; 40 | 41 | 42 | private static final long serialVersionUID = 1L; 43 | 44 | public Integer getId() { 45 | return id; 46 | } 47 | 48 | public void setId(Integer id) { 49 | this.id = id; 50 | } 51 | 52 | public Long getYudingCount() 53 | { 54 | return Query.make("yuding").where("lvyouxianluid" , id).count(); 55 | } 56 | 57 | 58 | public String getXianlubianhao() { 59 | return xianlubianhao; 60 | } 61 | public void setXianlubianhao(String xianlubianhao) { 62 | this.xianlubianhao = xianlubianhao == null ? "" : xianlubianhao.trim(); 63 | } 64 | 65 | public String getXianlumingcheng() { 66 | return xianlumingcheng; 67 | } 68 | public void setXianlumingcheng(String xianlumingcheng) { 69 | this.xianlumingcheng = xianlumingcheng == null ? "" : xianlumingcheng.trim(); 70 | } 71 | 72 | public String getTupian() { 73 | return tupian; 74 | } 75 | public void setTupian(String tupian) { 76 | this.tupian = tupian == null ? "" : tupian.trim(); 77 | } 78 | 79 | public String getChufadi() { 80 | return chufadi; 81 | } 82 | public void setChufadi(String chufadi) { 83 | this.chufadi = chufadi == null ? "" : chufadi.trim(); 84 | } 85 | 86 | public String getTujingdi() { 87 | return tujingdi; 88 | } 89 | public void setTujingdi(String tujingdi) { 90 | this.tujingdi = tujingdi == null ? "" : tujingdi.trim(); 91 | } 92 | 93 | public String getZhongdian() { 94 | return zhongdian; 95 | } 96 | public void setZhongdian(String zhongdian) { 97 | this.zhongdian = zhongdian == null ? "" : zhongdian.trim(); 98 | } 99 | 100 | public Double getJiage() { 101 | return jiage; 102 | } 103 | public void setJiage(Double jiage) { 104 | this.jiage = jiage == null ? 0.0f : jiage; 105 | } 106 | 107 | public Integer getLiulanliang() { 108 | return liulanliang; 109 | } 110 | public void setLiulanliang(Integer liulanliang) { 111 | this.liulanliang = liulanliang == null ? 0 : liulanliang; 112 | } 113 | 114 | public String getXianlutese() { 115 | return xianlutese; 116 | } 117 | public void setXianlutese(String xianlutese) { 118 | this.xianlutese = xianlutese == null ? "" : xianlutese.trim(); 119 | } 120 | 121 | public String getXianlujianjie() { 122 | return xianlujianjie; 123 | } 124 | public void setXianlujianjie(String xianlujianjie) { 125 | this.xianlujianjie = xianlujianjie == null ? "" : xianlujianjie.trim(); 126 | } 127 | 128 | public String getAddtime() { 129 | return addtime; 130 | } 131 | public void setAddtime(String addtime) { 132 | this.addtime = addtime == null ? "" : addtime.trim(); 133 | } 134 | 135 | } 136 | -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/skin/default/datepicker.css: -------------------------------------------------------------------------------- 1 | /* 2 | * My97 DatePicker 4.8 3 | */ 4 | 5 | .WdateDiv{ 6 | width:180px; 7 | background-color:#FFFFFF; 8 | border:#bbb 1px solid; 9 | padding:2px; 10 | } 11 | 12 | .WdateDiv2{ 13 | width:360px; 14 | } 15 | .WdateDiv *{font-size:9pt;} 16 | 17 | .WdateDiv .NavImg a{ 18 | display:block; 19 | cursor:pointer; 20 | height:16px; 21 | width:16px; 22 | } 23 | 24 | .WdateDiv .NavImgll a{ 25 | float:left; 26 | background:transparent url(img.gif) no-repeat scroll 0 0; 27 | } 28 | .WdateDiv .NavImgl a{ 29 | float:left; 30 | background:transparent url(img.gif) no-repeat scroll -16px 0; 31 | } 32 | .WdateDiv .NavImgr a{ 33 | float:right; 34 | background:transparent url(img.gif) no-repeat scroll -32px 0; 35 | } 36 | .WdateDiv .NavImgrr a{ 37 | float:right; 38 | background:transparent url(img.gif) no-repeat scroll -48px 0; 39 | } 40 | 41 | .WdateDiv #dpTitle{ 42 | height:24px; 43 | margin-bottom:2px; 44 | padding:1px; 45 | } 46 | 47 | .WdateDiv .yminput{ 48 | margin-top:2px; 49 | text-align:center; 50 | height:20px; 51 | border:0px; 52 | width:50px; 53 | cursor:pointer; 54 | } 55 | 56 | .WdateDiv .yminputfocus{ 57 | margin-top:2px; 58 | text-align:center; 59 | font-weight:bold; 60 | height:20px; 61 | color:blue; 62 | border:#ccc 1px solid; 63 | width:50px; 64 | } 65 | 66 | .WdateDiv .menuSel{ 67 | z-index:1; 68 | position:absolute; 69 | background-color:#FFFFFF; 70 | border:#ccc 1px solid; 71 | display:none; 72 | } 73 | 74 | .WdateDiv .menu{ 75 | cursor:pointer; 76 | background-color:#fff; 77 | } 78 | 79 | .WdateDiv .menuOn{ 80 | cursor:pointer; 81 | background-color:#BEEBEE; 82 | } 83 | 84 | .WdateDiv .invalidMenu{ 85 | color:#aaa; 86 | } 87 | 88 | .WdateDiv .YMenu{ 89 | margin-top:20px; 90 | 91 | } 92 | 93 | .WdateDiv .MMenu{ 94 | margin-top:20px; 95 | *width:62px; 96 | } 97 | 98 | .WdateDiv .hhMenu{ 99 | margin-top:-90px; 100 | margin-left:26px; 101 | } 102 | 103 | .WdateDiv .mmMenu{ 104 | margin-top:-46px; 105 | margin-left:26px; 106 | } 107 | 108 | .WdateDiv .ssMenu{ 109 | margin-top:-24px; 110 | margin-left:26px; 111 | } 112 | 113 | .WdateDiv .Wweek { 114 | text-align:center; 115 | background:#DAF3F5; 116 | border-right:#BDEBEE 1px solid; 117 | } 118 | 119 | .WdateDiv .MTitle{ 120 | background-color:#BDEBEE; 121 | } 122 | .WdateDiv .WdayTable2{ 123 | border-collapse:collapse; 124 | border:#c5d9e8 1px solid; 125 | } 126 | .WdateDiv .WdayTable2 table{ 127 | border:0; 128 | } 129 | 130 | .WdateDiv .WdayTable{ 131 | line-height:20px; 132 | border:#c5d9e8 1px solid; 133 | } 134 | .WdateDiv .WdayTable td{ 135 | text-align:center; 136 | } 137 | 138 | .WdateDiv .Wday{ 139 | cursor:pointer; 140 | } 141 | 142 | .WdateDiv .WdayOn{ 143 | cursor:pointer; 144 | background-color:#C0EBEF; 145 | } 146 | 147 | .WdateDiv .Wwday{ 148 | cursor:pointer; 149 | color:#FF2F2F; 150 | } 151 | 152 | .WdateDiv .WwdayOn{ 153 | cursor:pointer; 154 | color:#000; 155 | background-color:#C0EBEF; 156 | } 157 | .WdateDiv .Wtoday{ 158 | cursor:pointer; 159 | color:blue; 160 | } 161 | .WdateDiv .Wselday{ 162 | background-color:#A9E4E9; 163 | } 164 | .WdateDiv .WspecialDay{ 165 | background-color:#66F4DF; 166 | } 167 | 168 | .WdateDiv .WotherDay{ 169 | cursor:pointer; 170 | color:#6A6AFF; 171 | } 172 | 173 | .WdateDiv .WotherDayOn{ 174 | cursor:pointer; 175 | background-color:#C0EBEF; 176 | } 177 | 178 | .WdateDiv .WinvalidDay{ 179 | color:#aaa; 180 | } 181 | 182 | .WdateDiv #dpTime{ 183 | float:left; 184 | margin-top:3px; 185 | margin-right:30px; 186 | } 187 | 188 | .WdateDiv #dpTime #dpTimeStr{ 189 | margin-left:1px; 190 | } 191 | 192 | .WdateDiv #dpTime input{ 193 | width:18px; 194 | height:20px; 195 | text-align:center; 196 | border:#ccc 1px solid; 197 | } 198 | 199 | .WdateDiv #dpTime .tB{ 200 | border-right:0px; 201 | } 202 | 203 | .WdateDiv #dpTime .tE{ 204 | border-left:0; 205 | border-right:0; 206 | } 207 | 208 | .WdateDiv #dpTime .tm{ 209 | width:7px; 210 | border-left:0; 211 | border-right:0; 212 | } 213 | 214 | .WdateDiv #dpTime #dpTimeUp{ 215 | height:10px; 216 | width:13px; 217 | border:0px; 218 | background:url(img.gif) no-repeat -32px -16px; 219 | } 220 | 221 | .WdateDiv #dpTime #dpTimeDown{ 222 | height:10px; 223 | width:13px; 224 | border:0px; 225 | background:url(img.gif) no-repeat -48px -16px; 226 | } 227 | 228 | .WdateDiv #dpQS { 229 | float:left; 230 | margin-right:3px; 231 | margin-top:3px; 232 | background:url(img.gif) no-repeat 0px -16px; 233 | width:20px; 234 | height:20px; 235 | cursor:pointer; 236 | } 237 | .WdateDiv #dpControl { 238 | text-align:right; 239 | } 240 | .WdateDiv .dpButton{ 241 | height:20px; 242 | width:45px; 243 | border:#ccc 1px solid; 244 | margin-top:2px; 245 | margin-right:1px; 246 | } -------------------------------------------------------------------------------- /src/main/java/util/DownloadRemoteImage.java: -------------------------------------------------------------------------------- 1 | package util; 2 | 3 | 4 | import javax.servlet.http.HttpServletRequest; 5 | import java.io.File; 6 | import java.io.FileOutputStream; 7 | import java.io.InputStream; 8 | import java.net.URL; 9 | import java.net.URLConnection; 10 | import java.util.ArrayList; 11 | import java.util.Date; 12 | import java.util.List; 13 | import java.util.regex.Matcher; 14 | import java.util.regex.Pattern; 15 | 16 | /** 17 | * 下周远程图片类,编辑器里面的图片保存在本地 18 | */ 19 | public class DownloadRemoteImage { 20 | private static final String ECODING = "UTF-8"; 21 | private static final String IMGURL_REG = "]*?>"; 22 | private static final String IMGSRC_REG = "(http|https):\"?(.*?)(\"|>|\\s+)"; 23 | 24 | /** 25 | * 执行下载远程图片 26 | * @param content 27 | * @return 28 | */ 29 | public static String run(String content) 30 | { 31 | HttpServletRequest request = Request.getRequest(); 32 | 33 | String path = "./upload"; 34 | 35 | DownloadRemoteImage image = new DownloadRemoteImage(); 36 | 37 | List imgUrl = image.getImageUrl(content); 38 | 39 | String text = image.getImageSrc(content , imgUrl , path); 40 | //List imgSrc = image.getImageSrc(imgUrl); 41 | //image.Download(imgSrc,path); 42 | return text; 43 | } 44 | 45 | 46 | /*** 47 | * 获取ImageUrl地址 48 | * 49 | * @param HTML 50 | * @return 51 | */ 52 | private List getImageUrl(String HTML) { 53 | Matcher matcher = Pattern.compile(IMGURL_REG).matcher(HTML); 54 | List listImgUrl = new ArrayList(); 55 | while (matcher.find()) { 56 | listImgUrl.add(matcher.group()); 57 | } 58 | return listImgUrl; 59 | } 60 | 61 | /*** 62 | * 获取ImageSrc地址 63 | * 64 | * @param listImageUrl 65 | * @return 66 | */ 67 | private String getImageSrc(String content , List listImageUrl , String path) { 68 | //List listImgSrc = new ArrayList(); 69 | 70 | for (String image : listImageUrl) { 71 | Matcher matcher = Pattern.compile(IMGSRC_REG).matcher(image); 72 | while (matcher.find()) { 73 | String src = matcher.group().substring(0, matcher.group().length() - 1); 74 | String newsFile = download(src , path); 75 | if(newsFile!= null){ 76 | content = content.replace(src , newsFile); 77 | } 78 | } 79 | } 80 | return content; 81 | } 82 | 83 | private static long downloadIndex = 1; 84 | 85 | /** 86 | * 根据url 生成保存的文件名 87 | * @param url 88 | * @return 89 | */ 90 | private String getFileName( String url ) 91 | { 92 | //URL u = new URL(url); 93 | String ext = "png"; 94 | String filename = new Date().getTime()+downloadIndex + "."+ext; 95 | downloadIndex++; 96 | return filename; 97 | } 98 | 99 | /** 100 | * 下载远程图片 101 | * @param url 102 | * @param path 103 | * @return 104 | */ 105 | private String download(String url, String path) { 106 | String result = ""; 107 | String imageName = ""; 108 | try { 109 | if(url.indexOf("http")>=0){ 110 | imageName = getFileName( url ); //url.substring(url.lastIndexOf("/") + 1, url.length()); 111 | URL uri = new URL(url); 112 | 113 | URLConnection conn = uri.openConnection(); 114 | conn.setRequestProperty("Referer" , url); 115 | conn.setRequestProperty("User-Agent" , "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36"); 116 | conn.setDoInput(true); 117 | 118 | InputStream in = conn.getInputStream(); 119 | 120 | 121 | HttpServletRequest request = Request.getRequest(); 122 | String paths = request.getSession().getServletContext().getRealPath(path); 123 | 124 | FileOutputStream fo = new FileOutputStream(new File(paths,imageName)); 125 | byte[] buf = new byte[1024]; 126 | int length = 0; 127 | System.out.println("开始下载:" + url); 128 | while ((length = in.read(buf, 0, buf.length)) != -1) { 129 | fo.write(buf, 0, length); 130 | } 131 | in.close(); 132 | fo.close(); 133 | System.out.println(path+"/"+imageName + "下载完成"); 134 | } 135 | } catch (Exception e) { 136 | System.out.println("下载失败"); 137 | return null; 138 | } 139 | return path+"/"+imageName; 140 | } 141 | 142 | 143 | } 144 | -------------------------------------------------------------------------------- /src/main/java/dao/CommDAO.java: -------------------------------------------------------------------------------- 1 | package dao; 2 | 3 | import com.spring.util.QueryConnection; 4 | import net.jntoo.db.Query; 5 | 6 | import java.sql.*; 7 | import java.util.ArrayList; 8 | import java.util.HashMap; 9 | import java.util.List; 10 | 11 | /** 12 | * 数据库操作类 13 | */ 14 | public class CommDAO { 15 | /** 16 | * 获取链接类 17 | * @return 18 | */ 19 | static public Connection getConn() 20 | { 21 | return new QueryConnection().getConnect(); 22 | } 23 | 24 | /** 25 | * 根据sql语句查询一行数据 26 | * @param sql 27 | * @return 28 | */ 29 | public HashMap find(String sql) { 30 | HashMap map = new HashMap(); 31 | 32 | //List list = new ArrayList(); 33 | try { 34 | Statement st = getConn().createStatement(); 35 | ResultSet rs = st.executeQuery(sql); 36 | ResultSetMetaData rsmd = rs.getMetaData(); 37 | while (rs.next()) { 38 | //HashMap map = new HashMap(); 39 | int i = rsmd.getColumnCount(); 40 | for (int j = 1; j <= i; j++) { 41 | if (!rsmd.getColumnName(j).equals("ID")) { 42 | String str = rs.getString(j) == null ? "" : rs.getString(j); 43 | if (str.equals("null")) str = ""; 44 | map.put(rsmd.getColumnName(j), str); 45 | } else 46 | map.put("id", rs.getString(j)); 47 | } 48 | //list.add(map); 49 | break; 50 | } 51 | rs.close(); 52 | st.close(); 53 | System.out.println(sql); 54 | } catch (SQLException e) { 55 | // TODO Auto-generated catch block 56 | //e.printStackTrace(); 57 | int code = e.getErrorCode(); 58 | String message = e.getMessage(); 59 | System.err.println("SQL execute Error:"+sql); 60 | System.err.println("code:"+code); 61 | System.err.println("Message:"+message); 62 | } 63 | return map; 64 | } 65 | 66 | /** 67 | * 执行sql 68 | * @param sql 69 | * @return 70 | */ 71 | public long commOper(String sql) { 72 | 73 | long autoInsertId = -1; 74 | try { 75 | Statement st = getConn().createStatement(); 76 | st.executeUpdate(sql , Statement.RETURN_GENERATED_KEYS); 77 | ResultSet rs = st.getGeneratedKeys(); 78 | while(rs.next()){ 79 | autoInsertId = rs.getLong(1); 80 | } 81 | rs.close(); 82 | st.close(); 83 | System.out.println(sql); 84 | } catch (SQLException e) { 85 | // TODO Auto-generated catch block 86 | //e.printStackTrace(); 87 | int code = e.getErrorCode(); 88 | String message = e.getMessage(); 89 | System.err.println("SQL execute Error:"+sql); 90 | System.err.println("code:"+code); 91 | System.err.println("Message:"+message); 92 | } 93 | return autoInsertId; 94 | } 95 | 96 | 97 | /** 98 | * 99 | * @param sql 100 | * @return 101 | */ 102 | public List select(String sql) { 103 | 104 | List list = new ArrayList(); 105 | try { 106 | Statement st = getConn().createStatement(); 107 | ResultSet rs = st.executeQuery(sql); 108 | ResultSetMetaData rsmd = rs.getMetaData(); 109 | 110 | while (rs.next()) { 111 | HashMap map = new HashMap(); 112 | int i = rsmd.getColumnCount(); 113 | for (int j = 1; j <= i; j++) { 114 | if (!rsmd.getColumnName(j).equals("ID")) { 115 | String str = rs.getString(j) == null ? "" : rs.getString(j); 116 | if (str.equals("null")) str = ""; 117 | map.put(rsmd.getColumnName(j), str); 118 | } else 119 | map.put("id", rs.getString(j)); 120 | } 121 | list.add(map); 122 | } 123 | rs.close(); 124 | st.close(); 125 | System.out.println(sql); 126 | } catch (SQLException e) { 127 | // TODO Auto-generated catch block 128 | if (sql.equals("show tables")) 129 | list = select("select table_name from INFORMATION_SCHEMA.tables"); 130 | else{ 131 | int code = e.getErrorCode(); 132 | String message = e.getMessage(); 133 | System.err.println("SQL execute Error:"+sql); 134 | System.err.println("code:"+code); 135 | System.err.println("Message:"+message); 136 | } 137 | //e.printStackTrace(); 138 | } 139 | return list; 140 | } 141 | } 142 | -------------------------------------------------------------------------------- /src/main/webapp/js/datepicker/skin/whyGreen/datepicker.css: -------------------------------------------------------------------------------- 1 | /* 2 | * My97 DatePicker 4.8 Skin:whyGreen 3 | */ 4 | .WdateDiv{ 5 | width:180px; 6 | background-color:#fff; 7 | border:#C5E1E4 1px solid; 8 | padding:2px; 9 | } 10 | 11 | .WdateDiv2{ 12 | width:360px; 13 | } 14 | .WdateDiv *{font-size:9pt;} 15 | 16 | .WdateDiv .NavImg a{ 17 | cursor:pointer; 18 | display:block; 19 | width:16px; 20 | height:16px; 21 | margin-top:1px; 22 | } 23 | 24 | .WdateDiv .NavImgll a{ 25 | float:left; 26 | background:url(img.gif) no-repeat; 27 | } 28 | .WdateDiv .NavImgl a{ 29 | float:left; 30 | background:url(img.gif) no-repeat -16px 0px; 31 | } 32 | .WdateDiv .NavImgr a{ 33 | float:right; 34 | background:url(img.gif) no-repeat -32px 0px; 35 | } 36 | .WdateDiv .NavImgrr a{ 37 | float:right; 38 | background:url(img.gif) no-repeat -48px 0px; 39 | } 40 | 41 | .WdateDiv #dpTitle{ 42 | height:24px; 43 | padding:1px; 44 | border:#c5d9e8 1px solid; 45 | background:url(bg.jpg); 46 | margin-bottom:2px; 47 | } 48 | 49 | .WdateDiv .yminput{ 50 | margin-top:2px; 51 | text-align:center; 52 | border:0px; 53 | height:20px; 54 | width:50px; 55 | color:#034c50; 56 | background-color:transparent; 57 | cursor:pointer; 58 | } 59 | 60 | .WdateDiv .yminputfocus{ 61 | margin-top:2px; 62 | text-align:center; 63 | border:#939393 1px solid; 64 | font-weight:bold; 65 | color:#034c50; 66 | height:20px; 67 | width:50px; 68 | } 69 | 70 | .WdateDiv .menuSel{ 71 | z-index:1; 72 | position:absolute; 73 | background-color:#FFFFFF; 74 | border:#A3C6C8 1px solid; 75 | display:none; 76 | } 77 | 78 | .WdateDiv .menu{ 79 | cursor:pointer; 80 | background-color:#fff; 81 | color:#11777C; 82 | } 83 | 84 | .WdateDiv .menuOn{ 85 | cursor:pointer; 86 | background-color:#BEEBEE; 87 | } 88 | 89 | .WdateDiv .invalidMenu{ 90 | color:#aaa; 91 | } 92 | 93 | .WdateDiv .YMenu{ 94 | margin-top:20px; 95 | } 96 | 97 | .WdateDiv .MMenu{ 98 | margin-top:20px; 99 | *width:62px; 100 | } 101 | 102 | .WdateDiv .hhMenu{ 103 | margin-top:-90px; 104 | margin-left:26px; 105 | } 106 | 107 | .WdateDiv .mmMenu{ 108 | margin-top:-46px; 109 | margin-left:26px; 110 | } 111 | 112 | .WdateDiv .ssMenu{ 113 | margin-top:-24px; 114 | margin-left:26px; 115 | } 116 | 117 | .WdateDiv .Wweek { 118 | text-align:center; 119 | background:#DAF3F5; 120 | border-right:#BDEBEE 1px solid; 121 | } 122 | 123 | .WdateDiv .MTitle{ 124 | color:#13777e; 125 | background-color:#bdebee; 126 | } 127 | .WdateDiv .WdayTable2{ 128 | border-collapse:collapse; 129 | border:#BEE9F0 1px solid; 130 | } 131 | .WdateDiv .WdayTable2 table{ 132 | border:0; 133 | } 134 | 135 | .WdateDiv .WdayTable{ 136 | line-height:20px; 137 | color:#13777e; 138 | background-color:#edfbfb; 139 | border:#BEE9F0 1px solid; 140 | } 141 | .WdateDiv .WdayTable td{ 142 | text-align:center; 143 | } 144 | 145 | .WdateDiv .Wday{ 146 | cursor:pointer; 147 | } 148 | 149 | .WdateDiv .WdayOn{ 150 | cursor:pointer; 151 | background-color:#74d2d9 ; 152 | } 153 | 154 | .WdateDiv .Wwday{ 155 | cursor:pointer; 156 | color:#ab1e1e; 157 | } 158 | 159 | .WdateDiv .WwdayOn{ 160 | cursor:pointer; 161 | background-color:#74d2d9; 162 | } 163 | .WdateDiv .Wtoday{ 164 | cursor:pointer; 165 | color:blue; 166 | } 167 | .WdateDiv .Wselday{ 168 | background-color:#A7E2E7; 169 | } 170 | .WdateDiv .WspecialDay{ 171 | background-color:#66F4DF; 172 | } 173 | 174 | .WdateDiv .WotherDay{ 175 | cursor:pointer; 176 | color:#0099CC; 177 | } 178 | 179 | .WdateDiv .WotherDayOn{ 180 | cursor:pointer; 181 | background-color:#C0EBEF; 182 | } 183 | 184 | .WdateDiv .WinvalidDay{ 185 | color:#aaa; 186 | } 187 | 188 | .WdateDiv #dpTime{ 189 | float:left; 190 | margin-top:3px; 191 | margin-right:30px; 192 | } 193 | 194 | .WdateDiv #dpTime #dpTimeStr{ 195 | margin-left:1px; 196 | color:#497F7F; 197 | } 198 | 199 | .WdateDiv #dpTime input{ 200 | height:20px; 201 | width:18px; 202 | text-align:center; 203 | color:#333; 204 | border:#61CAD0 1px solid; 205 | } 206 | 207 | .WdateDiv #dpTime .tB{ 208 | border-right:0px; 209 | } 210 | 211 | .WdateDiv #dpTime .tE{ 212 | border-left:0; 213 | border-right:0; 214 | } 215 | 216 | .WdateDiv #dpTime .tm{ 217 | width:7px; 218 | border-left:0; 219 | border-right:0; 220 | } 221 | 222 | .WdateDiv #dpTime #dpTimeUp{ 223 | height:10px; 224 | width:13px; 225 | border:0px; 226 | background:url(img.gif) no-repeat -32px -16px; 227 | } 228 | 229 | .WdateDiv #dpTime #dpTimeDown{ 230 | height:10px; 231 | width:13px; 232 | border:0px; 233 | background:url(img.gif) no-repeat -48px -16px; 234 | } 235 | 236 | .WdateDiv #dpQS { 237 | float:left; 238 | margin-right:3px; 239 | margin-top:3px; 240 | background:url(img.gif) no-repeat 0px -16px; 241 | width:20px; 242 | height:20px; 243 | cursor:pointer; 244 | } 245 | .WdateDiv #dpControl { 246 | text-align:right; 247 | margin-top:3px; 248 | } 249 | .WdateDiv .dpButton{ 250 | height:20px; 251 | width:45px; 252 | margin-top:2px; 253 | border:#38B1B9 1px solid; 254 | background-color:#CFEBEE; 255 | color:#08575B; 256 | } -------------------------------------------------------------------------------- /src/main/webapp/js/layer/mobile/need/layer.css: -------------------------------------------------------------------------------- 1 | .layui-m-layer{position:relative;z-index:19891014}.layui-m-layer *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.layui-m-layermain,.layui-m-layershade{position:fixed;left:0;top:0;width:100%;height:100%}.layui-m-layershade{background-color:rgba(0,0,0,.7);pointer-events:auto}.layui-m-layermain{display:table;font-family:Helvetica,arial,sans-serif;pointer-events:none}.layui-m-layermain .layui-m-layersection{display:table-cell;vertical-align:middle;text-align:center}.layui-m-layerchild{position:relative;display:inline-block;text-align:left;background-color:#fff;font-size:14px;border-radius:5px;box-shadow:0 0 8px rgba(0,0,0,.1);pointer-events:auto;-webkit-overflow-scrolling:touch;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.layui-m-anim-scale{animation-name:layui-m-anim-scale;-webkit-animation-name:layui-m-anim-scale}@-webkit-keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.layui-m-anim-up{-webkit-animation-name:layui-m-anim-up;animation-name:layui-m-anim-up}.layui-m-layer0 .layui-m-layerchild{width:90%;max-width:640px}.layui-m-layer1 .layui-m-layerchild{border:none;border-radius:0}.layui-m-layer2 .layui-m-layerchild{width:auto;max-width:260px;min-width:40px;border:none;background:0 0;box-shadow:none;color:#fff}.layui-m-layerchild h3{padding:0 10px;height:60px;line-height:60px;font-size:16px;font-weight:400;border-radius:5px 5px 0 0;text-align:center}.layui-m-layerbtn span,.layui-m-layerchild h3{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-m-layercont{padding:50px 30px;line-height:22px;text-align:center}.layui-m-layer1 .layui-m-layercont{padding:0;text-align:left}.layui-m-layer2 .layui-m-layercont{text-align:center;padding:0;line-height:0}.layui-m-layer2 .layui-m-layercont i{width:25px;height:25px;margin-left:8px;display:inline-block;background-color:#fff;border-radius:100%;-webkit-animation:layui-m-anim-loading 1.4s infinite ease-in-out;animation:layui-m-anim-loading 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.layui-m-layerbtn,.layui-m-layerbtn span{position:relative;text-align:center;border-radius:0 0 5px 5px}.layui-m-layer2 .layui-m-layercont p{margin-top:20px}@-webkit-keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}@keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.layui-m-layer2 .layui-m-layercont i:first-child{margin-left:0;-webkit-animation-delay:-.32s;animation-delay:-.32s}.layui-m-layer2 .layui-m-layercont i.layui-m-layerload{-webkit-animation-delay:-.16s;animation-delay:-.16s}.layui-m-layer2 .layui-m-layercont>div{line-height:22px;padding-top:7px;margin-bottom:20px;font-size:14px}.layui-m-layerbtn{display:box;display:-moz-box;display:-webkit-box;width:100%;height:50px;line-height:50px;font-size:0;border-top:1px solid #D0D0D0;background-color:#F2F2F2}.layui-m-layerbtn span{display:block;-moz-box-flex:1;box-flex:1;-webkit-box-flex:1;font-size:14px;cursor:pointer}.layui-m-layerbtn span[yes]{color:#40AFFE}.layui-m-layerbtn span[no]{border-right:1px solid #D0D0D0;border-radius:0 0 0 5px}.layui-m-layerbtn span:active{background-color:#F6F6F6}.layui-m-layerend{position:absolute;right:7px;top:10px;width:30px;height:30px;border:0;font-weight:400;background:0 0;cursor:pointer;-webkit-appearance:none;font-size:30px}.layui-m-layerend::after,.layui-m-layerend::before{position:absolute;left:5px;top:15px;content:'';width:18px;height:1px;background-color:#999;transform:rotate(45deg);-webkit-transform:rotate(45deg);border-radius:3px}.layui-m-layerend::after{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}body .layui-m-layer .layui-m-layer-footer{position:fixed;width:95%;max-width:100%;margin:0 auto;left:0;right:0;bottom:10px;background:0 0}.layui-m-layer-footer .layui-m-layercont{padding:20px;border-radius:5px 5px 0 0;background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn{display:block;height:auto;background:0 0;border-top:none}.layui-m-layer-footer .layui-m-layerbtn span{background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn span[no]{color:#FD482C;border-top:1px solid #c2c2c2;border-radius:0 0 5px 5px}.layui-m-layer-footer .layui-m-layerbtn span[yes]{margin-top:10px;border-radius:5px}body .layui-m-layer .layui-m-layer-msg{width:auto;max-width:90%;margin:0 auto;bottom:-150px;background-color:rgba(0,0,0,.7);color:#fff}.layui-m-layer-msg .layui-m-layercont{padding:10px 20px} -------------------------------------------------------------------------------- /.mvn/wrapper/MavenWrapperDownloader.java: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | https://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | import java.io.File; 21 | import java.io.FileInputStream; 22 | import java.io.FileOutputStream; 23 | import java.io.IOException; 24 | import java.net.URL; 25 | import java.nio.channels.Channels; 26 | import java.nio.channels.ReadableByteChannel; 27 | import java.util.Properties; 28 | 29 | public class MavenWrapperDownloader { 30 | 31 | /** 32 | * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. 33 | */ 34 | private static final String DEFAULT_DOWNLOAD_URL = 35 | "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar"; 36 | 37 | /** 38 | * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to 39 | * use instead of the default one. 40 | */ 41 | private static final String MAVEN_WRAPPER_PROPERTIES_PATH = 42 | ".mvn/wrapper/maven-wrapper.properties"; 43 | 44 | /** 45 | * Path where the maven-wrapper.jar will be saved to. 46 | */ 47 | private static final String MAVEN_WRAPPER_JAR_PATH = 48 | ".mvn/wrapper/maven-wrapper.jar"; 49 | 50 | /** 51 | * Name of the property which should be used to override the default download url for the wrapper. 52 | */ 53 | private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; 54 | 55 | public static void main(String args[]) { 56 | System.out.println("- Downloader started"); 57 | File baseDirectory = new File(args[0]); 58 | System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); 59 | 60 | // If the maven-wrapper.properties exists, read it and check if it contains a custom 61 | // wrapperUrl parameter. 62 | File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); 63 | String url = DEFAULT_DOWNLOAD_URL; 64 | if (mavenWrapperPropertyFile.exists()) { 65 | FileInputStream mavenWrapperPropertyFileInputStream = null; 66 | try { 67 | mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); 68 | Properties mavenWrapperProperties = new Properties(); 69 | mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); 70 | url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); 71 | } catch (IOException e) { 72 | System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); 73 | } finally { 74 | try { 75 | if (mavenWrapperPropertyFileInputStream != null) { 76 | mavenWrapperPropertyFileInputStream.close(); 77 | } 78 | } catch (IOException e) { 79 | // Ignore ... 80 | } 81 | } 82 | } 83 | System.out.println("- Downloading from: : " + url); 84 | 85 | File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); 86 | if (!outputFile.getParentFile().exists()) { 87 | if (!outputFile.getParentFile().mkdirs()) { 88 | System.out.println( 89 | "- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'"); 90 | } 91 | } 92 | System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); 93 | try { 94 | downloadFileFromURL(url, outputFile); 95 | System.out.println("Done"); 96 | System.exit(0); 97 | } catch (Throwable e) { 98 | System.out.println("- Error downloading"); 99 | e.printStackTrace(); 100 | System.exit(1); 101 | } 102 | } 103 | 104 | private static void downloadFileFromURL(String urlString, File destination) throws Exception { 105 | URL website = new URL(urlString); 106 | ReadableByteChannel rbc; 107 | rbc = Channels.newChannel(website.openStream()); 108 | FileOutputStream fos = new FileOutputStream(destination); 109 | fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); 110 | fos.close(); 111 | rbc.close(); 112 | } 113 | 114 | } 115 | -------------------------------------------------------------------------------- /src/main/java/com/spring/entity/Yuding.java: -------------------------------------------------------------------------------- 1 | package com.spring.entity; 2 | 3 | import javax.persistence.Column; 4 | import javax.persistence.GeneratedValue; 5 | import javax.persistence.Id; 6 | import javax.persistence.Table; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import net.jntoo.db.Query; 10 | 11 | @Table(name = "yuding") 12 | public class Yuding implements Serializable { 13 | @GeneratedValue(generator = "JDBC") // 自增的主键映射 14 | @Id 15 | @Column(name = "id",insertable=false) 16 | private Integer id; 17 | 18 | @Column(name = "lvyouxianluid") 19 | private Integer lvyouxianluid; 20 | @Column(name = "xianlubianhao") 21 | private String xianlubianhao; 22 | @Column(name = "xianlumingcheng") 23 | private String xianlumingcheng; 24 | @Column(name = "chufadi") 25 | private String chufadi; 26 | @Column(name = "tujingdi") 27 | private String tujingdi; 28 | @Column(name = "zhongdian") 29 | private String zhongdian; 30 | @Column(name = "jiage") 31 | private Double jiage; 32 | @Column(name = "dingdanhao") 33 | private String dingdanhao; 34 | @Column(name = "yudingshijian") 35 | private String yudingshijian; 36 | @Column(name = "yudingrenxingming") 37 | private String yudingrenxingming; 38 | @Column(name = "lianxifangshi") 39 | private String lianxifangshi; 40 | @Column(name = "zhuangtai") 41 | private String zhuangtai; 42 | @Column(name = "beizhu") 43 | private String beizhu; 44 | @Column(name = "yudingren") 45 | private String yudingren; 46 | @Column(name = "addtime") 47 | private String addtime; 48 | private String iszf; 49 | 50 | 51 | private static final long serialVersionUID = 1L; 52 | 53 | public Integer getId() { 54 | return id; 55 | } 56 | 57 | public void setId(Integer id) { 58 | this.id = id; 59 | } 60 | 61 | 62 | 63 | public Integer getLvyouxianluid() { 64 | return lvyouxianluid; 65 | } 66 | public void setLvyouxianluid(Integer lvyouxianluid) { 67 | this.lvyouxianluid = lvyouxianluid == null ? 0 : lvyouxianluid; 68 | } 69 | 70 | public String getXianlubianhao() { 71 | return xianlubianhao; 72 | } 73 | public void setXianlubianhao(String xianlubianhao) { 74 | this.xianlubianhao = xianlubianhao == null ? "" : xianlubianhao.trim(); 75 | } 76 | 77 | public String getXianlumingcheng() { 78 | return xianlumingcheng; 79 | } 80 | public void setXianlumingcheng(String xianlumingcheng) { 81 | this.xianlumingcheng = xianlumingcheng == null ? "" : xianlumingcheng.trim(); 82 | } 83 | 84 | public String getChufadi() { 85 | return chufadi; 86 | } 87 | public void setChufadi(String chufadi) { 88 | this.chufadi = chufadi == null ? "" : chufadi.trim(); 89 | } 90 | 91 | public String getTujingdi() { 92 | return tujingdi; 93 | } 94 | public void setTujingdi(String tujingdi) { 95 | this.tujingdi = tujingdi == null ? "" : tujingdi.trim(); 96 | } 97 | 98 | public String getZhongdian() { 99 | return zhongdian; 100 | } 101 | public void setZhongdian(String zhongdian) { 102 | this.zhongdian = zhongdian == null ? "" : zhongdian.trim(); 103 | } 104 | 105 | public Double getJiage() { 106 | return jiage; 107 | } 108 | public void setJiage(Double jiage) { 109 | this.jiage = jiage == null ? 0.0f : jiage; 110 | } 111 | 112 | public String getDingdanhao() { 113 | return dingdanhao; 114 | } 115 | public void setDingdanhao(String dingdanhao) { 116 | this.dingdanhao = dingdanhao == null ? "" : dingdanhao.trim(); 117 | } 118 | 119 | public String getYudingshijian() { 120 | return yudingshijian; 121 | } 122 | public void setYudingshijian(String yudingshijian) { 123 | this.yudingshijian = yudingshijian == null ? "" : yudingshijian.trim(); 124 | } 125 | 126 | public String getYudingrenxingming() { 127 | return yudingrenxingming; 128 | } 129 | public void setYudingrenxingming(String yudingrenxingming) { 130 | this.yudingrenxingming = yudingrenxingming == null ? "" : yudingrenxingming.trim(); 131 | } 132 | 133 | public String getLianxifangshi() { 134 | return lianxifangshi; 135 | } 136 | public void setLianxifangshi(String lianxifangshi) { 137 | this.lianxifangshi = lianxifangshi == null ? "" : lianxifangshi.trim(); 138 | } 139 | 140 | public String getZhuangtai() { 141 | return zhuangtai; 142 | } 143 | public void setZhuangtai(String zhuangtai) { 144 | this.zhuangtai = zhuangtai == null ? "" : zhuangtai.trim(); 145 | } 146 | 147 | public String getBeizhu() { 148 | return beizhu; 149 | } 150 | public void setBeizhu(String beizhu) { 151 | this.beizhu = beizhu == null ? "" : beizhu.trim(); 152 | } 153 | 154 | public String getYudingren() { 155 | return yudingren; 156 | } 157 | public void setYudingren(String yudingren) { 158 | this.yudingren = yudingren == null ? "" : yudingren.trim(); 159 | } 160 | 161 | public String getAddtime() { 162 | return addtime; 163 | } 164 | public void setAddtime(String addtime) { 165 | this.addtime = addtime == null ? "" : addtime.trim(); 166 | } 167 | public String getIszf() { 168 | return iszf; 169 | } 170 | public void setIszf(String iszf) { 171 | this.iszf = iszf == null ? "" : iszf.trim(); 172 | } 173 | 174 | } 175 | --------------------------------------------------------------------------------