From 58b7b170113393d39ce429f94db340764a1ccb0f Mon Sep 17 00:00:00 2001 From: louwenzhi Date: Thu, 10 Feb 2022 11:53:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E4=BF=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dao/qm/implments/ReclinerReclst.dao.impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/qm/implments/ReclinerReclst.dao.impl.go b/dao/qm/implments/ReclinerReclst.dao.impl.go index eac6c53..71b9271 100644 --- a/dao/qm/implments/ReclinerReclst.dao.impl.go +++ b/dao/qm/implments/ReclinerReclst.dao.impl.go @@ -359,7 +359,7 @@ func (impl *ReclinerReclstDAOImplement) UpdateUnPrint(recIds []int) error { ******************************************************************************/ func (impl *ReclinerReclstDAOImplement) SelectRecOne(orderId string) (*model.ReclinerReclst, error) { var data model.ReclinerReclst - ok, err := impl.session.Table(impl.meta.TableName).Where("PlantNr = ? and ReclinerNr = ? and RecType = ?", impl.plantNr, orderId, model.QM_SERI_TYPE).Get(&data) + ok, err := impl.session.Table(impl.meta.TableName).Where("PlantNr = ? and ReclinerNr = ?", impl.plantNr, orderId).Get(&data) if err != nil { return nil, grmi.NewDataBaseError(err) }