|
@@ -14,6 +14,7 @@ import com.abi.qms.platform.infrastructure.util.AssertUtil;
|
|
|
import com.abi.qms.platform.infrastructure.util.UserUtil;
|
|
|
import com.abi.qms.platform.service.FlowQueryService;
|
|
|
import com.abi.qms.platform.service.IFlowQueryRecordService;
|
|
|
+import com.abi.qms.platform.service.IInspectionCaseService;
|
|
|
import com.abi.task.common.utils.PojoConverterUtils;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -37,11 +38,16 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
@Autowired
|
|
|
private IFlowQueryRecordService flowQueryRecordService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private IInspectionCaseService caseService;
|
|
|
+
|
|
|
@Autowired
|
|
|
private UserUtil userUtil;
|
|
|
|
|
|
|
|
|
- private static List<GetBoxCodeRes> boxCodeResList=new ArrayList<>();
|
|
|
+ private static List<GetBoxCodeRes> boxCodeResList = new ArrayList<>();
|
|
|
+
|
|
|
+ private static List<GetStackCodeRes> StackCodeResList = new ArrayList<>();
|
|
|
|
|
|
static {
|
|
|
GetBoxCodeRes res1 = new GetBoxCodeRes();
|
|
@@ -111,6 +117,42 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
res3.setFlowList(flowList3);
|
|
|
res3.setBoxStack(boxStack3);
|
|
|
boxCodeResList.add(res3);
|
|
|
+
|
|
|
+ //====================== 垛码信息 ===================
|
|
|
+
|
|
|
+ GetStackCodeRes resA = new GetStackCodeRes();
|
|
|
+
|
|
|
+ GetStackCodeRes.SkuBean skuA = new GetStackCodeRes.SkuBean()
|
|
|
+ .setBrandCode("01AAHF")
|
|
|
+ .setBrandName("百威")
|
|
|
+ .setSkuId("000000000000025000")
|
|
|
+ .setSkuName("百威9.7度330ML4X6半托纸箱听装(机械改包)");
|
|
|
+
|
|
|
+ List flowListA = new LinkedList();
|
|
|
+ GetStackCodeRes.FlowBean flow = new GetStackCodeRes.FlowBean()
|
|
|
+ .setNodeId(8903L)
|
|
|
+ .setNodeName("一级经销商")
|
|
|
+ .setInStorageTime(LocalDateTime.of(2020, 12, 24, 11, 12, 38))
|
|
|
+ .setOutStorageTime(LocalDateTime.of(2020, 12, 24, 15, 12, 33));
|
|
|
+ flowListA.add(flow);
|
|
|
+
|
|
|
+ flow = new GetStackCodeRes.FlowBean()
|
|
|
+ .setNodeId(8902L)
|
|
|
+ .setNodeName("XXXX-上海吴泾DC")
|
|
|
+ .setInStorageTime(LocalDateTime.of(2020, 12, 20, 9, 31, 33))
|
|
|
+ .setOutStorageTime(LocalDateTime.of(2020, 12, 20, 9, 31, 33));
|
|
|
+
|
|
|
+ flowListA.add(flow);
|
|
|
+
|
|
|
+ GetStackCodeRes.StackBean stackA = new GetStackCodeRes.StackBean()
|
|
|
+ .setStackCode("2000300040005000")
|
|
|
+ .setStackTime(LocalDateTime.now());
|
|
|
+
|
|
|
+ resA.setSku(skuA);
|
|
|
+ resA.setFlowList(flowListA);
|
|
|
+ resA.setStack(stackA);
|
|
|
+ StackCodeResList.add(resA);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
private static List<GetBoxCodeRes.FlowBean> getflowList() {
|
|
@@ -166,27 +208,27 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 箱码查询
|
|
|
* TODO 测试使用,待流向查询接口完成后,根据实际情况调整结构
|
|
|
*/
|
|
|
@Override
|
|
|
- public GetBoxCodeRes boxCode(GetBoxCodeReq req) {
|
|
|
+ public GetFlowInfoRes queryFlow(GetBoxCodeReq req) {
|
|
|
Integer queryType = req.getQueryType();
|
|
|
- GetBoxCodeRes res = null;
|
|
|
+ GetFlowInfoRes res = null;
|
|
|
+ //查询内容
|
|
|
+ String inquireCode = req.getInquireCode();
|
|
|
|
|
|
if (FlowQueryTypeEnum.BOX_CODE.is(queryType)) {
|
|
|
- // 箱码(明码)查询
|
|
|
- String boxCode = req.getBoxCode();
|
|
|
- res = this.getFlowInfoByBoxCode(boxCode);
|
|
|
+ //箱码(明码)查询
|
|
|
+ res = this.getFlowInfoByBoxCode(inquireCode);
|
|
|
} else if (FlowQueryTypeEnum.INVISIBLE_CODE.is(queryType)) {
|
|
|
// 箱码(隐形码)查询
|
|
|
- String boxCode = req.getBoxCode();
|
|
|
- res = this.getFlowInfoByInvisibleCode(boxCode);
|
|
|
+ res = this.getFlowInfoByInvisibleCode(inquireCode);
|
|
|
+ } else if (FlowQueryTypeEnum.TRAY_CODE.is(queryType)) {
|
|
|
+ // 剁码查询
|
|
|
+ res = this.getFlowInfoByStackCode(inquireCode);
|
|
|
}
|
|
|
-
|
|
|
AssertUtil.isNull(res, "未查询到流向信息!");
|
|
|
//保存查询记录
|
|
|
this.saveQueryRecord(res, req);
|
|
@@ -200,13 +242,33 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public GetBoxCodeRes getFlowInfoByBoxCode(String boxCode) {
|
|
|
- GetBoxCodeRes getBoxCodeRes=null;
|
|
|
+ public GetFlowInfoRes getFlowInfoByBoxCode(String boxCode) {
|
|
|
+ GetFlowInfoRes flowInfoRes = null;
|
|
|
List<GetBoxCodeRes> collect = boxCodeResList.stream().filter(s -> s.getBoxStack().getBoxCode().equals(boxCode)).collect(Collectors.toList());
|
|
|
- if(CollectionUtil.isNotEmpty(collect)){
|
|
|
- getBoxCodeRes = collect.get(0);
|
|
|
+ if (CollectionUtil.isEmpty(collect)) {
|
|
|
+ return null;
|
|
|
}
|
|
|
- return getBoxCodeRes;
|
|
|
+ GetBoxCodeRes getBoxCodeRes = collect.get(0);
|
|
|
+
|
|
|
+ flowInfoRes = new GetFlowInfoRes();
|
|
|
+ //SKU
|
|
|
+ GetFlowInfoRes.SkuBean skuBean = new GetFlowInfoRes.SkuBean();
|
|
|
+ BeanUtil.copyProperties(getBoxCodeRes.getSku(), skuBean);
|
|
|
+ flowInfoRes.setSku(skuBean);
|
|
|
+
|
|
|
+ //流向 信息
|
|
|
+ List<GetFlowInfoRes.FlowBean> flowBeanList = PojoConverterUtils.copyList(getBoxCodeRes.getFlowList(), GetFlowInfoRes.FlowBean.class);
|
|
|
+ flowInfoRes.setFlowList(flowBeanList);
|
|
|
+
|
|
|
+ //箱垛信息
|
|
|
+ GetFlowInfoRes.BoxStackBean boxStackBean = new GetFlowInfoRes.BoxStackBean();
|
|
|
+ BeanUtil.copyProperties(getBoxCodeRes.getBoxStack(), boxStackBean);
|
|
|
+ flowInfoRes.setBoxStack(boxStackBean);
|
|
|
+
|
|
|
+ //案件信息
|
|
|
+ flowInfoRes.setInspectionCase(this.getCaseInfoByBoxCode(boxStackBean.getBoxCode()));
|
|
|
+
|
|
|
+ return flowInfoRes;
|
|
|
}
|
|
|
|
|
|
|
|
@@ -217,16 +279,79 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public GetBoxCodeRes getFlowInfoByInvisibleCode(String invisibleCode) {
|
|
|
- GetBoxCodeRes getBoxCodeRes=null;
|
|
|
+ public GetFlowInfoRes getFlowInfoByInvisibleCode(String invisibleCode) {
|
|
|
+ GetFlowInfoRes flowInfoRes = null;
|
|
|
List<GetBoxCodeRes> collect = boxCodeResList.stream().filter(s -> s.getBoxStack().getInvisibleCode().equals(invisibleCode)).collect(Collectors.toList());
|
|
|
- if(CollectionUtil.isNotEmpty(collect)){
|
|
|
- getBoxCodeRes = collect.get(0);
|
|
|
+ if (CollectionUtil.isEmpty(collect)) {
|
|
|
+ return null;
|
|
|
}
|
|
|
- return getBoxCodeRes;
|
|
|
+
|
|
|
+ GetBoxCodeRes getBoxCodeRes = collect.get(0);
|
|
|
+
|
|
|
+ flowInfoRes = new GetFlowInfoRes();
|
|
|
+ //SKU
|
|
|
+ GetFlowInfoRes.SkuBean skuBean = new GetFlowInfoRes.SkuBean();
|
|
|
+ BeanUtil.copyProperties(getBoxCodeRes.getSku(), skuBean);
|
|
|
+ flowInfoRes.setSku(skuBean);
|
|
|
+
|
|
|
+ //流向 信息
|
|
|
+ List<GetFlowInfoRes.FlowBean> flowBeanList = PojoConverterUtils.copyList(getBoxCodeRes.getFlowList(), GetFlowInfoRes.FlowBean.class);
|
|
|
+ flowInfoRes.setFlowList(flowBeanList);
|
|
|
+
|
|
|
+ //箱垛信息
|
|
|
+ GetFlowInfoRes.BoxStackBean boxStackBean = new GetFlowInfoRes.BoxStackBean();
|
|
|
+ BeanUtil.copyProperties(getBoxCodeRes.getBoxStack(), boxStackBean);
|
|
|
+ flowInfoRes.setBoxStack(boxStackBean);
|
|
|
+
|
|
|
+ //案件信息
|
|
|
+ flowInfoRes.setInspectionCase(this.getCaseInfoByBoxCode(boxStackBean.getBoxCode()));
|
|
|
+ return flowInfoRes;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 根据箱码查询关联案件信息
|
|
|
+ *
|
|
|
+ * @param boxCode 箱码
|
|
|
+ * @return 案件信息
|
|
|
+ */
|
|
|
+ private GetFlowInfoRes.InspectionCaseBean getCaseInfoByBoxCode(String boxCode) {
|
|
|
+ GetCaseInfoByBoxCodeRes caseInfoByBoxCode = caseService.getCaseInfoByBoxCode(boxCode);
|
|
|
+ GetFlowInfoRes.InspectionCaseBean inspectionCaseBean = new GetFlowInfoRes.InspectionCaseBean();
|
|
|
+ BeanUtil.copyProperties(caseInfoByBoxCode, inspectionCaseBean);
|
|
|
+ return inspectionCaseBean;
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 垛码查询
|
|
|
+ * TODO 测试使用,待流向查询接口完成后,根据实际情况调整结构
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public GetFlowInfoRes getFlowInfoByStackCode(String stackCode) {
|
|
|
+ GetFlowInfoRes flowInfoRes = null;
|
|
|
+ List<GetStackCodeRes> collect = StackCodeResList.stream().filter(s -> s.getStack().getStackCode().equals(stackCode)).collect(Collectors.toList());
|
|
|
+ if (CollectionUtil.isEmpty(collect)) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ GetStackCodeRes getStackCodeRes = collect.get(0);
|
|
|
+
|
|
|
+ flowInfoRes = new GetFlowInfoRes();
|
|
|
+ //SKU
|
|
|
+ GetFlowInfoRes.SkuBean skuBean = new GetFlowInfoRes.SkuBean();
|
|
|
+ BeanUtil.copyProperties(getStackCodeRes.getSku(), skuBean);
|
|
|
+ flowInfoRes.setSku(skuBean);
|
|
|
+
|
|
|
+ //流向 信息
|
|
|
+ List<GetFlowInfoRes.FlowBean> flowBeanList = PojoConverterUtils.copyList(getStackCodeRes.getFlowList(), GetFlowInfoRes.FlowBean.class);
|
|
|
+ flowInfoRes.setFlowList(flowBeanList);
|
|
|
+
|
|
|
+ //垛信息
|
|
|
+ GetFlowInfoRes.StackBean stackBean = new GetFlowInfoRes.StackBean();
|
|
|
+ BeanUtil.copyProperties(getStackCodeRes.getStack(), stackBean);
|
|
|
+ flowInfoRes.setStack(stackBean);
|
|
|
+ return flowInfoRes;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -249,47 +374,6 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
return new GetInvisibleCodeRes().setInvisibleCodeList(invisibleCodeList);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 垛码查询
|
|
|
- * TODO 测试使用,待流向查询接口完成后,根据实际情况调整结构
|
|
|
- */
|
|
|
- @Override
|
|
|
- public GetStackCodeRes stackCode(GetStackCodeReq req) {
|
|
|
- GetStackCodeRes res = new GetStackCodeRes();
|
|
|
-
|
|
|
- GetStackCodeRes.SkuBean sku = new GetStackCodeRes.SkuBean()
|
|
|
- .setBrandCode("01AAHF")
|
|
|
- .setBrandName("百威")
|
|
|
- .setSkuId("000000000000025000")
|
|
|
- .setSkuName("百威9.7度330ML4X6半托纸箱听装(机械改包)");
|
|
|
-
|
|
|
- List flowList = new LinkedList();
|
|
|
- GetStackCodeRes.FlowBean flow = new GetStackCodeRes.FlowBean()
|
|
|
- .setNodeId(8903L)
|
|
|
- .setNodeName("一级经销商")
|
|
|
- .setInStorageTime(LocalDateTime.of(2020, 12, 24, 11, 12, 38))
|
|
|
- .setOutStorageTime(LocalDateTime.of(2020, 12, 24, 15, 12, 33));
|
|
|
- flowList.add(flow);
|
|
|
-
|
|
|
- flow = new GetStackCodeRes.FlowBean()
|
|
|
- .setNodeId(8902L)
|
|
|
- .setNodeName("XXXX-上海吴泾DC")
|
|
|
- .setInStorageTime(LocalDateTime.of(2020, 12, 20, 9, 31, 33))
|
|
|
- .setOutStorageTime(LocalDateTime.of(2020, 12, 20, 9, 31, 33));
|
|
|
-
|
|
|
- flowList.add(flow);
|
|
|
- Collections.reverse(flowList);
|
|
|
-
|
|
|
- GetStackCodeRes.StackBean stack = new GetStackCodeRes.StackBean()
|
|
|
- .setStackCode(req.getStackCode())
|
|
|
- .setStackTime(LocalDateTime.now());
|
|
|
-
|
|
|
- res.setSku(sku);
|
|
|
- res.setFlowList(flowList);
|
|
|
- res.setStack(stack);
|
|
|
-
|
|
|
- return res;
|
|
|
- }
|
|
|
|
|
|
/**
|
|
|
* 微信箱码查询
|
|
@@ -297,9 +381,8 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
@Override
|
|
|
public WxGetBoxCodeRes wxBoxCode(WxGetBoxCodeReq req) {
|
|
|
// TODO 处理逻辑同console端,待流向查询接口完成后修改
|
|
|
- GetBoxCodeReq boxCodeReq = PojoConverterUtils.copy(req, GetBoxCodeReq.class);
|
|
|
- GetBoxCodeRes boxCodeRes = this.boxCode(boxCodeReq);
|
|
|
- return PojoConverterUtils.copy(boxCodeRes, WxGetBoxCodeRes.class);
|
|
|
+ GetFlowInfoRes flowInfoByBoxCode = this.getFlowInfoByBoxCode(req.getBoxCode());
|
|
|
+ return PojoConverterUtils.copy(flowInfoByBoxCode, WxGetBoxCodeRes.class);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -309,9 +392,8 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
@Override
|
|
|
public WxGetInvisibleCodeRes WxInvisibleCode(WxGetInvisibleCodeReq req) {
|
|
|
// TODO 处理逻辑同console端,待流向查询接口完成后修改
|
|
|
- GetInvisibleCodeReq invisibleCodeReq = PojoConverterUtils.copy(req, GetInvisibleCodeReq.class);
|
|
|
- GetInvisibleCodeRes invisibleCodeRes = this.invisibleCode(invisibleCodeReq);
|
|
|
- return PojoConverterUtils.copy(invisibleCodeRes, WxGetInvisibleCodeRes.class);
|
|
|
+ GetFlowInfoRes flowInfoByInvisibleCode = this.getFlowInfoByInvisibleCode(req.getInvisibleCode());
|
|
|
+ return PojoConverterUtils.copy(flowInfoByInvisibleCode, WxGetInvisibleCodeRes.class);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -320,46 +402,51 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
@Override
|
|
|
public WxGetStackCodeRes wxStackCode(WxGetStackCodeReq req) {
|
|
|
// TODO 处理逻辑同console端,待流向查询接口完成后修改
|
|
|
- GetStackCodeReq stackCodeReq = PojoConverterUtils.copy(req, GetStackCodeReq.class);
|
|
|
- GetStackCodeRes stackCodeRes = this.stackCode(stackCodeReq);
|
|
|
+ GetFlowInfoRes stackCodeRes = this.getFlowInfoByStackCode(req.getStackCode());
|
|
|
return PojoConverterUtils.copy(stackCodeRes, WxGetStackCodeRes.class);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* 保存查询记录
|
|
|
*
|
|
|
* @param res 查询结果
|
|
|
* @param req 查询请求
|
|
|
*/
|
|
|
- private void saveQueryRecord(GetBoxCodeRes res, GetBoxCodeReq req) {
|
|
|
+ private void saveQueryRecord(GetFlowInfoRes res, GetBoxCodeReq req) {
|
|
|
try {
|
|
|
-
|
|
|
+ //查询类型
|
|
|
+ Integer queryType = req.getQueryType();
|
|
|
//判断流向状态
|
|
|
- Map<Integer, GetBoxCodeRes.FlowBean> abnormalNodeMap = res.getFlowList()
|
|
|
- .stream()
|
|
|
- .filter(s -> !(s.getNodeStatus().equals(1)))
|
|
|
- .collect(Collectors.toMap(GetBoxCodeRes.FlowBean::getAbnormalType, flowBean -> flowBean));
|
|
|
-
|
|
|
+ Map<Integer, GetFlowInfoRes.FlowBean> abnormalNodeMap = new HashMap<>();
|
|
|
+ if (!FlowQueryTypeEnum.TRAY_CODE.is(req.getQueryType())) {
|
|
|
+ abnormalNodeMap = res.getFlowList()
|
|
|
+ .stream()
|
|
|
+ .filter(s -> !(s.getNodeStatus().equals(1)))
|
|
|
+ .collect(Collectors.toMap(GetFlowInfoRes.FlowBean::getAbnormalType, flowBean -> flowBean));
|
|
|
+ }
|
|
|
|
|
|
- FlowStatusEnum flowStatus = MapUtil.isEmpty(abnormalNodeMap) ? FlowStatusEnum.ABNORMAL : FlowStatusEnum.NORMAL;
|
|
|
+ FlowStatusEnum flowStatus = MapUtil.isEmpty(abnormalNodeMap) ? FlowStatusEnum.NORMAL : FlowStatusEnum.ABNORMAL;
|
|
|
|
|
|
- //查询类型
|
|
|
- Integer queryType = req.getQueryType();
|
|
|
AddFlowQueryRecordReq addReq = new AddFlowQueryRecordReq();
|
|
|
addReq.setFlowStatus(flowStatus.getCode());
|
|
|
addReq.setQueryType(queryType);
|
|
|
|
|
|
|
|
|
// 箱码 查询类型为箱码时必传
|
|
|
- addReq.setBoxCode(req.getBoxCode());
|
|
|
- addReq.setTrayCode("");
|
|
|
+ if (FlowQueryTypeEnum.TRAY_CODE.is(req.getQueryType())) {
|
|
|
+ addReq.setTrayCode(res.getStack().getStackCode());
|
|
|
+ } else {
|
|
|
+ addReq.setBoxCode(res.getBoxStack().getBoxCode());
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
//品牌
|
|
|
addReq.setBrandCode(res.getSku().getBrandCode());
|
|
|
addReq.setBrandName(res.getSku().getBrandName());
|
|
|
|
|
|
//sku
|
|
|
- GetBoxCodeRes.SkuBean sku = res.getSku();
|
|
|
+ GetFlowInfoRes.SkuBean sku = res.getSku();
|
|
|
addReq.setSkuCode(sku.getSkuId());
|
|
|
addReq.setProductionBatch(sku.getProductionBatch());
|
|
|
addReq.setProductionTime(sku.getProductionTime());
|
|
@@ -372,7 +459,7 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
addReq.setQueryAddress("");
|
|
|
|
|
|
//abnormalNodeIn
|
|
|
- GetBoxCodeRes.FlowBean abnormalNodeIn = abnormalNodeMap.get(1);
|
|
|
+ GetFlowInfoRes.FlowBean abnormalNodeIn = abnormalNodeMap.get(1);
|
|
|
if (Objects.nonNull(abnormalNodeIn)) {
|
|
|
addReq.setAbnormalInNodeCode(abnormalNodeIn.getNodeId());
|
|
|
addReq.setAbnormalInNodeName(abnormalNodeIn.getNodeName());
|
|
@@ -380,19 +467,19 @@ public class FlowQueryServiceImpl implements FlowQueryService {
|
|
|
|
|
|
|
|
|
//abnormalNodeOut
|
|
|
- GetBoxCodeRes.FlowBean abnormalNodeOut = abnormalNodeMap.get(2);
|
|
|
+ GetFlowInfoRes.FlowBean abnormalNodeOut = abnormalNodeMap.get(2);
|
|
|
if (Objects.nonNull(abnormalNodeOut)) {
|
|
|
addReq.setAbnormalOutNodeCode(abnormalNodeOut.getNodeId());
|
|
|
addReq.setAbnormalOutNodeName(abnormalNodeOut.getNodeName());
|
|
|
}
|
|
|
//箱垛信息
|
|
|
- GetBoxCodeRes.BoxStackBean boxStack = res.getBoxStack();
|
|
|
+ GetFlowInfoRes.BoxStackBean boxStack = res.getBoxStack();
|
|
|
AddFlowQueryRecordReq.BoxStackBean boxStackBean = new AddFlowQueryRecordReq.BoxStackBean();
|
|
|
BeanUtil.copyProperties(boxStack, boxStackBean);
|
|
|
addReq.setBoxStackInfo(boxStackBean);
|
|
|
|
|
|
//流向信息列表
|
|
|
- List<GetBoxCodeRes.FlowBean> flowList = res.getFlowList();
|
|
|
+ List<GetFlowInfoRes.FlowBean> flowList = res.getFlowList();
|
|
|
List<AddFlowQueryRecordReq.FlowBean> flowBeans = PojoConverterUtils.copyList(flowList, AddFlowQueryRecordReq.FlowBean.class);
|
|
|
addReq.setFlowList(flowBeans);
|
|
|
|