From 5acfbd477356397543eada6bd7948ff080ba7674 Mon Sep 17 00:00:00 2001 From: zhangxin Date: Tue, 17 May 2022 14:25:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=BA=E5=BC=95=E8=A7=A3?= =?UTF-8?q?=E6=9E=90bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pln/implments/ToyotaCalloff.service.impl.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/pln/implments/ToyotaCalloff.service.impl.go b/services/pln/implments/ToyotaCalloff.service.impl.go index d8ddb34..5435090 100644 --- a/services/pln/implments/ToyotaCalloff.service.impl.go +++ b/services/pln/implments/ToyotaCalloff.service.impl.go @@ -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