REQ-3104: kv返回原始变量
This commit is contained in:
parent
1c24c88192
commit
201f02d93e
@ -113,6 +113,7 @@ public class ModelV3Parser {
|
||||
|
||||
@Override
|
||||
public void visitGroupKeyValue(ParsedGroupV3 group, ParsedKV kv) {
|
||||
kv.setValueVariable(kv.getValue());
|
||||
kv.setValue(getDefaultResolver().resolveByMap(kv.getValue(), bizParam));
|
||||
|
||||
if (kv.getContentType() == KVContentType.PERSON_ID
|
||||
|
||||
@ -37,6 +37,11 @@ public class ParsedKV {
|
||||
@JsonIgnore
|
||||
private boolean displayOnCard;
|
||||
|
||||
/**
|
||||
* 原始变量
|
||||
*/
|
||||
private String valueVariable;
|
||||
|
||||
@JsonIgnore
|
||||
public boolean isValueEmpty() {
|
||||
return StringUtils.isBlank(value) || "null".equalsIgnoreCase(value);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user