Commit 7dcc26d1 authored by 刘凡's avatar 刘凡

*)附件增加分组信息

parent c432f32e
......@@ -388,7 +388,11 @@ public class DPSubServiceImpl {
JSONArray attachmentUploadDatas = matinfo.getJSONArray("datas");
if (!ValidationUtil.isEmpty(value)) {
JSONObject attachmentUploadDatasObj = new JSONObject();
attachmentUploadDatasObj.put("label", visualParams.getString("label"));
String label = visualParams.getString("label");
if (!ValidationUtil.isEmpty(displayName)){
label = label + "(" + displayName + ")";
}
attachmentUploadDatasObj.put("label", label);
attachmentUploadDatasObj.put("value", value);
attachmentUploadDatasObj.put("type", "img");
attachmentUploadDatas.add(attachmentUploadDatasObj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment