| | |
| | | package com.zy.asrs.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.core.common.Cools; |
| | | import com.zy.asrs.entity.OrderDetl; |
| | | import com.zy.asrs.mapper.OrderMapper; |
| | | import com.zy.asrs.entity.Order; |
| | | import com.zy.asrs.service.OrderService; |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Service("orderService") |
| | | public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService { |
| | | |
| | | @Override |
| | | public Order selectByNo(String orderNo) { |
| | | List<Order> orderList = this.selectList(new EntityWrapper<Order>().eq("order_no", orderNo)); |
| | | if (Cools.isEmpty(orderList)) { |
| | | return null; |
| | | } |
| | | return orderList.get(0); |
| | | } |
| | | |
| | | @Override |
| | | public List<OrderDetl> selectWorkingDetls(String orderNo) { |
| | | |
| | | return null; |
| | | } |
| | | |
| | | } |