|
|
@@ -21,7 +21,7 @@ public class BuildDescUtils {
|
|
|
|
|
|
for (PtlAgreementUndwrtRulesAttr link : linkList) {
|
|
|
PtlAgreementUndwrtRulesAttr ptlAgreementUndwrtRulesAttr = attrMap.get(link.getAttrCode());
|
|
|
-
|
|
|
+ ptlAgreementUndwrtRulesAttr.setDictLabal(link.getDictLabal());
|
|
|
if (ptlAgreementUndwrtRulesAttr == null) {
|
|
|
continue;
|
|
|
}
|
|
|
@@ -36,7 +36,14 @@ public class BuildDescUtils {
|
|
|
if(link.getMinArray() != null && link.getMinArray().length > 0){
|
|
|
desc.append(ptlAgreementUndwrtRulesAttr.getAttrName()).append("包含");
|
|
|
for (int k=0 ; k<link.getMinArray().length; k++){
|
|
|
- PtlAgreementUndwrtRulesDictLabal ptlAgreementUndwrtRulesDictLabal = ptlAgreementUndwrtRulesAttr.getDictLabal().stream().filter(x -> Arrays.asList(link.getMinArray()).contains(x.getCode())).findFirst().orElse(null);
|
|
|
+ PtlAgreementUndwrtRulesDictLabal ptlAgreementUndwrtRulesDictLabal = null;
|
|
|
+ for (PtlAgreementUndwrtRulesDictLabal x : ptlAgreementUndwrtRulesAttr.getDictLabal()) {
|
|
|
+ if (Arrays.asList(link.getMinArray()).contains("select".equals(attrType) ? x.getName() : x.getCode())) {
|
|
|
+ ptlAgreementUndwrtRulesDictLabal = x;
|
|
|
+ link.getMinArray()[k] = null;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
desc.append(null != ptlAgreementUndwrtRulesDictLabal ? ptlAgreementUndwrtRulesDictLabal.getName() : "").append(",");
|
|
|
}
|
|
|
|