REQ-3104: kv返回原始变量

This commit is contained in:
yanglin 2024-12-26 16:33:31 +08:00
parent 1c24c88192
commit 201f02d93e
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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);