Skip to content

Commit

Permalink
Merge 'hotfix/1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
syypoo committed Dec 19, 2018
1 parent 0cee834 commit 94f9a22
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
12 changes: 12 additions & 0 deletions init_qs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "System",
"conditions": "ContractConditions(\"MainCondition\")",
"data": [
{
"Name": "UpdateSysParam",
"Conditions": "ContractConditions(\"MainCondition\")",
"Value": "contract UpdateSysParam {\n data {\n Name string\n Value string\n Conditions string \"optional\"\n }\n\n conditions {}\n\n action {\n DBUpdateSysParam($Name, $Value, $Conditions)\n }\n}",
"Type": "contracts"
}
]
}
15 changes: 15 additions & 0 deletions src/init_qs/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "System",
"conditions": "ContractConditions(\"MainCondition\")",
"blocks": null,
"contracts": [
{
"Name": "UpdateSysParam",
"Conditions": "ContractConditions(\"MainCondition\")"
}
],
"menus": null,
"pages": null,
"tables": null,
"parameters": null
}
13 changes: 13 additions & 0 deletions src/init_qs/contracts/UpdateSysParam.sim
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
contract UpdateSysParam {
data {
Name string
Value string
Conditions string "optional"
}

conditions {}

action {
DBUpdateSysParam($Name, $Value, $Conditions)
}
}
9 changes: 9 additions & 0 deletions src/init_qs/struct.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
digraph G {
fontsize="24";
label="init_qs\nWednesday, 19-Dec-18 22:36:09 +10";
nojustify=true;
ordering=out;
rankdir=LR;
size="30";
"UpdateSysParam\ncontract" [color=red, fontcolor=red, group=contracts, shape=record];
}

0 comments on commit 94f9a22

Please sign in to comment.