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