|
|
|
@ -444,7 +444,7 @@ public class BaseRepositoryImpl<T, ID extends Serializable> extends SimpleJpaRep
|
|
|
|
|
queryString.append(" and a." + StringCastUtils.upperCharToUnderLine(propertyNames[i]) + "= '" + values[i]+"'");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
queryString.append(" group by a.lot_no,a.date_code");
|
|
|
|
|
queryString.append(" group by a.lot_no,a.date_code,a.locate_no");
|
|
|
|
|
return entityManager.createNativeQuery(queryString.toString()).unwrap(SQLQuery.class).setResultTransformer(
|
|
|
|
|
Transformers.ALIAS_TO_ENTITY_MAP).getResultList();
|
|
|
|
|
}
|
|
|
|
|