| | |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/service/impl/OrderServiceImpl.class */ |
| | | public class OrderServiceImpl extends BaseServiceImpl<OrderMapper, Order> implements IOrderService { |
| | | @Autowired |
| | | @Lazy |
| | |
| | | private OssBuilder ossBuilder; |
| | | |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | public List<OrderVO> list(OrderQueryVO orderQueryVO) { |
| | | return this.baseMapper.list(orderQueryVO); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public Boolean remove(List<Long> ids, Long planId) { |
| | | |
| | |
| | | */ |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public OrderVO assign(OrderAssignVO orderAssignVO) { |
| | | Plan plan = (Plan) this.planService.getById(orderAssignVO.getPlanId()); |
| | |
| | | this.planService.updateById(plan); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public void reportOrder(Integer orderQualifyNum, Integer orderScrappedNum, Order order, Boolean isDel) { |
| | | Integer oldQualifyNum = order.getQualifyNum(); |
| | |
| | | } |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | public void updateOrderByStart(Order order, Date startTime) { |
| | | if (OrderStatusEnum.NOT_STARTED.getCode().equals(order.getOrderStatus())) { |
| | | order.setOrderStatus(OrderStatusEnum.IN_EXECUTION.getCode()); |
| | |
| | | } |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | public PlanAndOrderDTO getPlanAndOrderByOrderId(Long orderId) { |
| | | Order order = (Order) getById(orderId); |
| | | if (order == null) { |
| | |
| | | return planAndOrderDTO; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | public List<OrderVO> planOrderList(OrderQueryVO orderQueryVO) { |
| | | QueryWrapper<Order> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("plan_id", orderQueryVO.getPlanId()); |
| | |
| | | return orderVOList; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | public OrderAndProcessInfoVO getOrderAndProcessList(Long orderId) { |
| | | OrderAndProcessInfoVO result = new OrderAndProcessInfoVO(); |
| | | Order order = (Order) getById(orderId); |
| | |
| | | return result; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public Order reportOrderData(Order order) { |
| | | List<OrderProcess> mainProcess = (List) order.getOrderProcessList().stream().filter(s -> { |
| | |
| | | return order; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | @Transactional(rollbackFor = {Exception.class}) |
| | | public Order delReportOrderData(Order order, List<Long> removeRecordIds) { |
| | | List<OrderProcess> mainProcess = (List) order.getOrderProcessList().stream().filter(s -> { |
| | |
| | | } |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | public BladeFile export(Long orderId) { |
| | | try { |
| | | List<List<String>> orderHead = buildOrderHead(); |
| | |
| | | } |
| | | } |
| | | |
| | | @Override // org.springblade.modules.coproduction.service.IOrderService |
| | | |
| | | public BladeFile exportList(OrderQueryVO orderQueryVO) { |
| | | List<OrderVO> orderVOList = list(orderQueryVO); |
| | | List<List<String>> head = buildOrderHead(); |