Browse Source

Merge pull request '修改bug' (#218) from feature_mps_2 into develop

Reviewed-on: http://101.201.121.115:3000/leo/LAPP_CHEERSSON_BACKEND/pulls/218
pull/219/head
zhangxin 3 years ago
parent
commit
b825c80363
3 changed files with 5 additions and 5 deletions
  1. +3
    -3
      services/ap/implments/Balance.service.impl.go
  2. +1
    -1
      services/base/implments/ArticleStock.service.impl.go
  3. +1
    -1
      task/k3cloud.go

+ 3
- 3
services/ap/implments/Balance.service.impl.go View File

@ -3345,9 +3345,9 @@ func (impl *BalanceServiceImplement) RefreshBalanceData(user *global.User) error
if err != nil { 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) err = erp.GetDuliQty(user.PlantNr, user.UserId, &alldata_Article)
if err != nil { if err != nil {


+ 1
- 1
services/base/implments/ArticleStock.service.impl.go View File

@ -373,7 +373,7 @@ func (impl *ArticleStockServiceImplement) Erp(user *global.User, urlParameters m
erp.GetZhaizhiQty(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)
//erp.GetWeiWaiQty(user.PlantNr, user.UserId, &alldata_Article) //erp.GetWeiWaiQty(user.PlantNr, user.UserId, &alldata_Article)


+ 1
- 1
task/k3cloud.go View File

@ -199,7 +199,7 @@ func ImportBalance() {
alldata_Article := impl_Balance.GetGlobalArticleDataNew() alldata_Article := impl_Balance.GetGlobalArticleDataNew()
erp.GetQiChuQty(model.PlantNr, "system", &alldata_Article) erp.GetQiChuQty(model.PlantNr, "system", &alldata_Article)
erp.GetZhaizhiQty(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 { type OrgType struct {


Loading…
Cancel
Save