提交 a3bef00a 编写于 作者: ibizdev's avatar ibizdev

lengyuace 发布系统代码 [TrainSys,网页端]

上级 bce10e3c
...@@ -2519,6 +2519,24 @@ ...@@ -2519,6 +2519,24 @@
"paramAction" : "SETPARAMVALUE", "paramAction" : "SETPARAMVALUE",
"srcValue" : "1111", "srcValue" : "1111",
"srcValueType" : "SRCVALUE" "srcValueType" : "SRCVALUE"
}, {
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "simpleVar"
},
"name" : "直接值[bbbb] ==> simple",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "bbbb",
"srcValueType" : "SRCVALUE"
}, {
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "simplenum"
},
"name" : "直接值[[111,555,999]] ==> simplenum",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "[111,555,999]",
"srcValueType" : "SRCVALUE"
} ], } ],
"topPos" : 350 "topPos" : 350
}, { }, {
...@@ -2539,11 +2557,17 @@ ...@@ -2539,11 +2557,17 @@
"default" : true, "default" : true,
"entityParam" : true "entityParam" : true
}, { }, {
"codeName" : "simple", "codeName" : "simpleVar",
"logicName" : "简单", "logicName" : "简单",
"name" : "简单", "name" : "简单",
"stdDataType" : 4, "stdDataType" : 4,
"simpleParam" : true "simpleParam" : true
}, {
"codeName" : "simplenum",
"logicName" : "simplenum",
"name" : "simplenum",
"stdDataType" : 7,
"simpleListParam" : true
} ], } ],
"getStartPSDELogicNode" : { "getStartPSDELogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -48,6 +48,24 @@ ...@@ -48,6 +48,24 @@
"paramAction" : "SETPARAMVALUE", "paramAction" : "SETPARAMVALUE",
"srcValue" : "1111", "srcValue" : "1111",
"srcValueType" : "SRCVALUE" "srcValueType" : "SRCVALUE"
}, {
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "simpleVar"
},
"name" : "直接值[bbbb] ==> simple",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "bbbb",
"srcValueType" : "SRCVALUE"
}, {
"getDstPSDELogicParam" : {
"modelref" : true,
"id" : "simplenum"
},
"name" : "直接值[[111,555,999]] ==> simplenum",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "[111,555,999]",
"srcValueType" : "SRCVALUE"
} ], } ],
"topPos" : 350 "topPos" : 350
}, { }, {
...@@ -68,11 +86,17 @@ ...@@ -68,11 +86,17 @@
"default" : true, "default" : true,
"entityParam" : true "entityParam" : true
}, { }, {
"codeName" : "simple", "codeName" : "simpleVar",
"logicName" : "简单", "logicName" : "简单",
"name" : "简单", "name" : "简单",
"stdDataType" : 4, "stdDataType" : 4,
"simpleParam" : true "simpleParam" : true
}, {
"codeName" : "simplenum",
"logicName" : "simplenum",
"name" : "simplenum",
"stdDataType" : 7,
"simpleListParam" : true
} ], } ],
"getStartPSDELogicNode" : { "getStartPSDELogicNode" : {
"modelref" : true, "modelref" : true,
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
<tns:import name="org.springframework.util.StringUtils"/> <tns:import name="org.springframework.util.StringUtils"/>
<tns:import name="cn.ibizlab.trainsys.util.helper.RuleUtils"/> <tns:import name="cn.ibizlab.trainsys.util.helper.RuleUtils"/>
<tns:metaData express="" name="phonexxxdefault" type="entity"/> <tns:metaData express="" name="phonexxxdefault" type="entity"/>
<tns:metaData express="new HashMap()" name="phonexxxsimple" type="refentity"/> <tns:metaData express="new HashMap()" name="phonexxxsimplevar" type="refentity"/>
<tns:metaData express="new HashMap()" name="phonexxxsimplenum" type="refentity"/>
<tns:metaData express="T(cn.ibizlab.trainsys.util.security.SpringContextHolder).getBean(T(cn.ibizlab.trainsys.core.common.service.IPhoneService))" name="iBzSysPhoneDefaultService" type="service"/> <tns:metaData express="T(cn.ibizlab.trainsys.util.security.SpringContextHolder).getBean(T(cn.ibizlab.trainsys.core.common.service.IPhoneService))" name="iBzSysPhoneDefaultService" type="service"/>
<tns:metaData express="T(cn.ibizlab.trainsys.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/> <tns:metaData express="T(cn.ibizlab.trainsys.util.security.AuthenticationUser).getAuthenticationUser()" name="curuser" type="session"/>
<tns:global identifier="phonexxxdefault" type="cn.ibizlab.trainsys.core.common.domain.Phone" /> <tns:global identifier="phonexxxdefault" type="cn.ibizlab.trainsys.core.common.domain.Phone" />
......
...@@ -6,7 +6,8 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx; ...@@ -6,7 +6,8 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
import cn.ibizlab.trainsys.util.errors.BadRequestAlertException; import cn.ibizlab.trainsys.util.errors.BadRequestAlertException;
global cn.ibizlab.trainsys.core.common.domain.Phone phonexxxdefault; global cn.ibizlab.trainsys.core.common.domain.Phone phonexxxdefault;
global java.util.Map phonexxxsimple; global java.util.Map phonexxxsimplevar;
global java.util.Map phonexxxsimplenum;
global cn.ibizlab.trainsys.core.common.service.IPhoneService iBzSysPhoneDefaultService; global cn.ibizlab.trainsys.core.common.service.IPhoneService iBzSysPhoneDefaultService;
global cn.ibizlab.trainsys.util.security.AuthenticationUser curuser; global cn.ibizlab.trainsys.util.security.AuthenticationUser curuser;
...@@ -26,8 +27,11 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx; ...@@ -26,8 +27,11 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx;
when when
then then
phonexxxdefault.set("money","1111"); phonexxxdefault.set("money","1111");
phonexxxsimplevar.set("","bbbb");
phonexxxsimplenum.set("","[111,555,999]");
update(phonexxxdefault);//更新fact中变量值 update(phonexxxdefault);//更新fact中变量值
update(phonexxxsimple);//更新fact中变量值 update(phonexxxsimplevar);//更新fact中变量值
update(phonexxxsimplenum);//更新fact中变量值
end end
//逻辑处理节点[结束] //逻辑处理节点[结束]
...@@ -36,5 +40,6 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx; ...@@ -36,5 +40,6 @@ package cn.ibizlab.trainsys.common.logic.phonelogic.xxx;
when when
then then
update(phonexxxdefault);//更新fact中变量值 update(phonexxxdefault);//更新fact中变量值
update(phonexxxsimple);//更新fact中变量值 update(phonexxxsimplevar);//更新fact中变量值
update(phonexxxsimplenum);//更新fact中变量值
end end
\ No newline at end of file
...@@ -1375,16 +1375,16 @@ ...@@ -1375,16 +1375,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
}, { }, {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
} ] } ]
}, { }, {
......
...@@ -3571,16 +3571,16 @@ ...@@ -3571,16 +3571,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
}, { }, {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
} ] } ]
}, { }, {
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册