增加账套数据库配置

This commit is contained in:
admin
2021-01-25 09:47:41 +08:00
parent 3141e8f9c6
commit 72c0e2e8c8
17 changed files with 46 additions and 23 deletions

View File

@@ -9,7 +9,7 @@ namespace NX.ERP.U8.Purchase
{
public IEnumerable<Model.Purchase.Arrival> GetList(string strWhere = "", object param = null)
{
using (var conn = new System.Data.SqlClient.SqlConnection(U8LoginContext.Instance.Constr4Net))
using (var conn = U8LoginContext.Instance.Connection)
{
string strSQL = @"select a.id AS ArrivalId,a.cCode as ArrivalCode,A.cbustype AS busType,a.cptcode as PTCode,a.iTaxRate as TaxRate,a.iexchrate as Exchrate,cexch_name as ExchName,cVenCode as VenCode,a.dDate as ArrivalDate,A.cVenCode AS SupplierCode,
B.Autoid as id,b.ID as ArrivalID,