yyt
8 天以前 0cceb649e1dc443c2a91d26d81eacb0867c96db3
提交 | 用户 | 时间
0cceb6 1 package com.jcdm.main.bs.formulaChild.service.impl;
Y 2
3 import com.jcdm.main.bs.formulaChild.Query.ProductProcessQuery;
4 import com.jcdm.main.bs.formulaChild.domain.BsFormulaChildInfo;
5 import com.jcdm.main.bs.formulaChild.mapper.BsFormulaChildInfoMapper;
6 import org.springframework.stereotype.Service;
7
8 import javax.annotation.Resource;
9 import java.util.List;
10
11 @Service
12 public class ProductProcessService {
13
14     @Resource
15     private BsFormulaChildInfoMapper bsFormulaChildInfoMapper;
16
17     public List<BsFormulaChildInfo> getProductProcess(ProductProcessQuery productProcessQuery){
18
19
20         List<BsFormulaChildInfo> list = bsFormulaChildInfoMapper.getProductProcess(productProcessQuery);
21
22 //        if (CollUtil.isNotEmpty(list)){
23 //            list = list.stream().sorted(Comparator.comparing(BsFormulaChildInfo::getStepSort)).collect(Collectors.toList());
24 //        }
25         return list;
26     }
27
28 }