|
@@ -13,6 +13,7 @@
|
13
|
13
|
package com.srm.bpm.logic.service.impl;
|
14
|
14
|
|
15
|
15
|
import java.util.List;
|
|
16
|
+import java.util.stream.Collectors;
|
16
|
17
|
|
17
|
18
|
import org.springframework.http.ResponseEntity;
|
18
|
19
|
import org.springframework.stereotype.Service;
|
|
@@ -37,6 +38,7 @@ public class PushMsgLogicImpl implements PushMsgLogic {
|
37
|
38
|
|
38
|
39
|
@Override
|
39
|
40
|
public void push(List<FlowMsgDTO> allMsg) {
|
|
41
|
+ allMsg = allMsg.stream().filter(e->(e.getPush() != null && !e.getPush().equals(""))).collect(Collectors.toList());
|
40
|
42
|
JSONObject data = new JSONObject();
|
41
|
43
|
data.put("msg", JSON.toJSON(allMsg));
|
42
|
44
|
log.info("回调返回的数据:{}", allMsg);
|