33
This commit is contained in:
parent
bb755db86f
commit
831497717b
@ -297,187 +297,187 @@ namespace MyCode.Project.Services.Implementation
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region BatchAddInvoiceOrder(选中明细生成发货通知单)
|
||||
/// <summary>
|
||||
/// 选中明细生成发货通知单
|
||||
/// </summary>
|
||||
/// <param name="updateList"></param>
|
||||
/// <param name="loginInfo"></param>
|
||||
/// <exception cref="BaseException"></exception>
|
||||
[TransactionCallHandler]
|
||||
public string BatchAddInvoiceOrder(AddOrder act , LoginInfo loginInfo)
|
||||
{
|
||||
if (!act.FaHuoDate.HasValue)
|
||||
act.FaHuoDate = DateTime.Now;
|
||||
List<UpdateQty> updateList = act.UpDateList;
|
||||
string supplierId = loginInfo.SupplierId;
|
||||
var ids = updateList.Select(t => t.Id).ToList(); ;
|
||||
var list = _purchaseOrderItemRepository.Queryable().Where(t => t.SupplierId == supplierId && ids.Contains(t.Id)).ToList();
|
||||
var fidList = list.Select(t => t.Fid).ToList();
|
||||
var orderHeadList = _purchaseOrderRepository.Queryable().Where(t => fidList.Contains( t.FiD)).ToList();
|
||||
if (orderHeadList == null)
|
||||
{
|
||||
throw new BaseException("订单不属于此供应商");
|
||||
}
|
||||
var FPurchaseOrgIdList = orderHeadList.Select(t => t.FPurchaseOrgId).Distinct().ToList();
|
||||
if (FPurchaseOrgIdList.Count > 1)
|
||||
{
|
||||
throw new BaseException("不能跨采购组织创建发货通知单");
|
||||
}
|
||||
//#region BatchAddInvoiceOrder(选中明细生成发货通知单)
|
||||
///// <summary>
|
||||
///// 选中明细生成发货通知单
|
||||
///// </summary>
|
||||
///// <param name="updateList"></param>
|
||||
///// <param name="loginInfo"></param>
|
||||
///// <exception cref="BaseException"></exception>
|
||||
//[TransactionCallHandler]
|
||||
//public string BatchAddInvoiceOrderOld(AddOrder act , LoginInfo loginInfo)
|
||||
//{
|
||||
// if (!act.FaHuoDate.HasValue)
|
||||
// act.FaHuoDate = DateTime.Now;
|
||||
// List<UpdateQty> updateList = act.UpDateList;
|
||||
// string supplierId = loginInfo.SupplierId;
|
||||
// var ids = updateList.Select(t => t.Id).ToList(); ;
|
||||
// var list = _purchaseOrderItemRepository.Queryable().Where(t => t.SupplierId == supplierId && ids.Contains(t.Id)).ToList();
|
||||
// var fidList = list.Select(t => t.Fid).ToList();
|
||||
// var orderHeadList = _purchaseOrderRepository.Queryable().Where(t => fidList.Contains( t.FiD)).ToList();
|
||||
// if (orderHeadList == null)
|
||||
// {
|
||||
// throw new BaseException("订单不属于此供应商");
|
||||
// }
|
||||
// var FPurchaseOrgIdList = orderHeadList.Select(t => t.FPurchaseOrgId).Distinct().ToList();
|
||||
// if (FPurchaseOrgIdList.Count > 1)
|
||||
// {
|
||||
// throw new BaseException("不能跨采购组织创建发货通知单");
|
||||
// }
|
||||
|
||||
if (loginInfo.IfForeign == 1 && string.IsNullOrWhiteSpace(act.F_VHUB_Text))
|
||||
{
|
||||
throw new BaseException("国外的供应商发票号和发票日期是必填.");
|
||||
}
|
||||
// if (loginInfo.IfForeign == 1 && string.IsNullOrWhiteSpace(act.F_VHUB_Text))
|
||||
// {
|
||||
// throw new BaseException("国外的供应商发票号和发票日期是必填.");
|
||||
// }
|
||||
|
||||
InvoiceOrder NewInvoiceOrder = new InvoiceOrder();
|
||||
NewInvoiceOrder.Id = Guid.NewGuid();
|
||||
NewInvoiceOrder.FiD = null;
|
||||
NewInvoiceOrder.Status = 1;
|
||||
NewInvoiceOrder.EditTime = DateTime.Now;
|
||||
NewInvoiceOrder.Editor = loginInfo.Name;
|
||||
NewInvoiceOrder.CreateTime = DateTime.Now;
|
||||
NewInvoiceOrder.Creater = loginInfo.Name;
|
||||
NewInvoiceOrder.SupplierId = supplierId;
|
||||
NewInvoiceOrder.SupplierName = orderHeadList.FirstOrDefault().SupplierName;
|
||||
NewInvoiceOrder.FDate = act.FaHuoDate;
|
||||
NewInvoiceOrder.Sheet = DateTime.Now.ToString("yyMMddhhmmssfff");
|
||||
NewInvoiceOrder.PurchaseOrderId = 0;
|
||||
NewInvoiceOrder.F_VHUB_Text = act.F_VHUB_Text;
|
||||
// InvoiceOrder NewInvoiceOrder = new InvoiceOrder();
|
||||
// NewInvoiceOrder.Id = Guid.NewGuid();
|
||||
// NewInvoiceOrder.FiD = null;
|
||||
// NewInvoiceOrder.Status = 1;
|
||||
// NewInvoiceOrder.EditTime = DateTime.Now;
|
||||
// NewInvoiceOrder.Editor = loginInfo.Name;
|
||||
// NewInvoiceOrder.CreateTime = DateTime.Now;
|
||||
// NewInvoiceOrder.Creater = loginInfo.Name;
|
||||
// NewInvoiceOrder.SupplierId = supplierId;
|
||||
// NewInvoiceOrder.SupplierName = orderHeadList.FirstOrDefault().SupplierName;
|
||||
// NewInvoiceOrder.FDate = act.FaHuoDate;
|
||||
// NewInvoiceOrder.Sheet = DateTime.Now.ToString("yyMMddhhmmssfff");
|
||||
// NewInvoiceOrder.PurchaseOrderId = 0;
|
||||
// NewInvoiceOrder.F_VHUB_Text = act.F_VHUB_Text;
|
||||
|
||||
NewInvoiceOrder.F_URXD_Date = act.F_URXD_Date;
|
||||
NewInvoiceOrder.FPurchaseOrgId = orderHeadList.FirstOrDefault().FPurchaseOrgId;
|
||||
NewInvoiceOrder.FPurchaseOrgName = orderHeadList.FirstOrDefault().FPurchaseOrgName;
|
||||
List<InvoiceOrderItem> invoiceOrderItems = new List<InvoiceOrderItem>();
|
||||
//invoiceOrderItems=list.Select(t=>new InvoiceOrderItem {Id=Guid.NewGuid(), Amount1=t.Amount1, Amount2=t.Amount2,t })
|
||||
var allInvoiceOrderItem = _invoiceOrderItemRepository.Queryable().Where(t => ids.Contains(t.PurchaseOrderItemId.Value)).ToList();
|
||||
List<string> errorList = new List<string>();
|
||||
// NewInvoiceOrder.F_URXD_Date = act.F_URXD_Date;
|
||||
// NewInvoiceOrder.FPurchaseOrgId = orderHeadList.FirstOrDefault().FPurchaseOrgId;
|
||||
// NewInvoiceOrder.FPurchaseOrgName = orderHeadList.FirstOrDefault().FPurchaseOrgName;
|
||||
// List<InvoiceOrderItem> invoiceOrderItems = new List<InvoiceOrderItem>();
|
||||
// //invoiceOrderItems=list.Select(t=>new InvoiceOrderItem {Id=Guid.NewGuid(), Amount1=t.Amount1, Amount2=t.Amount2,t })
|
||||
// var allInvoiceOrderItem = _invoiceOrderItemRepository.Queryable().Where(t => ids.Contains(t.PurchaseOrderItemId.Value)).ToList();
|
||||
// List<string> errorList = new List<string>();
|
||||
|
||||
string FormId = "PUR_PurchaseOrder";
|
||||
var entityIdList = list.Select(t => t.EntityId).ToList();
|
||||
BillPush billPush = new BillPush();
|
||||
billPush.EntryIds = string.Join(",", entityIdList);
|
||||
billPush.TargetFormId = "PUR_ReceiveBill";
|
||||
billPush.IsEnableDefaultRule = true;
|
||||
billPush.CustomParams = new CustomParams();
|
||||
billPush.CustomParams.AutoAudit = false;
|
||||
billPush.CustomParams.ScanEntry = new List<ScanEntry>();
|
||||
// string FormId = "PUR_PurchaseOrder";
|
||||
// var entityIdList = list.Select(t => t.EntityId).ToList();
|
||||
// BillPush billPush = new BillPush();
|
||||
// billPush.EntryIds = string.Join(",", entityIdList);
|
||||
// billPush.TargetFormId = "PUR_ReceiveBill";
|
||||
// billPush.IsEnableDefaultRule = true;
|
||||
// billPush.CustomParams = new CustomParams();
|
||||
// billPush.CustomParams.AutoAudit = false;
|
||||
// billPush.CustomParams.ScanEntry = new List<ScanEntry>();
|
||||
|
||||
List<AddTiaoMa> addTiaoMas = new List<AddTiaoMa>();
|
||||
// List<AddTiaoMa> addTiaoMas = new List<AddTiaoMa>();
|
||||
|
||||
list.ForEach(t =>
|
||||
{
|
||||
//var allqty = allInvoiceOrderItem.Where(h => h.PurchaseOrderItemId == t.Id ).Sum(h => h.Qty).SafeValue();
|
||||
var temp = updateList.Where(h => h.Id == t.Id).FirstOrDefault();
|
||||
if (temp != null)
|
||||
{
|
||||
var purchaseOrder = orderHeadList.FirstOrDefault(h=>h.FiD==t.Fid);
|
||||
if (purchaseOrder == null)
|
||||
throw new BaseException("找不到对应的采购订单主表信息");
|
||||
if ((temp.Qty ) > (t.Qty - t.MSSReceiveQty))
|
||||
{
|
||||
string error = $@"{t.MaterialName}";
|
||||
errorList.Add(error);
|
||||
}
|
||||
//else if ((temp.Qty + allqty) == t.Qty)
|
||||
//{
|
||||
// list.ForEach(t =>
|
||||
// {
|
||||
// //var allqty = allInvoiceOrderItem.Where(h => h.PurchaseOrderItemId == t.Id ).Sum(h => h.Qty).SafeValue();
|
||||
// var temp = updateList.Where(h => h.Id == t.Id).FirstOrDefault();
|
||||
// if (temp != null)
|
||||
// {
|
||||
// var purchaseOrder = orderHeadList.FirstOrDefault(h=>h.FiD==t.Fid);
|
||||
// if (purchaseOrder == null)
|
||||
// throw new BaseException("找不到对应的采购订单主表信息");
|
||||
// if ((temp.Qty ) > (t.Qty - t.MSSReceiveQty))
|
||||
// {
|
||||
// string error = $@"{t.MaterialName}";
|
||||
// errorList.Add(error);
|
||||
// }
|
||||
// //else if ((temp.Qty + allqty) == t.Qty)
|
||||
// //{
|
||||
|
||||
//}
|
||||
else
|
||||
{
|
||||
InvoiceOrderItem invoiceOrderItemTemp = new InvoiceOrderItem();
|
||||
invoiceOrderItemTemp.Id = Guid.NewGuid();
|
||||
invoiceOrderItemTemp.InvoiceOrderId = NewInvoiceOrder.Id;
|
||||
invoiceOrderItemTemp.NewChengNuoJiaoQi = t.NewChengNuoJiaoQi;
|
||||
invoiceOrderItemTemp.ChengNuoJiaoQi = t.ChengNuoJiaoQi;
|
||||
invoiceOrderItemTemp.UnitPrice = t.UnitPrice;
|
||||
invoiceOrderItemTemp.PurchaseOrderId = t.Fid;
|
||||
invoiceOrderItemTemp.MaterialCode = t.MaterialCode;
|
||||
invoiceOrderItemTemp.MaterialName = t.MaterialName;
|
||||
invoiceOrderItemTemp.Amount1 = t.UnitPrice * temp.Qty;
|
||||
invoiceOrderItemTemp.Amount2 = t.UnitPrice * temp.Qty * t.TaxRate;
|
||||
invoiceOrderItemTemp.DeliveryDate = act.FaHuoDate;
|
||||
invoiceOrderItemTemp.Qty = temp.Qty;
|
||||
invoiceOrderItemTemp.Remark = t.Remark;
|
||||
invoiceOrderItemTemp.SpecificationModel = t.SpecificationModel;
|
||||
invoiceOrderItemTemp.TaxAmount = t.TaxAmount;
|
||||
invoiceOrderItemTemp.PurchaseOrderItemId = t.Id;
|
||||
invoiceOrderItemTemp.FSupplierLot = temp.FSupplierLot==null ?"" : temp.FSupplierLot;
|
||||
invoiceOrderItemTemp.MSSSupplierLot = t.MSSSupplierLot;
|
||||
invoiceOrderItemTemp.UnitName = t.UnitName;
|
||||
invoiceOrderItemTemp.FBillNo = purchaseOrder.FBillNo;
|
||||
invoiceOrderItemTemp.PurchaseEntityId = t.EntityId;
|
||||
invoiceOrderItems.Add(invoiceOrderItemTemp);
|
||||
ScanEntry tempUpdate = new ScanEntry();
|
||||
tempUpdate.Qty = (int)temp.Qty;
|
||||
tempUpdate.FENTRYID = t.EntityId.SafeValue();
|
||||
tempUpdate.FSupplierLot = temp.FSupplierLot;
|
||||
billPush.CustomParams.ScanEntry.Add(tempUpdate);
|
||||
billPush.CustomParams.FPH= act.F_VHUB_Text;
|
||||
billPush.CustomParams.F_URXD_Date = act.F_URXD_Date;
|
||||
if (string.IsNullOrWhiteSpace(billPush.CustomParams.F_URXD_Date))
|
||||
billPush.CustomParams.F_URXD_Date = null;
|
||||
t.FReceiveQty = t.FReceiveQty + temp.Qty;
|
||||
t.FRemainReceiveQty = t.FRemainReceiveQty - temp.Qty;
|
||||
// //}
|
||||
// else
|
||||
// {
|
||||
// InvoiceOrderItem invoiceOrderItemTemp = new InvoiceOrderItem();
|
||||
// invoiceOrderItemTemp.Id = Guid.NewGuid();
|
||||
// invoiceOrderItemTemp.InvoiceOrderId = NewInvoiceOrder.Id;
|
||||
// invoiceOrderItemTemp.NewChengNuoJiaoQi = t.NewChengNuoJiaoQi;
|
||||
// invoiceOrderItemTemp.ChengNuoJiaoQi = t.ChengNuoJiaoQi;
|
||||
// invoiceOrderItemTemp.UnitPrice = t.UnitPrice;
|
||||
// invoiceOrderItemTemp.PurchaseOrderId = t.Fid;
|
||||
// invoiceOrderItemTemp.MaterialCode = t.MaterialCode;
|
||||
// invoiceOrderItemTemp.MaterialName = t.MaterialName;
|
||||
// invoiceOrderItemTemp.Amount1 = t.UnitPrice * temp.Qty;
|
||||
// invoiceOrderItemTemp.Amount2 = t.UnitPrice * temp.Qty * t.TaxRate;
|
||||
// invoiceOrderItemTemp.DeliveryDate = act.FaHuoDate;
|
||||
// invoiceOrderItemTemp.Qty = temp.Qty;
|
||||
// invoiceOrderItemTemp.Remark = t.Remark;
|
||||
// invoiceOrderItemTemp.SpecificationModel = t.SpecificationModel;
|
||||
// invoiceOrderItemTemp.TaxAmount = t.TaxAmount;
|
||||
// invoiceOrderItemTemp.PurchaseOrderItemId = t.Id;
|
||||
// invoiceOrderItemTemp.FSupplierLot = temp.FSupplierLot==null ?"" : temp.FSupplierLot;
|
||||
// invoiceOrderItemTemp.MSSSupplierLot = t.MSSSupplierLot;
|
||||
// invoiceOrderItemTemp.UnitName = t.UnitName;
|
||||
// invoiceOrderItemTemp.FBillNo = purchaseOrder.FBillNo;
|
||||
// invoiceOrderItemTemp.PurchaseEntityId = t.EntityId;
|
||||
// invoiceOrderItems.Add(invoiceOrderItemTemp);
|
||||
// ScanEntry tempUpdate = new ScanEntry();
|
||||
// tempUpdate.Qty = (int)temp.Qty;
|
||||
// tempUpdate.FENTRYID = t.EntityId.SafeValue();
|
||||
// tempUpdate.FSupplierLot = temp.FSupplierLot;
|
||||
// billPush.CustomParams.ScanEntry.Add(tempUpdate);
|
||||
// billPush.CustomParams.FPH= act.F_VHUB_Text;
|
||||
// billPush.CustomParams.F_URXD_Date = act.F_URXD_Date;
|
||||
// if (string.IsNullOrWhiteSpace(billPush.CustomParams.F_URXD_Date))
|
||||
// billPush.CustomParams.F_URXD_Date = null;
|
||||
// t.FReceiveQty = t.FReceiveQty + temp.Qty;
|
||||
// t.FRemainReceiveQty = t.FRemainReceiveQty - temp.Qty;
|
||||
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
}
|
||||
});
|
||||
// }
|
||||
// });
|
||||
|
||||
if (errorList.Count > 0)
|
||||
{
|
||||
string e = string.Join(",", errorList);
|
||||
if(loginInfo.IfForeign==0)
|
||||
e = e + "的总发货数量大于总采购数量,请检查";
|
||||
else
|
||||
e=e+" The delivery QTY exceeds the PO's maximum QTY!";
|
||||
throw new BaseException(e);
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
var resultKD= _kingDeeService.Push(FormId, billPush);
|
||||
LogHelper.Info("推送收料订单");
|
||||
LogHelper.Info(resultKD);
|
||||
//var sda = resultKD.GetProperty("IsSuccess") [["SuccessEntitys"];
|
||||
dynamic data = JsonHelper.ToObject<dynamic>(resultKD);
|
||||
int row = 0;
|
||||
foreach (var item in data)
|
||||
{
|
||||
NewInvoiceOrder.FBillNo = item["Number"];
|
||||
NewInvoiceOrder.FiD = item["Id"];
|
||||
row++;
|
||||
}
|
||||
_invoiceOrderRepository.Add(NewInvoiceOrder);
|
||||
_invoiceOrderItemRepository.Add(invoiceOrderItems);
|
||||
_purchaseOrderItemRepository.Update(list);
|
||||
// if (errorList.Count > 0)
|
||||
// {
|
||||
// string e = string.Join(",", errorList);
|
||||
// if(loginInfo.IfForeign==0)
|
||||
// e = e + "的总发货数量大于总采购数量,请检查";
|
||||
// else
|
||||
// e=e+" The delivery QTY exceeds the PO's maximum QTY!";
|
||||
// throw new BaseException(e);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// try
|
||||
// {
|
||||
// var resultKD= _kingDeeService.Push(FormId, billPush);
|
||||
// LogHelper.Info("推送收料订单");
|
||||
// LogHelper.Info(resultKD);
|
||||
// //var sda = resultKD.GetProperty("IsSuccess") [["SuccessEntitys"];
|
||||
// dynamic data = JsonHelper.ToObject<dynamic>(resultKD);
|
||||
// int row = 0;
|
||||
// foreach (var item in data)
|
||||
// {
|
||||
// NewInvoiceOrder.FBillNo = item["Number"];
|
||||
// NewInvoiceOrder.FiD = item["Id"];
|
||||
// row++;
|
||||
// }
|
||||
// _invoiceOrderRepository.Add(NewInvoiceOrder);
|
||||
// _invoiceOrderItemRepository.Add(invoiceOrderItems);
|
||||
// _purchaseOrderItemRepository.Update(list);
|
||||
|
||||
////物料编码,数量,收料通知单号,供应商批号,key
|
||||
//AddTiaoMa addTiao = new AddTiaoMa();
|
||||
// ////物料编码,数量,收料通知单号,供应商批号,key
|
||||
// //AddTiaoMa addTiao = new AddTiaoMa();
|
||||
|
||||
//addTiaoMas = invoiceOrderItems.Select(t => new AddTiaoMa {
|
||||
// FBarCode = $@"{t.MaterialCode}*{t.Qty.Value.ToString("F2")}*{NewInvoiceOrder.FBillNo}*{t.FSupplierLot}"
|
||||
//, FBarCodeRule= "03", FBillCode= NewInvoiceOrder.FBillNo, FSupplierLot=t.FSupplierLot==null?"": t.FSupplierLot, FMaterialId=t.MaterialCode, FQty=t.Qty.Value.ToString()
|
||||
//}).ToList();
|
||||
_workProcessService.Add<IInvoiceOrderService>(this.MerchantId, "SetMSSSupplierLot", "写入金蝶的美塞斯批号", NewInvoiceOrder.Sheet, 1);
|
||||
// //addTiaoMas = invoiceOrderItems.Select(t => new AddTiaoMa {
|
||||
// // FBarCode = $@"{t.MaterialCode}*{t.Qty.Value.ToString("F2")}*{NewInvoiceOrder.FBillNo}*{t.FSupplierLot}"
|
||||
// //, FBarCodeRule= "03", FBillCode= NewInvoiceOrder.FBillNo, FSupplierLot=t.FSupplierLot==null?"": t.FSupplierLot, FMaterialId=t.MaterialCode, FQty=t.Qty.Value.ToString()
|
||||
// //}).ToList();
|
||||
// _workProcessService.Add<IInvoiceOrderService>(this.MerchantId, "SetMSSSupplierLot", "写入金蝶的美塞斯批号", NewInvoiceOrder.Sheet, 1);
|
||||
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.Error("推送收料订单出错");
|
||||
LogHelper.Error(ex);
|
||||
throw new BaseException(ex.Message);
|
||||
}
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// LogHelper.Error("推送收料订单出错");
|
||||
// LogHelper.Error(ex);
|
||||
// throw new BaseException(ex.Message);
|
||||
// }
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
return NewInvoiceOrder.Sheet;
|
||||
}
|
||||
#endregion
|
||||
// return NewInvoiceOrder.Sheet;
|
||||
//}
|
||||
//#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 抓取金蝶的采购订单
|
||||
@ -747,7 +747,7 @@ namespace MyCode.Project.Services.Implementation
|
||||
/// <param name="loginInfo"></param>
|
||||
/// <exception cref="BaseException"></exception>
|
||||
[TransactionCallHandler]
|
||||
public string BatchAddInvoiceOrderNew(AddOrder act, LoginInfo loginInfo)
|
||||
public string BatchAddInvoiceOrder(AddOrder act, LoginInfo loginInfo)
|
||||
{
|
||||
if (!act.FaHuoDate.HasValue)
|
||||
act.FaHuoDate = DateTime.Now;
|
||||
@ -854,7 +854,7 @@ namespace MyCode.Project.Services.Implementation
|
||||
invoiceOrderItemTemp.MSSSupplierLot = t.MSSSupplierLot;
|
||||
invoiceOrderItemTemp.UnitName = t.UnitName;
|
||||
invoiceOrderItemTemp.FBillNo = purchaseOrder.FBillNo;
|
||||
invoiceOrderItemTemp.PurchaseEntityId = t.EntityId;
|
||||
invoiceOrderItemTemp.PurchaseEntityId = t.EntityId;
|
||||
invoiceOrderItems.Add(invoiceOrderItemTemp);
|
||||
ScanEntry tempUpdate = new ScanEntry();
|
||||
tempUpdate.Qty = (int)temp.Qty;
|
||||
|
@ -24,8 +24,8 @@
|
||||
</httpProtocol>
|
||||
</system.webServer>
|
||||
<connectionStrings>
|
||||
<!--<add name="MasterConn" connectionString="Data Source=8.210.205.196,30003; Initial Catalog=xietong; User ID=meisaisi2;Password=ghjktyui126@#$; Connect Timeout=120; MultipleActiveResultSets=True;App=XieTong" providerName="System.Data.SqlClient" />-->
|
||||
<add name="MasterConn" connectionString="Data Source=58.252.252.77,30003; Initial Catalog=xietong; User ID=meisaisi;Password=ghjktyui126@#$; Connect Timeout=120; MultipleActiveResultSets=True;App=XieTong" providerName="System.Data.SqlClient" />
|
||||
<add name="MasterConn" connectionString="Data Source=8.210.205.196,30003; Initial Catalog=xietong; User ID=meisaisi2;Password=ghjktyui126@#$; Connect Timeout=120; MultipleActiveResultSets=True;App=XieTong" providerName="System.Data.SqlClient" />
|
||||
<!--<add name="MasterConn" connectionString="Data Source=58.252.252.77,30003; Initial Catalog=xietong; User ID=meisaisi;Password=ghjktyui126@#$; Connect Timeout=120; MultipleActiveResultSets=True;App=XieTong" providerName="System.Data.SqlClient" />-->
|
||||
|
||||
<!--<add name="MasterConn" connectionString="Data Source=127.0.0.1; Initial Catalog=tempdata; User ID=sa;Password=1; Connect Timeout=120; MultipleActiveResultSets=True;App=XieTong" providerName="System.Data.SqlClient" />-->
|
||||
</connectionStrings>
|
||||
|
Loading…
x
Reference in New Issue
Block a user