Commit Graph
100 Commits
Author SHA1 Message Date
wqy 11e30cc49f Big change to operation! 2022-09-24 23:00:55 +08:00
wqy 46df1beedb Add simp read/write sql 2022-09-24 23:00:20 +08:00
wqy 1938d3d522 Add schema utility 2022-09-24 22:59:45 +08:00
wqy 1a584424d9 Update change set 2022-09-24 22:59:04 +08:00
wqy 65df8c9f8d Update operation schema 2022-09-24 22:57:48 +08:00
wqy 6f088bb291 Refine link getter api 2022-09-22 22:14:17 +08:00
wqy 9905d7f022 Include links property 2022-09-22 21:45:25 +08:00
wqy 90f02752e9 Refine node getter api 2022-09-22 21:41:26 +08:00
wqy 345ce9a98d Get link of node 2022-09-22 21:05:30 +08:00
wqy 28fa751fbf Add project test case 2022-09-18 00:38:37 +08:00
wqy 9454870d5c Let client know project open count 2022-09-18 00:38:25 +08:00
wqy a65b9b1cc5 Add project ref count to allow multiple connections 2022-09-18 00:26:58 +08:00
wqy ebba7c31d8 Add api meta data to database 2022-09-18 00:08:48 +08:00
wqy 6a8db3f661 Expose current operation to client 2022-09-17 23:56:53 +08:00
wqy 5f87bb9e97 Clean repo 2022-09-17 23:51:43 +08:00
wqy fc0283b417 Refine change set 2022-09-17 23:43:03 +08:00
wqy 36a8fa2f79 Add new pip package 2022-09-17 23:22:21 +08:00
wqy 19917fe119 Remove coordinate api 2022-09-17 23:15:39 +08:00
wqy 96c01d7fc8 Add valve test case 2022-09-17 23:09:43 +08:00
wqy ec3dff12b0 Add pump test case 2022-09-17 22:57:42 +08:00
wqy 22e815cc6f Add pipe test case 2022-09-17 22:48:20 +08:00
wqy a645195eb5 Fix return type mismatch 2022-09-17 22:34:27 +08:00
wqy 2aa967546a Check link node 2022-09-17 22:29:23 +08:00
wqy 939cef4f1e Add more checking for link api 2022-09-17 22:26:03 +08:00
wqy 5dd83d7652 Fix base bug 2022-09-17 22:18:17 +08:00
wqy edd731904e Add tank test case 2022-09-17 22:02:53 +08:00
wqy 6ebaa21a7c Return change set 2022-09-17 20:36:23 +08:00
wqy 35c5881114 Ignore pytest cache 2022-09-17 19:54:47 +08:00
wqy b8d2efdc66 Add reservoir test case 2022-09-17 19:38:43 +08:00
wqy 89ffd15b7b Add title & junction test case 2022-09-17 19:19:39 +08:00
wqy 3f8c218bb0 Add test framework 2022-09-17 18:53:57 +08:00
wqy 8cf5895f1d Fix module import 2022-09-17 18:42:12 +08:00
wqy 47e0b48025 Add host for linux 2022-09-17 18:41:10 +08:00
wqy b52515b26f Return empty change set 2022-09-17 18:31:00 +08:00
wqy a72115e15f Add valve api to tjnetwork 2022-09-17 18:30:04 +08:00
wqy 58e1e447f9 Add valve api 2022-09-17 18:03:28 +08:00
wqy 391ea0386c Fix enum checking 2022-09-17 18:02:48 +08:00
wqy 4350b5d19e Add pump api to tjnetwork 2022-09-17 11:16:45 +08:00
wqy 3250d58733 Add pump api 2022-09-17 11:10:28 +08:00
wqy 311f067c22 Add pipe api to tjnetwork 2022-09-17 10:45:35 +08:00
wqy 01225c309c Fix utility update 2022-09-17 10:39:53 +08:00
wqy ab11d2d134 Add pipe api 2022-09-17 10:21:17 +08:00
wqy 62961cba70 Make use of utility decorate 2022-09-17 10:11:47 +08:00
wqy 4761a0d60b Add link in base 2022-09-17 09:56:54 +08:00
wqy 435411356f Lower tank overflow enum 2022-09-17 09:49:07 +08:00
wqy efe5b796f3 Clean tank 2022-09-17 09:46:58 +08:00
wqy 4f9ffc3b11 Clean tank 2022-09-17 09:45:31 +08:00
wqy 146048ac62 Clean junction and reservoir 2022-09-17 09:44:05 +08:00
wqy 64b6a1521d Refactor tank 2022-09-17 09:43:48 +08:00
wqy ee39d96120 Make use of utility decorate 2022-09-17 09:29:05 +08:00
wqy bb93a51817 Refactor reservoir 2022-09-17 09:25:21 +08:00
wqy 7e34c0bd86 More refactor of junction 2022-09-17 00:20:11 +08:00
wqy 732990237b Refactor junction 2022-09-17 00:06:20 +08:00
wqy 2575fec547 Add utility 2022-09-17 00:04:50 +08:00
wqy 41acd13995 Refactor base 2022-09-17 00:04:38 +08:00
wqy 2fe4826bf2 Lower type string 2022-09-16 23:15:16 +08:00
wqy 3ed4afeb85 Add new api to tjnetwork 2022-09-16 23:01:43 +08:00
wqy 7f26c21435 Refactor coordinate api 2022-09-16 23:01:16 +08:00
wqy 06240f1eba Add new api to tjnetwork 2022-09-16 22:49:50 +08:00
wqy cef6ea2cf7 Add tank api 2022-09-16 22:48:35 +08:00
wqy 4b398e2619 Add reservoir api 2022-09-16 22:48:06 +08:00
wqy fd03bdec41 Fix junction pattern type 2022-09-16 22:47:27 +08:00
wqy 8ffb4ed720 Rename some field of table 2022-09-16 22:41:11 +08:00
wqy cd98c27de4 Format 2022-09-15 23:15:24 +08:00
wqy 28615df1b6 Restore 2 dll... 2022-09-15 22:59:43 +08:00
wqy 592826b0f4 Clean repo 2022-09-15 22:56:32 +08:00
王琼钰andcoding.net e197b0d0e3 Remove experiment script 2022-09-15 22:22:52 +08:00
王琼钰andcoding.net ee0d0000f1 Fix typo 2022-09-15 22:22:30 +08:00
王琼钰andcoding.net 713ff0bedb Remove import 2022-09-15 22:22:02 +08:00
王琼钰andcoding.net bb859bb946 Fix delete_junction undo sql 2022-09-15 14:10:26 +08:00
王琼钰andcoding.net b3bb99b18f Junction type is fixed enum value 2022-09-15 14:06:31 +08:00
王琼钰andcoding.net 7455fc25bb fix coordinates sql 2022-09-15 13:55:50 +08:00
王琼钰 35f66d88f5 Accept Merge Request #21: (api -> master)
Merge Request: Enhance update change set

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/21
2022-09-07 20:54:42 +08:00
wqy fb28c3c610 Ehance update change set 2022-09-07 20:53:55 +08:00
王琼钰 7f51f8accf Accept Merge Request #20: (api -> master)
Merge Request: Change pip source

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/20
2022-09-07 20:35:40 +08:00
wqy bca5f61fff Change pip source 2022-09-07 20:35:14 +08:00
王琼钰 a588b42778 Accept Merge Request #19: (api -> master)
Merge Request: Add python 3.10.6 installer

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/19
2022-09-07 20:27:44 +08:00
wqy 6721b043d8 Upload python 3.10.6 installer 2022-09-07 20:27:01 +08:00
王琼钰 9a11f5756f Accept Merge Request #18: (api -> master)
Merge Request: Fix bug

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/18
2022-09-07 20:23:13 +08:00
wqy 66e2e50321 Fix bug 2022-09-07 20:21:58 +08:00
王琼钰 5d4474204c Accept Merge Request #17: (api -> master)
Merge Request: Merge api to master

