Commit d87d4169 by s_guodong

update

parent cde79a85
...@@ -325,17 +325,17 @@ public abstract class AbstractRouteService<V extends BaseVO> { ...@@ -325,17 +325,17 @@ public abstract class AbstractRouteService<V extends BaseVO> {
* 初始化步骤 * 初始化步骤
*/ */
public void initTrans(V req) { public void initTrans(V req) {
IContext ctx = MdaEnv.getContext();
if (req != null) {
ctx.setVo(req);
}
if (!req.isNeedInit()) { if (!req.isNeedInit()) {
logger.info("不需要初始化"); logger.info("不需要初始化");
return; return;
} }
logger.info("开始初始化..."); logger.info("开始初始化...");
StopWatch watch = new StopWatch("initTrans"); StopWatch watch = new StopWatch("initTrans");
IContext ctx = MdaEnv.getContext();
IRuleEmitter emitter = getEmitter(); IRuleEmitter emitter = getEmitter();
if (req != null) {
ctx.setVo(req);
}
//将认证信息(usr、usg、ety)放入sysStream //将认证信息(usr、usg、ety)放入sysStream
//后台自动交易可能没有这个授权信息,先这样判断 //后台自动交易可能没有这个授权信息,先这样判断
IAuthInfo authInfo = MdaEnv.getAuthInfo(); IAuthInfo authInfo = MdaEnv.getAuthInfo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment