Browse Source

小调整

张昭 3 years ago
parent
commit
afbff87bcc

+ 3 - 4
abi-cloud-qr-platform-server/src/main/java/com/abi/qms/platform/service/impl/FlowQueryServiceImpl.java

@@ -239,14 +239,13 @@ public class FlowQueryServiceImpl implements FlowQueryService {
                     .filter(s -> !(s.getNodeStatus().equals(1)))
                     .filter(s -> !(s.getNodeStatus().equals(1)))
                     .collect(Collectors.toMap(GetBoxCodeRes.FlowBean::getAbnormalType, flowBean -> flowBean));
                     .collect(Collectors.toMap(GetBoxCodeRes.FlowBean::getAbnormalType, flowBean -> flowBean));
 
 
-
             FlowStatusEnum flowStatus = MapUtil.isEmpty(abnormalNodeMap) ? FlowStatusEnum.ABNORMAL : FlowStatusEnum.NORMAL;
             FlowStatusEnum flowStatus = MapUtil.isEmpty(abnormalNodeMap) ? FlowStatusEnum.ABNORMAL : FlowStatusEnum.NORMAL;
 
 
             //查询类型
             //查询类型
             Integer queryType = req.getQueryType();
             Integer queryType = req.getQueryType();
-            AddFlowQueryRecordReq addReq = new AddFlowQueryRecordReq(flowStatus.getCode(),queryType);
-            //addReq.setFlowStatus();
-            //addReq.setQueryType();
+            AddFlowQueryRecordReq addReq = new AddFlowQueryRecordReq();
+            addReq.setFlowStatus(flowStatus.getCode());
+            addReq.setQueryType(queryType);
 
 
 
 
             //  箱码 查询类型为箱码时必传
             //  箱码 查询类型为箱码时必传