diff --git a/services/ap/implments/Balance.service.impl.go b/services/ap/implments/Balance.service.impl.go index a1d713f..04fdfc7 100644 --- a/services/ap/implments/Balance.service.impl.go +++ b/services/ap/implments/Balance.service.impl.go @@ -3345,9 +3345,9 @@ func (impl *BalanceServiceImplement) RefreshBalanceData(user *global.User) error if err != nil { } // 外购需求 - err = erp.GetWaigouQty(user.PlantNr, user.UserId, &alldata_Article) - if err != nil { - } + //err = erp.GetWaigouQty(user.PlantNr, user.UserId, &alldata_Article) + //if err != nil { + //} // 独立需求 err = erp.GetDuliQty(user.PlantNr, user.UserId, &alldata_Article) if err != nil { diff --git a/services/base/implments/ArticleStock.service.impl.go b/services/base/implments/ArticleStock.service.impl.go index 2e883bd..5f109d5 100644 --- a/services/base/implments/ArticleStock.service.impl.go +++ b/services/base/implments/ArticleStock.service.impl.go @@ -373,7 +373,7 @@ func (impl *ArticleStockServiceImplement) Erp(user *global.User, urlParameters m erp.GetZhaizhiQty(model.PlantNr, "system", &alldata_Article) - //erp.GetChaigouiQty(model.PlantNr, "system", &alldata_Article) + erp.GetChaigouiQty(model.PlantNr, "system", &alldata_Article) //erp.GetWeiWaiQty(user.PlantNr, user.UserId, &alldata_Article) diff --git a/task/k3cloud.go b/task/k3cloud.go index cace31f..6adbbf5 100644 --- a/task/k3cloud.go +++ b/task/k3cloud.go @@ -199,7 +199,7 @@ func ImportBalance() { alldata_Article := impl_Balance.GetGlobalArticleDataNew() erp.GetQiChuQty(model.PlantNr, "system", &alldata_Article) erp.GetZhaizhiQty(model.PlantNr, "system", &alldata_Article) - //erp.GetChaigouiQty(model.PlantNr, "system", &alldata_Article) + erp.GetChaigouiQty(model.PlantNr, "system", &alldata_Article) } type OrgType struct {