| | |
| | | import com.zy.asrs.service.*; |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import com.zy.common.model.DetlDto; |
| | | import com.zy.common.model.OrderMergeVo; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | return this.baseMapper.selectComplete(); |
| | | } |
| | | |
| | | @Override |
| | | public List<OrderMergeVo> mergePreview(List<Long> ids) { |
| | | List<OrderMergeVo> result = new ArrayList<>(); |
| | | for (Long orderId : ids) { |
| | | Order order = this.selectById(orderId); |
| | | // 获取所有未作业的明细 |
| | | List<OrderDetl> orderDetls = orderDetlService.selectRemainder(orderId); |
| | | for (OrderDetl orderDetl : orderDetls) { |
| | | |
| | | } |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | } |