@Test public void testGetCustomerOrdersShipData() { List<Map<String, Object>> objs = orders.getCustomerOrdersShipData(); for (Map<String, Object> objects : objs) { logger.info(JackSonMapper.toJsonString(objects)); } }
@Test public void testGetWwListByDpId() { // List<Map<String, Object>> ship = shipRepository.getWwListByDpId("a"); // List<String> ship = shipRepository.getWwListByDpId("a"); List<Map<String, Object>> ship = orders.getOrderReceptionWwListByDpId("a"); System.out.println(JackSonMapper.toJsonString(ship)); }
@Test public void testUrPayOrdersLogList() { PageRequest pr = new PageRequest(0, 20); UrPayOrdersLogVo ship = orders.urPayOrdersLogList(pr, "65927470"); System.out.println(JackSonMapper.toJsonString(ship)); // ship = orders.urPayOrdersLogList(pr, "b"); // System.out.println(JackSonMapper.toJsonString(ship)); }
@Test public void testShippingNotice() { List<OrderDomain> list = null; // re.getOrders("68790050"); System.out.println(JackSonMapper.toJsonString(list)); Map<String, List<OrderDomain>> map = new HashMap<String, List<OrderDomain>>(); map.put("68790050", list); orderService.shippingNotice(map); }
@Test public void testFindCusOrdsByTid() { // shipRepository.updateCusOrdsByTid("a"); // CustomerOrdersShipDomain ship = shipRepository.findCusOrdsByTid("b"); // System.out.println(JackSonMapper.toJsonString(ship)); // // int[] updas = orders.updateCusOrdsShipHide(true, "b"); // ship = shipRepository.findCusOrdsByTid("b"); // System.out.println(JackSonMapper.toJsonString(ship)); // // // int upda = orders.updateCusOrdsShipHide("b"); // System.out.println(JackSonMapper.toJsonString(upda)); //// shipRepository.updateCusOrdsByTid("a"); // // ship = shipRepository.findCusOrdsByTid("b"); // System.out.println(JackSonMapper.toJsonString(ship)); List<String> list = new ArrayList<String>(); list.add("100000000000001"); list.add("100000000000002"); List<CustomerOrdersShipDomain> l = shipRepository.getByTidIn(list); System.out.println(JackSonMapper.toJsonString(l)); }