Commit 1e7d9213 authored by 麻笑宇's avatar 麻笑宇

1.去除企业详情信息二维码

parent 231c698f
......@@ -470,9 +470,11 @@ public class DPSubServiceImpl {
JSONObject result = JSONObject.parseObject(apiResult.toString());
JSONArray datas = new JSONArray();
// 处理二维码
mergedArray.stream().filter(x -> "QRCode".equals(JsonValueUtils.getValueByKey(x, "componentKey", null))).findFirst().ifPresent(x -> {
this.processQRCodeWidget(map.getJSONObject("qrcode"), result);
});
if(!tab.getString("template").contains("company")) {
mergedArray.stream().filter(x -> "QRCode".equals(JsonValueUtils.getValueByKey(x, "componentKey", null))).findFirst().ifPresent(x -> {
this.processQRCodeWidget(map.getJSONObject("qrcode"), result);
});
}
mergedArray = mergedArray.stream().filter(x -> !"QRCode".equals(JsonValueUtils.getValueByKey(x, "componentKey", null))).collect(Collectors.toList());
mergedArray.stream().forEach(x -> {
......
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