test_class.declarator: orderService
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private OrderServiceImpl orderService;
test_class.type: OrderServiceImpl
test_class.var_name: orderService
test_class.declarator: BUYER_OPENID = "abc123"
test_class.modifier: private final
test_class.original_string: private final String BUYER_OPENID = "abc123";
test_class.type: String
test_class.var_name: BUYER_OPENID
test_class.declarator: ORDER_ID = "1569052543479819643"
test_class.modifier: private final
test_class.original_string: private final String ORDER_ID = "1569052543479819643";
test_class.type: String
test_class.var_name: ORDER_ID
test_class.file: wechat_order_h/src/test/java/com/hhh/wechat_order/service/impl/OrderServiceImplTest.java
test_class.identifier: OrderServiceImplTest
test_case.body: @Test
      public void findList() {
          PageRequest request = new PageRequest(0 , 2);
          Page<OrderDTO> orderDTOPage = orderService.findList(BUYER_OPENID, request);
          Assert.assertNotEquals(0 , orderDTOPage.getTotalElements());
      }
test_case.class_method_signature: OrderServiceImplTest.findList()
test_case.full_signature: @Test public void findList()
test_case.identifier: findList
test_case.invocations: findList assertNotEquals getTotalElements
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void findList()
focal_class.declarator: productService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ProductService productService;
focal_class.type: ProductService
focal_class.var_name: productService
focal_class.declarator: orderDetailRepository
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private OrderDetailRepository orderDetailRepository;
focal_class.type: OrderDetailRepository
focal_class.var_name: orderDetailRepository
focal_class.declarator: orderMasterRepository
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private OrderMasterRepository orderMasterRepository;
focal_class.type: OrderMasterRepository
focal_class.var_name: orderMasterRepository
focal_class.declarator: payService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private PayService payService;
focal_class.type: PayService
focal_class.var_name: payService
focal_class.declarator: webSocket
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private WebSocket webSocket;
focal_class.type: WebSocket
focal_class.var_name: webSocket
focal_class.file: wechat_order_h/src/main/java/com/hhh/wechat_order/service/impl/OrderServiceImpl.java
focal_class.identifier: OrderServiceImpl
focal_class.interfaces: implements OrderService
focal_class.class_method_signature: OrderServiceImpl.create(OrderDTO orderDTO)
focal_class.full_signature: @Override @Transactional public OrderDTO create(OrderDTO orderDTO)
focal_class.identifier: create
focal_class.modifiers: @Override @Transactional public
focal_class.parameters: (OrderDTO orderDTO)
focal_class.return: OrderDTO
focal_class.signature: OrderDTO create(OrderDTO orderDTO)
focal_class.class_method_signature: OrderServiceImpl.findOne(String orderId)
focal_class.full_signature: @Override public OrderDTO findOne(String orderId)
focal_class.identifier: findOne
focal_class.modifiers: @Override public
focal_class.parameters: (String orderId)
focal_class.return: OrderDTO
focal_class.signature: OrderDTO findOne(String orderId)
focal_class.class_method_signature: OrderServiceImpl.findList(String buyerOpenid, Pageable pageable)
focal_class.full_signature: @Override public Page<OrderDTO> findList(String buyerOpenid, Pageable pageable)
focal_class.identifier: findList
focal_class.modifiers: @Override public
focal_class.parameters: (String buyerOpenid, Pageable pageable)
focal_class.return: Page<OrderDTO>
focal_class.signature: Page<OrderDTO> findList(String buyerOpenid, Pageable pageable)
focal_class.class_method_signature: OrderServiceImpl.findList(Pageable pageable)
focal_class.full_signature: @Override public Page<OrderDTO> findList(Pageable pageable)
focal_class.identifier: findList
focal_class.modifiers: @Override public
focal_class.parameters: (Pageable pageable)
focal_class.return: Page<OrderDTO>
focal_class.signature: Page<OrderDTO> findList(Pageable pageable)
focal_class.class_method_signature: OrderServiceImpl.findOrderMastersByCreateTimeDesc(Pageable pageable)
focal_class.full_signature: @Override public Page<OrderDTO> findOrderMastersByCreateTimeDesc(Pageable pageable)
focal_class.identifier: findOrderMastersByCreateTimeDesc
focal_class.modifiers: @Override public
focal_class.parameters: (Pageable pageable)
focal_class.return: Page<OrderDTO>
focal_class.signature: Page<OrderDTO> findOrderMastersByCreateTimeDesc(Pageable pageable)
focal_class.class_method_signature: OrderServiceImpl.findListStats(String buyerOpenid, Integer orderStatus)
focal_class.full_signature: @Override public List<OrderDTO> findListStats(String buyerOpenid, Integer orderStatus)
focal_class.identifier: findListStats
focal_class.modifiers: @Override public
focal_class.parameters: (String buyerOpenid, Integer orderStatus)
focal_class.return: List<OrderDTO>
focal_class.signature: List<OrderDTO> findListStats(String buyerOpenid, Integer orderStatus)
focal_class.class_method_signature: OrderServiceImpl.cancel(OrderDTO orderDTO)
focal_class.full_signature: @Override @Transactional public OrderDTO cancel(OrderDTO orderDTO)
focal_class.identifier: cancel
focal_class.modifiers: @Override @Transactional public
focal_class.parameters: (OrderDTO orderDTO)
focal_class.return: OrderDTO
focal_class.signature: OrderDTO cancel(OrderDTO orderDTO)
focal_class.class_method_signature: OrderServiceImpl.finish(OrderDTO orderDTO)
focal_class.full_signature: @Override @Transactional public OrderDTO finish(OrderDTO orderDTO)
focal_class.identifier: finish
focal_class.modifiers: @Override @Transactional public
focal_class.parameters: (OrderDTO orderDTO)
focal_class.return: OrderDTO
focal_class.signature: OrderDTO finish(OrderDTO orderDTO)
focal_class.class_method_signature: OrderServiceImpl.paid(OrderDTO orderDTO)
focal_class.full_signature: @Override @Transactional public OrderDTO paid(OrderDTO orderDTO)
focal_class.identifier: paid
focal_class.modifiers: @Override @Transactional public
focal_class.parameters: (OrderDTO orderDTO)
focal_class.return: OrderDTO
focal_class.signature: OrderDTO paid(OrderDTO orderDTO)
focal_method.body: @Override
      public Page<OrderDTO> findList(String buyerOpenid, Pageable pageable) {
          Page<OrderMaster> orderMasterPage = orderMasterRepository.findByBuyerOpenid(buyerOpenid, pageable);
          List<OrderDTO> orderDTOList = OrderMaster2OrderDTOConverter.convert(orderMasterPage.getContent());
          Page<OrderDTO> orderDTOPage = new PageImpl<>(orderDTOList , pageable , orderMasterPage.getTotalElements());
          return orderDTOPage;
      }
focal_method.class_method_signature: OrderServiceImpl.findList(String buyerOpenid, Pageable pageable)
focal_method.full_signature: @Override public Page<OrderDTO> findList(String buyerOpenid, Pageable pageable)
focal_method.identifier: findList
focal_method.invocations: findByBuyerOpenid convert getContent getTotalElements
focal_method.modifiers: @Override public
focal_method.parameters: (String buyerOpenid, Pageable pageable)
focal_method.return: Page<OrderDTO>
focal_method.signature: Page<OrderDTO> findList(String buyerOpenid, Pageable pageable)