@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 testUpdateCusOrdsShipHide() { List<String> list = new ArrayList<String>(); list.add("100000000000001"); list.add("100000000000002"); int[] a = orders.updateCusOrdsShipHide(false, "is_hide", list.toArray(new String[0])); System.out.println(a); }
@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 testSaveCustomerOrdersShipData() { orders.saveCustomerOrdersShipData(); }