Browse Source

接口优化

SCP_CYJ
qian 1 week ago
parent
commit
25793d1fa5
  1. 6
      UniApiGroup/Controller/OdbcApiScpController.cs

6
UniApiGroup/Controller/OdbcApiScpController.cs

@ -47,11 +47,17 @@ namespace CK.SCP.GrupUniApi.Controller
{ {
var list = dataList.Where(p => p.BillNum == billNum).ToList(); var list = dataList.Where(p => p.BillNum == billNum).ToList();
if (GlobalVar.ApiConfig.Scm采购订单) if (GlobalVar.ApiConfig.Scm采购订单)
{
PutScmPo(idb, list.Where(p => p.InterfaceType == UniApiType.Pobillnum.ToString()).ToList()); PutScmPo(idb, list.Where(p => p.InterfaceType == UniApiType.Pobillnum.ToString()).ToList());
}
if (GlobalVar.ApiConfig.Scm大订单) if (GlobalVar.ApiConfig.Scm大订单)
{
PutScmMaxPo(idb, list.Where(p => p.InterfaceType == UniApiType.MaxPobillnum.ToString()).ToList()); PutScmMaxPo(idb, list.Where(p => p.InterfaceType == UniApiType.MaxPobillnum.ToString()).ToList());
}
if (GlobalVar.ApiConfig.Scm发货单) if (GlobalVar.ApiConfig.Scm发货单)
{
PutScmAsn(idb, list.Where(p => p.InterfaceType == UniApiType.Receive.ToString()).ToList()); PutScmAsn(idb, list.Where(p => p.InterfaceType == UniApiType.Receive.ToString()).ToList());
}
//if (GlobalVar.ApiConfig.Scm条码明细) //if (GlobalVar.ApiConfig.Scm条码明细)
// PutScmBarcode(idb, list.Where(p => p.InterfaceType == UniApiType.BarCode.ToString()).ToList()); // PutScmBarcode(idb, list.Where(p => p.InterfaceType == UniApiType.BarCode.ToString()).ToList());
//if (GlobalVar.ApiConfig.Scm发票) //if (GlobalVar.ApiConfig.Scm发票)

Loading…
Cancel
Save