春风项目四线(合箱线、总装线)
jiang
2024-01-30 d82e4465e5e3c9e9f93a8ce7ce3b8c0f73fdf991
提交 | 用户 | 时间
83923e 1 package com.jcdm.main.bs.formulaChild.service.impl;
W 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 }