支持多选单选
continuous-integration/drone/push Build is passing Details

于相涌/mail
YXY 2 years ago
parent a7bdc61546
commit 3852edade8

@ -187,8 +187,16 @@ public class ApprovalCallbackOperate extends LarkAbstract {
list.add(userInfoDetail.getUser().getName());
}
return String.join(",", list);
}else if (k.startsWith("##") && k.endsWith("${checkbox}")) {
k = k.replace("##", "").replace("${checkbox}", "");
List<String> list = new ArrayList<>();
JSONArray jsonArray = record.getJSONArray(k);
for (int i = 0; i < jsonArray.size(); i++) {
String param = jsonArray.getString(i);
list.add(param);
}
if (k.startsWith("##")) {
return list;
}else if (k.startsWith("##")) {
k = k.replace("##", "");
List<String> list = new ArrayList<>();
JSONArray jsonArray = record.getJSONArray(k);

Loading…
Cancel
Save