mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-01-19 13:48:31 +08:00
解决编码规则无法直接解析参数的问题
This commit is contained in:
parent
d12d04f03b
commit
76dd0ddcc3
1 changed files with 2 additions and 1 deletions
|
@ -157,6 +157,8 @@ public class CodePattern {
|
|||
if ("map".equalsIgnoreCase(type)) {
|
||||
if (obj.getJSONObject("content").containsKey(value)) {
|
||||
return obj.getJSONObject("content").getStr(value);
|
||||
} else {
|
||||
return value;
|
||||
}
|
||||
} else {
|
||||
return FeatureScriptUtil.invokeScript(obj.getStr("content"), key, value);
|
||||
|
@ -164,7 +166,6 @@ public class CodePattern {
|
|||
} else {
|
||||
return value;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue