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