diff --git a/dao/om/implments/SerialOrder.dao.impl.go b/dao/om/implments/SerialOrder.dao.impl.go index 5a98511..a2f390d 100644 --- a/dao/om/implments/SerialOrder.dao.impl.go +++ b/dao/om/implments/SerialOrder.dao.impl.go @@ -766,7 +766,7 @@ func (impl *SerialOrderDAOImplement) SelectSerialOrderByCustOrder(custOrderId st meta.SerialOrder_ArtId.ColumnName, meMeta.Product_ProductId.ColumnName) - where := fmt.Sprintf("%s = ? and %s = ? and %s <= ?", + where := fmt.Sprintf("%s = ? and %s = ? and %s <= ? and %s = ? and %s = ?", meta.SerialOrder_PlantNr.ColumnName, meta.SerialOrder_CustOrderId.ColumnName, meta.SerialOrderStatus_Status.ColumnName,