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