From d59c547eab07f3452add5af2f044788e48aacca4 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期六, 24 十二月 2022 12:19:59 +0800 Subject: [PATCH] 1 --- JavaCode/SysTemplate/Mapper.xml | 8 ++++---- ExportMap/up.html | 25 +++++++++++++++++++------ 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/ExportMap/up.html b/ExportMap/up.html index 249f44b..4195125 100644 --- a/ExportMap/up.html +++ b/ExportMap/up.html @@ -10,7 +10,7 @@ var app = {}; var path = "20221128010101"; var url = "http://127.0.0.1:12316/server/"; - var token = "2d44e1be-b332-4aa8-893f-61e6edac61b7"; + var token = "278301c9-366f-424e-a77e-5c4b9d89bb66"; $(function () { $("#pathSpan").html(path); @@ -456,12 +456,25 @@ return CryptoJS.enc.Utf8.stringify(CryptoJS.AES.decrypt(word, CryptoJS.enc.Utf8.parse(base64Decode("QSNzX2xGX3NFcnZlX2sueQ==")), { mode: CryptoJS.mode.ECB, padding: CryptoJS.pad.Pkcs7 })).toString(); } </script> + <script> + function selectDbOverflowDep() { + var obj = { + // entities: ["dlgagnp"], + entities: ["dlgagnp", "dlg25wboul", "dlg25wresa"], + wkt: aesEncrypt("POLYGON ((115.94927385452 32.3754479115071 0,121.989371092554 32.2766788010181 0,121.850621222894 29.6874200067864 0,115.9727267226 29.7835368627922 0,115.94927385452 32.3754479115071 0))") + }; + + ajax(getUrl("dataLib/selectDbOverflowDep"), "POST", JSON.stringify(obj), null, null, function (rs) { + console.log(rs); + alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result); + }); + } + </script> </head> <body> <form id="upForm" name="upForm" method="post" enctype="multipart/form-data" action="http://127.0.0.1:12316/file/upload"> 涓婁紶璺緞锛�<span id="pathSpan"></span>锛屽綋鍓嶄护鐗岋細<span id="tokenSpan"></span> <hr /> - <br /> <br /> 鏁版嵁涓婁紶锛� @@ -471,7 +484,6 @@ <input value="鍒犻櫎鏂囦欢" type="button" onclick="deleteFiles();" /> <input value="鏂囦欢鍏ュ簱" type="button" onclick="insertFiles();" /> <hr /> - <br /> <br /> 鏁版嵁鍏ュ簱锛� @@ -486,13 +498,11 @@ <input value="Mdb鍏ュ簱" type="button" onclick="insertMdb();" /> <hr /> <br /> - <br /> 鏁版嵁妫�绱細 <input id="file3" type="file" multiple="multiple" /> <input value="涓婁紶闄勪欢" type="button" onclick="uploadAttach();" /> <hr /> - <br /> <br /> 鍏冩暟鎹細 @@ -501,13 +511,16 @@ <iframe id="downFrame" src="" style="display: none; border: 0; padding: 0; height: 0; width: 0"></iframe> <hr /> <br /> - <br /> 绌洪棿鏁版嵁锛� <input value="璇锋眰涓嬭浇" type="button" onclick="downloadDbReq();" /> <input value="涓嬭浇鏂囦欢" type="button" onclick="selectDownloadFile();" /> <hr /> <br /> + + 鏁版嵁鐢宠锛� + <input value="鏌ヨDB涓孩鍑虹殑鍗曚綅ID" type="button" onclick="selectDbOverflowDep();" /> + <hr /> <br /> </form> <br /> diff --git a/JavaCode/SysTemplate/Mapper.xml b/JavaCode/SysTemplate/Mapper.xml index 6f0d6ee..35fe795 100644 --- a/JavaCode/SysTemplate/Mapper.xml +++ b/JavaCode/SysTemplate/Mapper.xml @@ -30,10 +30,10 @@ </select> <insert id="insert" parameterType="{entityNS}.{entityName}"> - insert into {tabName} - ({insertCols}) - values - ({insertVal}) + insert into {tabName} + ({insertCols}) + values + ({insertVal}) </insert> <insert id="inserts"> -- Gitblit v1.9.3