diff --git a/NX.ERP.U8/NX.ERP.U8.csproj b/NX.ERP.U8/NX.ERP.U8.csproj
index e3d13bf..0a99db4 100644
--- a/NX.ERP.U8/NX.ERP.U8.csproj
+++ b/NX.ERP.U8/NX.ERP.U8.csproj
@@ -69,11 +69,6 @@
-
- False
- True
- E:\U8SOFT\Interop\ADODB.dll
-
..\packages\Dapper.1.42\lib\net35\Dapper.dll
@@ -118,8 +113,63 @@
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/NX.ERP.U8/Pmc/PmcQuery.cs b/NX.ERP.U8/Pmc/PmcQuery.cs
index 79aafb2..86e247d 100644
--- a/NX.ERP.U8/Pmc/PmcQuery.cs
+++ b/NX.ERP.U8/Pmc/PmcQuery.cs
@@ -17,7 +17,7 @@ namespace NX.ERP.U8.Pmc
///
///
///
- public IEnumerable Post1(NX.ERP.Model.Request.Inventoryall info)
+ public IEnumerable GetPmcInventoryallRes(NX.ERP.Model.Request.Inventoryall info)
{
string sql = $@"
SELECT c.cInvCode invcode1,
@@ -109,14 +109,15 @@ namespace NX.ERP.U8.Pmc
- using (var conn = new System.Data.SqlClient.SqlConnection("Data Source =10.0.0.12;Initial Catalog =UFDATA_001_2019;User Id = sa;Password =1qaz@WSX;"))
+ using (var conn = U8.U8LoginContext.Instance.Connection)
{
- return conn.Query(sql, new { cinvcode = info.cInvCode, info.cInvStd });
+
+ return conn.Query(sql, new { cinvcode = info.cInvCode, info.cInvStd });
}
}
- public IEnumerable