|
@@ -4,6 +4,7 @@ import com.ruoyi.common.core.domain.entity.SysDept;
|
|
|
import com.ruoyi.common.core.domain.entity.SysRole;
|
|
import com.ruoyi.common.core.domain.entity.SysRole;
|
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
|
import com.ruoyi.common.utils.SM4Util;
|
|
import com.ruoyi.common.utils.SM4Util;
|
|
|
|
|
+import com.ruoyi.common.utils.SecurityUtils;
|
|
|
import com.ruoyi.common.utils.file.FileUtils;
|
|
import com.ruoyi.common.utils.file.FileUtils;
|
|
|
import com.ruoyi.interfaces.domain.MdModelInfo;
|
|
import com.ruoyi.interfaces.domain.MdModelInfo;
|
|
|
import com.ruoyi.interfaces.domain.PtService;
|
|
import com.ruoyi.interfaces.domain.PtService;
|
|
@@ -56,366 +57,10 @@ public class JasyptTest {
|
|
|
|
|
|
|
|
@Test
|
|
@Test
|
|
|
public void test() throws IOException {
|
|
public void test() throws IOException {
|
|
|
-String s = "{\n" +
|
|
|
|
|
- " \"nodes\": [\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"id\": \"1\",\n" +
|
|
|
|
|
- " \"type\": \"startNode\",\n" +
|
|
|
|
|
- " \"initialized\": false,\n" +
|
|
|
|
|
- " \"position\": {\n" +
|
|
|
|
|
- " \"x\": -600,\n" +
|
|
|
|
|
- " \"y\": -300\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"data\": {\n" +
|
|
|
|
|
- " \"label\": \"开始\",\n" +
|
|
|
|
|
- " \"parameters\": [\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"name\": \"beginTm\",\n" +
|
|
|
|
|
- " \"dataType\": \"string\",\n" +
|
|
|
|
|
- " \"refType\": \"input\"\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " ],\n" +
|
|
|
|
|
- " \"loading\": false,\n" +
|
|
|
|
|
- " \"isSuccess\": true,\n" +
|
|
|
|
|
- " \"isFail\": false\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"id\": \"2\",\n" +
|
|
|
|
|
- " \"type\": \"endNode\",\n" +
|
|
|
|
|
- " \"initialized\": false,\n" +
|
|
|
|
|
- " \"position\": {\n" +
|
|
|
|
|
- " \"x\": 885,\n" +
|
|
|
|
|
- " \"y\": 90\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"data\": {\n" +
|
|
|
|
|
- " \"label\": \"结束\",\n" +
|
|
|
|
|
- " \"outputDefs\": [\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"name\": \"data\",\n" +
|
|
|
|
|
- " \"dataType\": \"array\",\n" +
|
|
|
|
|
- " \"refType\": \"ref\",\n" +
|
|
|
|
|
- " \"ref\": \"1763516549902862.data\"\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " ]\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"id\": \"1763515700772804\",\n" +
|
|
|
|
|
- " \"type\": \"serviceNode\",\n" +
|
|
|
|
|
- " \"initialized\": false,\n" +
|
|
|
|
|
- " \"position\": {\n" +
|
|
|
|
|
- " \"x\": -240,\n" +
|
|
|
|
|
- " \"y\": -135\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"data\": {\n" +
|
|
|
|
|
- " \"id\": \"2ae45987679c46248a95bc14432844b1\",\n" +
|
|
|
|
|
- " \"pid\": \"56d0db1d-27fe-4a9c-9060-c1429f3d2c8d\",\n" +
|
|
|
|
|
- " \"label\": \"获取雨量数据列表\",\n" +
|
|
|
|
|
- " \"nodeType\": \"SERVICE\",\n" +
|
|
|
|
|
- "\n" +
|
|
|
|
|
- " \"appId\":123,\n" +
|
|
|
|
|
- "\n" +
|
|
|
|
|
- " \"service\": {\n" +
|
|
|
|
|
- " \"srvId\": \"2ae45987679c46248a95bc14432844b1\",\n" +
|
|
|
|
|
- " \"mdid\": \"56d0db1d-27fe-4a9c-9060-c1429f3d2c8d\",\n" +
|
|
|
|
|
- " \"cateCode\": \"\",\n" +
|
|
|
|
|
- " \"name\": \"获取雨量数据列表\",\n" +
|
|
|
|
|
- " \"intro\": \"获取雨量数据\",\n" +
|
|
|
|
|
- " \"serviceSource\": null,\n" +
|
|
|
|
|
- " \"serviceDept\": null,\n" +
|
|
|
|
|
- " \"manageName\": null,\n" +
|
|
|
|
|
- " \"developUnit\": null,\n" +
|
|
|
|
|
- " \"developContacter\": null,\n" +
|
|
|
|
|
- " \"maintainUnit\": null,\n" +
|
|
|
|
|
- " \"maintainContacer\": null,\n" +
|
|
|
|
|
- " \"upCycl\": null,\n" +
|
|
|
|
|
- " \"openCndtn\": null,\n" +
|
|
|
|
|
- " \"adName\": null,\n" +
|
|
|
|
|
- " \"dataField\": null,\n" +
|
|
|
|
|
- " \"dataRange\": null,\n" +
|
|
|
|
|
- " \"userId\": \"1\",\n" +
|
|
|
|
|
- " \"status\": null,\n" +
|
|
|
|
|
- " \"note\": null,\n" +
|
|
|
|
|
- " \"type\": \"HTTP\",\n" +
|
|
|
|
|
- " \"url\": \"/sh-api/getPptnList\",\n" +
|
|
|
|
|
- " \"rqtype\": \"POST\",\n" +
|
|
|
|
|
- " \"rptype\": \"1\",\n" +
|
|
|
|
|
- " \"rpcontent\": \"{\\\"msg\\\":\\\"操作成功\\\",\\\"code\\\":200,\\\"data\\\":[{\\\"stcd\\\":\\\"1111111\\\",\\\"stnm\\\":null,\\\"tm\\\":\\\"2025-11-18 16:29:32\\\",\\\"drp\\\":0.0,\\\"intv\\\":1.0,\\\"pdr\\\":null,\\\"dyp\\\":null,\\\"wth\\\":\\\"\\\",\\\"tmy\\\":null,\\\"lgtd\\\":1.0,\\\"lttd\\\":1.0},{\\\"stcd\\\":\\\"1111111\\\",\\\"stnm\\\":null,\\\"tm\\\":\\\"2025-11-18 16:29:32\\\",\\\"drp\\\":0.0,\\\"intv\\\":1.0,\\\"pdr\\\":null,\\\"dyp\\\":null,\\\"wth\\\":\\\"\\\",\\\"tmy\\\":null,\\\"lgtd\\\":1.0,\\\"lttd\\\":1.0},{\\\"stcd\\\":\\\"1111111\\\",\\\"stnm\\\":null,\\\"tm\\\":\\\"2025-11-18 16:29:32\\\",\\\"drp\\\":0.0,\\\"intv\\\":1.0,\\\"pdr\\\":null,\\\"dyp\\\":null,\\\"wth\\\":\\\"\\\",\\\"tmy\\\":null,\\\"lgtd\\\":1.0,\\\"lttd\\\":1.0},{\\\"stcd\\\":\\\"1111111\\\",\\\"stnm\\\":null,\\\"tm\\\":\\\"2025-11-18 16:29:32\\\",\\\"drp\\\":0.0,\\\"intv\\\":1.0,\\\"pdr\\\":null,\\\"dyp\\\":null,\\\"wth\\\":\\\"\\\",\\\"tmy\\\":null,\\\"lgtd\\\":1.0,\\\"lttd\\\":1.0}]}\",\n" +
|
|
|
|
|
- " \"proxyAddress\": null,\n" +
|
|
|
|
|
- " \"proxyPath\": \"\",\n" +
|
|
|
|
|
- " \"gatewayId\": \"f9d56764047a49ea957163e87f3492dc\",\n" +
|
|
|
|
|
- " \"example\": \"\",\n" +
|
|
|
|
|
- " \"cnt\": 0,\n" +
|
|
|
|
|
- " \"viewNum\": 0,\n" +
|
|
|
|
|
- " \"applyNum\": 0,\n" +
|
|
|
|
|
- " \"dataNum\": 0,\n" +
|
|
|
|
|
- " \"tm\": \"2025-11-18\",\n" +
|
|
|
|
|
- " \"uptm\": \"2025-11-18\",\n" +
|
|
|
|
|
- " \"rlstm\": \"2025-11-18\",\n" +
|
|
|
|
|
- " \"releaseTime\": \"2025-11-18\",\n" +
|
|
|
|
|
- " \"attentionId\": null,\n" +
|
|
|
|
|
- " \"params\": [\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"srvId\": \"2ae45987679c46248a95bc14432844b1\",\n" +
|
|
|
|
|
- " \"paramCode\": \"beginTm\",\n" +
|
|
|
|
|
- " \"paramName\": \"开始时间\",\n" +
|
|
|
|
|
- " \"paramType\": \"string\",\n" +
|
|
|
|
|
- " \"paramValue\": \"\",\n" +
|
|
|
|
|
- " \"paramFormat\": null,\n" +
|
|
|
|
|
- " \"paramNote\": null,\n" +
|
|
|
|
|
- " \"sort\": 0,\n" +
|
|
|
|
|
- " \"paramObject\": \"\"\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"srvId\": \"2ae45987679c46248a95bc14432844b1\",\n" +
|
|
|
|
|
- " \"paramCode\": \"endTm\",\n" +
|
|
|
|
|
- " \"paramName\": \"结束时间\",\n" +
|
|
|
|
|
- " \"paramType\": \"string\",\n" +
|
|
|
|
|
- " \"paramValue\": null,\n" +
|
|
|
|
|
- " \"paramFormat\": null,\n" +
|
|
|
|
|
- " \"paramNote\": null,\n" +
|
|
|
|
|
- " \"sort\": 1,\n" +
|
|
|
|
|
- " \"paramObject\": null\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " ],\n" +
|
|
|
|
|
- " \"state\": \"1\",\n" +
|
|
|
|
|
- " \"sort\": null,\n" +
|
|
|
|
|
- " \"audit\": \"0\",\n" +
|
|
|
|
|
- " \"auditBy\": null,\n" +
|
|
|
|
|
- " \"auditRemark\": null,\n" +
|
|
|
|
|
- " \"auditTime\": null,\n" +
|
|
|
|
|
- " \"publish\": \"0\",\n" +
|
|
|
|
|
- " \"publishBy\": null,\n" +
|
|
|
|
|
- " \"publishTime\": null,\n" +
|
|
|
|
|
- " \"senState\": null,\n" +
|
|
|
|
|
- " \"dataSignature\": \"3045022067c584d2219e519ea682b2d48062f3042b1ed7b72ca485153d8cb9c99b6f30a9022100c565ca82582ad864210782988f9043a815e9778f55a9836d2fcba5cd424bf3f4\"\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"parameters\": [\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"name\": \"beginTm\",\n" +
|
|
|
|
|
- " \"ref\": \"1.beginTm\",\n" +
|
|
|
|
|
- " \"dataType\": \"string\",\n" +
|
|
|
|
|
- " \"refType\": \"ref\"\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"name\": \"endTm\",\n" +
|
|
|
|
|
- " \"ref\": \"1.beginTm\",\n" +
|
|
|
|
|
- " \"dataType\": \"string\",\n" +
|
|
|
|
|
- " \"refType\": \"ref\"\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " ],\n" +
|
|
|
|
|
- " \"loading\": false,\n" +
|
|
|
|
|
- " \"isSuccess\": true,\n" +
|
|
|
|
|
- " \"isFail\": false\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"id\": \"1763516549902862\",\n" +
|
|
|
|
|
- " \"type\": \"serviceNode\",\n" +
|
|
|
|
|
- " \"initialized\": false,\n" +
|
|
|
|
|
- " \"position\": {\n" +
|
|
|
|
|
- " \"x\": 150,\n" +
|
|
|
|
|
- " \"y\": -60\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"data\": {\n" +
|
|
|
|
|
- " \"id\": \"c48bb6d3a73f41a19d0eccb33fe34424\",\n" +
|
|
|
|
|
- " \"pid\": \"56d0db1d-27fe-4a9c-9060-c1429f3d2c8d\",\n" +
|
|
|
|
|
- " \"label\": \"等值面数据计算\",\n" +
|
|
|
|
|
- " \"nodeType\": \"SERVICE\",\n" +
|
|
|
|
|
- " \"service\": {\n" +
|
|
|
|
|
- " \"srvId\": \"c48bb6d3a73f41a19d0eccb33fe34424\",\n" +
|
|
|
|
|
- " \"mdid\": \"56d0db1d-27fe-4a9c-9060-c1429f3d2c8d\",\n" +
|
|
|
|
|
- " \"cateCode\": \"\",\n" +
|
|
|
|
|
- " \"name\": \"等值面数据计算\",\n" +
|
|
|
|
|
- " \"intro\": \"\",\n" +
|
|
|
|
|
- " \"serviceSource\": null,\n" +
|
|
|
|
|
- " \"serviceDept\": null,\n" +
|
|
|
|
|
- " \"manageName\": null,\n" +
|
|
|
|
|
- " \"developUnit\": null,\n" +
|
|
|
|
|
- " \"developContacter\": null,\n" +
|
|
|
|
|
- " \"maintainUnit\": null,\n" +
|
|
|
|
|
- " \"maintainContacer\": null,\n" +
|
|
|
|
|
- " \"upCycl\": null,\n" +
|
|
|
|
|
- " \"openCndtn\": null,\n" +
|
|
|
|
|
- " \"adName\": null,\n" +
|
|
|
|
|
- " \"dataField\": null,\n" +
|
|
|
|
|
- " \"dataRange\": null,\n" +
|
|
|
|
|
- " \"userId\": \"1\",\n" +
|
|
|
|
|
- " \"status\": null,\n" +
|
|
|
|
|
- " \"note\": null,\n" +
|
|
|
|
|
- " \"type\": \"HTTP\",\n" +
|
|
|
|
|
- " \"url\": \"/sh-api/getRain\",\n" +
|
|
|
|
|
- " \"rqtype\": \"POST\",\n" +
|
|
|
|
|
- " \"rptype\": \"1\",\n" +
|
|
|
|
|
- " \"rpcontent\": \"{\\n \\\"msg\\\": \\\"操作成功\\\",\\n \\\"code\\\": 200,\\n \\\"data\\\": {\\n \\\"features\\\": [\\n {\\n \\\"type\\\": \\\"Feature\\\",\\n \\\"geometry\\\": {\\n \\\"type\\\": \\\"MultiPolygon\\\",\\n \\\"coordinates\\\": [\\n [\\n [\\n [\\n 106.739,\\n 39.8614\\n ]\\n ]\\n ]\\n ]\\n },\\n \\\"properties\\\": {\\n \\\"lvalue\\\": 0.4,\\n \\\"hvalue\\\": 0.4\\n },\\n \\\"id\\\": \\\"fid-69939b06_19a96366106_-7e6d\\\"\\n }\\n ],\\n \\\"type\\\": \\\"FeatureCollection\\\"\\n }\\n}\",\n" +
|
|
|
|
|
- " \"proxyAddress\": null,\n" +
|
|
|
|
|
- " \"proxyPath\": \"\",\n" +
|
|
|
|
|
- " \"gatewayId\": \"f9d56764047a49ea957163e87f3492dc\",\n" +
|
|
|
|
|
- " \"example\": \"\",\n" +
|
|
|
|
|
- " \"cnt\": 0,\n" +
|
|
|
|
|
- " \"viewNum\": 0,\n" +
|
|
|
|
|
- " \"applyNum\": 0,\n" +
|
|
|
|
|
- " \"dataNum\": 0,\n" +
|
|
|
|
|
- " \"tm\": \"2025-11-18\",\n" +
|
|
|
|
|
- " \"uptm\": \"2025-11-18\",\n" +
|
|
|
|
|
- " \"rlstm\": \"2025-11-18\",\n" +
|
|
|
|
|
- " \"releaseTime\": \"2025-11-18\",\n" +
|
|
|
|
|
- " \"attentionId\": null,\n" +
|
|
|
|
|
- " \"params\": null,\n" +
|
|
|
|
|
- " \"state\": \"1\",\n" +
|
|
|
|
|
- " \"sort\": 2,\n" +
|
|
|
|
|
- " \"audit\": \"0\",\n" +
|
|
|
|
|
- " \"auditBy\": null,\n" +
|
|
|
|
|
- " \"auditRemark\": null,\n" +
|
|
|
|
|
- " \"auditTime\": null,\n" +
|
|
|
|
|
- " \"publish\": \"0\",\n" +
|
|
|
|
|
- " \"publishBy\": null,\n" +
|
|
|
|
|
- " \"publishTime\": null,\n" +
|
|
|
|
|
- " \"senState\": null,\n" +
|
|
|
|
|
- " \"dataSignature\": \"3044022072b3deb5ac7987334ca811e4099f74b56987e21fec2f0fac7639d3d71a449f570220218fe9b942f5a20733988f2225b0096c50b84e127948601c9ecd79ee720791c2\"\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"id\": \"1763608793434362\",\n" +
|
|
|
|
|
- " \"type\": \"saveNode\",\n" +
|
|
|
|
|
- " \"initialized\": false,\n" +
|
|
|
|
|
- " \"position\": {\n" +
|
|
|
|
|
- " \"x\": 570,\n" +
|
|
|
|
|
- " \"y\": 30\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"data\": {\n" +
|
|
|
|
|
- " \"label\": \"存储节点\",\n" +
|
|
|
|
|
- " \"nodeType\": \"tool\",\n" +
|
|
|
|
|
- "\n" +
|
|
|
|
|
- " \"appId\":123,\n" +
|
|
|
|
|
- "\n" +
|
|
|
|
|
- " \"value\": \"存储节点\"\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " ],\n" +
|
|
|
|
|
- " \"edges\": [\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"id\": \"vueflow__edge-1-1763515700772804\",\n" +
|
|
|
|
|
- " \"type\": \"default\",\n" +
|
|
|
|
|
- " \"source\": \"1\",\n" +
|
|
|
|
|
- " \"target\": \"1763515700772804\",\n" +
|
|
|
|
|
- " \"sourceHandle\": null,\n" +
|
|
|
|
|
- " \"targetHandle\": null,\n" +
|
|
|
|
|
- " \"data\": {},\n" +
|
|
|
|
|
- " \"label\": \"\",\n" +
|
|
|
|
|
- " \"style\": {\n" +
|
|
|
|
|
- " \"stroke\": \"#79bbff\",\n" +
|
|
|
|
|
- " \"strokeWidth\": 2,\n" +
|
|
|
|
|
- " \"type\": \"bezier\",\n" +
|
|
|
|
|
- " \"fill\": \"none\"\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"markerEnd\": {\n" +
|
|
|
|
|
- " \"type\": \"arrow\",\n" +
|
|
|
|
|
- " \"color\": \"#79bbff\",\n" +
|
|
|
|
|
- " \"width\": 15,\n" +
|
|
|
|
|
- " \"height\": 15\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"sourceX\": -388.32869182527065,\n" +
|
|
|
|
|
- " \"sourceY\": -270.06712341308594,\n" +
|
|
|
|
|
- " \"targetX\": -242.99760034195967,\n" +
|
|
|
|
|
- " \"targetY\": -85.79632097846783\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"id\": \"vueflow__edge-1763515700772804-1763516549902862\",\n" +
|
|
|
|
|
- " \"type\": \"default\",\n" +
|
|
|
|
|
- " \"source\": \"1763515700772804\",\n" +
|
|
|
|
|
- " \"target\": \"1763516549902862\",\n" +
|
|
|
|
|
- " \"sourceHandle\": null,\n" +
|
|
|
|
|
- " \"targetHandle\": null,\n" +
|
|
|
|
|
- " \"data\": {},\n" +
|
|
|
|
|
- " \"label\": \"\",\n" +
|
|
|
|
|
- " \"style\": {\n" +
|
|
|
|
|
- " \"stroke\": \"#79bbff\",\n" +
|
|
|
|
|
- " \"strokeWidth\": 2,\n" +
|
|
|
|
|
- " \"type\": \"bezier\",\n" +
|
|
|
|
|
- " \"fill\": \"none\"\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"markerEnd\": {\n" +
|
|
|
|
|
- " \"type\": \"arrow\",\n" +
|
|
|
|
|
- " \"color\": \"#79bbff\",\n" +
|
|
|
|
|
- " \"width\": 15,\n" +
|
|
|
|
|
- " \"height\": 15\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"sourceX\": 9.61110267965904,\n" +
|
|
|
|
|
- " \"sourceY\": -85.79632097846783,\n" +
|
|
|
|
|
- " \"targetX\": 147.00239965804033,\n" +
|
|
|
|
|
- " \"targetY\": -10.79632097846784\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"id\": \"vueflow__edge-1763516549902862-1763608793434362\",\n" +
|
|
|
|
|
- " \"type\": \"default\",\n" +
|
|
|
|
|
- " \"source\": \"1763516549902862\",\n" +
|
|
|
|
|
- " \"target\": \"1763608793434362\",\n" +
|
|
|
|
|
- " \"sourceHandle\": null,\n" +
|
|
|
|
|
- " \"targetHandle\": null,\n" +
|
|
|
|
|
- " \"data\": {},\n" +
|
|
|
|
|
- " \"label\": \"\",\n" +
|
|
|
|
|
- " \"style\": {\n" +
|
|
|
|
|
- " \"stroke\": \"#79bbff\",\n" +
|
|
|
|
|
- " \"strokeWidth\": 2,\n" +
|
|
|
|
|
- " \"type\": \"bezier\",\n" +
|
|
|
|
|
- " \"fill\": \"none\"\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"markerEnd\": {\n" +
|
|
|
|
|
- " \"type\": \"arrow\",\n" +
|
|
|
|
|
- " \"color\": \"#79bbff\",\n" +
|
|
|
|
|
- " \"width\": 15,\n" +
|
|
|
|
|
- " \"height\": 15\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"sourceX\": 399.61110267965904,\n" +
|
|
|
|
|
- " \"sourceY\": -10.79632097846784,\n" +
|
|
|
|
|
- " \"targetX\": 567.0020866090777,\n" +
|
|
|
|
|
- " \"targetY\": 59.932854453569774\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " {\n" +
|
|
|
|
|
- " \"id\": \"vueflow__edge-1763608793434362-2\",\n" +
|
|
|
|
|
- " \"type\": \"default\",\n" +
|
|
|
|
|
- " \"source\": \"1763608793434362\",\n" +
|
|
|
|
|
- " \"target\": \"2\",\n" +
|
|
|
|
|
- " \"sourceHandle\": null,\n" +
|
|
|
|
|
- " \"targetHandle\": null,\n" +
|
|
|
|
|
- " \"data\": {},\n" +
|
|
|
|
|
- " \"label\": \"\",\n" +
|
|
|
|
|
- " \"style\": {\n" +
|
|
|
|
|
- " \"stroke\": \"#79bbff\",\n" +
|
|
|
|
|
- " \"strokeWidth\": 2,\n" +
|
|
|
|
|
- " \"type\": \"bezier\",\n" +
|
|
|
|
|
- " \"fill\": \"none\"\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"markerEnd\": {\n" +
|
|
|
|
|
- " \"type\": \"arrow\",\n" +
|
|
|
|
|
- " \"color\": \"#79bbff\",\n" +
|
|
|
|
|
- " \"width\": 15,\n" +
|
|
|
|
|
- " \"height\": 15\n" +
|
|
|
|
|
- " },\n" +
|
|
|
|
|
- " \"sourceX\": 781.67129017445,\n" +
|
|
|
|
|
- " \"sourceY\": 59.932854453569774,\n" +
|
|
|
|
|
- " \"targetX\": 882.0023193359375,\n" +
|
|
|
|
|
- " \"targetY\": 119.932861328125\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- " ],\n" +
|
|
|
|
|
- " \"position\": [\n" +
|
|
|
|
|
- " 335.5230568199554,\n" +
|
|
|
|
|
- " 402.6419012459621\n" +
|
|
|
|
|
- " ],\n" +
|
|
|
|
|
- " \"zoom\": 0.7798800184586985,\n" +
|
|
|
|
|
- " \"viewport\": {\n" +
|
|
|
|
|
- " \"x\": 335.5230568199554,\n" +
|
|
|
|
|
- " \"y\": 402.6419012459621,\n" +
|
|
|
|
|
- " \"zoom\": 0.7798800184586985\n" +
|
|
|
|
|
- " }\n" +
|
|
|
|
|
- "}";
|
|
|
|
|
- String s1 = FileUtils.writeImportBytes(s.getBytes(StandardCharsets.UTF_8), "json");
|
|
|
|
|
-
|
|
|
|
|
- System.out.println(s1);
|
|
|
|
|
-
|
|
|
|
|
|
|
+ String s = SecurityUtils.encryptPassword( "Gw#$1601");
|
|
|
|
|
+ System.out.println(s);
|
|
|
|
|
+ boolean b = SecurityUtils.matchesPassword( "Gw#$1601", s);
|
|
|
|
|
+ System.out.println(b);
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
List<MdModelInfo> mdModelInfos = modelMapper.selectMdModelInfoList(new MdModelInfo());
|
|
List<MdModelInfo> mdModelInfos = modelMapper.selectMdModelInfoList(new MdModelInfo());
|