Created By: @王琼钰
Accepted By: @王琼钰
URL: https://tjwater.coding.net/p/tjwatercloud/d/TJWaterServer/git/merge/17
2022-09-06 21:54:51 +08:00
wqy 3a694d5e03 Make use of change set 2022-09-06 21:36:20 +08:00
wqy c99a1d728b Try change set to record result 2022-09-06 21:33:09 +08:00
wqy 57728681b6 Implement redo by PL/pgSQL 2022-09-03 17:29:50 +08:00
wqy 03a0d6cf64 Implement undo in by PL/pgSQL 2022-09-03 17:07:46 +08:00
wqy 133feef4d2 Script for tj_project template 2022-09-03 14:51:13 +08:00
wqy 2b23d52ed3 Can not add schema for index... 2022-09-03 14:50:51 +08:00
wqy 7d2cc5c1fe Put all table & enum into namespace(postgres schema) 'tj' 2022-09-03 14:38:49 +08:00
wqy 19b690b665 Start database api work 2022-09-03 14:04:44 +08:00
wqy 45bb0483ce Refine demo 2022-09-03 11:12:54 +08:00
wqy 8fe2eebe03 Get api 2022-09-03 11:08:05 +08:00
wqy c3dcf70a04 Reuse s0 defined enum 2022-09-03 10:38:15 +08:00
wqy f16a16991e Update comment 2022-09-03 10:33:27 +08:00
wqy 0832e557fe Update comment 2022-09-03 10:27:51 +08:00
wqy a44977974d Add transaction demo 2022-09-03 10:19:08 +08:00
wqy 8430b02785 Expose transaction api 2022-09-03 09:52:36 +08:00
wqy bf188494f5 Enhance transaction 2022-09-03 09:52:08 +08:00
wqy 5f3db14067 More snapshot api 2022-09-03 09:37:31 +08:00
wqy 555cab3627 Support transaction to commit or rollback, this will modify operation tree 2022-09-03 09:30:57 +08:00
wqy dc07e4811c Drop if exists 2022-09-03 09:30:19 +08:00