|
|
@ -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 |
|
|
|