Browse Source

修复顺引解析bug

pull/218/head
zhangxin 2 years ago
parent
commit
5acfbd4773
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      services/pln/implments/ToyotaCalloff.service.impl.go

+ 1
- 3
services/pln/implments/ToyotaCalloff.service.impl.go View File

@ -578,9 +578,7 @@ func (impl *ToyotaCalloffServiceImplement) ParseCallOffData(user *global.User, p
deliveryOrderDao := dal.NewToyotaDeliveryOrderDAO(session, user.PlantNr, user.UserId)
productFamilyRelateDao := meDal.NewProductFamilyRelateDAO(session, user.PlantNr, user.UserId)
productFamilyDao := meDal.NewProductFamilyDAO(session, user.PlantNr, user.UserId)
waitParseLi, err := callOffDao.Select([]grmi.Predicate{meta.ToyotaCalloff_ProjectId.NewPredicate(grmi.Equal, project.ProjectId),
meta.ToyotaCalloff_Parsed.NewPredicate(grmi.Equal, model.CALLOFF_STATUS_UNPARSED)}, []grmi.Field{meta.ToyotaCalloff_CheckSequence})
waitParseLi, err := callOffDao.Select([]grmi.Predicate{meta.ToyotaCalloff_Parsed.NewPredicate(grmi.Equal, model.CALLOFF_STATUS_UNPARSED)}, []grmi.Field{meta.ToyotaCalloff_CheckSequence})
if err != nil {
log.Error("解析CallOff数据,获取带解析的CallOff数据失败, error:" + err.Error())
return


Loading…
Cancel
Save