Selaa lähdekoodia

【越加红】【WMS对接】【寄售退货】

wuyx 6 kuukautta sitten
vanhempi
commit
3c980da5c1
1 muutettua tiedostoa jossa 12 lisäystä ja 1 poistoa
  1. 12 1
      src/test/java/com/uas/eis/UasEisApplicationTests.java

+ 12 - 1
src/test/java/com/uas/eis/UasEisApplicationTests.java

@@ -41,6 +41,17 @@ public class UasEisApplicationTests {
 	@Autowired
 	private VwmsConfig vwmsConfig;
 	@Test
+	public void testSendJSTH(){
+		// 设置测试数据
+		String master = "YUEJH_TEST";
+		String id = "50744184";
+		String emCode = "TEST";
+		String caller="ProdInOut!AppropriationOut";
+		// 调用待测方法
+		Map<String, Object> result = erpService.sendIO(master, id, emCode,caller);
+		System.out.println("result:"+result.toString());
+	}
+	@Test
 	public void testSendZK(){
 		// 设置测试数据
 		String master = "YUEJH_TEST";
@@ -99,7 +110,7 @@ public class UasEisApplicationTests {
 		String master = "YUEJH_TEST";
 		String emCode = "test";
 		String caller = "Product";
-		String id = baseDao.queryForObject("select pr_id from "+master+".product where pr_code = 'U00014727'",String.class);
+		String id = baseDao.queryForObject("select pr_id from "+master+".product where pr_code = 'U00014725'",String.class);
 		// 调用待测方法
 		Map<String, Object> result = erpService.sendProd(master, id, emCode,caller);
 		System.out.println("result:"+result.toString());