春风项目四线(合箱线、总装线)
wujian
2024-03-22 9e6d86cfea30f99668cde150b49abae780239a55
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;
    }
 
}