DBCFX_SM_675: Fix del metodo GnpNowD82RichiesteOutDAO.findByIdRichiesta82
This commit is contained in:
@@ -170,12 +170,11 @@ public class GnpNowD82RichiesteOutDAO extends BaseHibernateDAO {
|
||||
String sqlQuery =
|
||||
" SELECT R.* FROM GNP_NOW_D82_RICHIESTE_OUT R " +
|
||||
" WHERE R.ID_RICHIESTA_D82 = :idRichiesta " +
|
||||
" ORDER BY DATA_CREAZIONE DESC ";
|
||||
" ORDER BY R.DATA_CREAZIONE DESC ";
|
||||
|
||||
try
|
||||
{
|
||||
Query hqlQuery = getSession().createSQLQuery(sqlQuery).addEntity("R",
|
||||
GnpRichiesteDonor82.class);
|
||||
Query hqlQuery = getSession().createSQLQuery(sqlQuery).addEntity("R", GnpNowD82RichiesteOut.class);
|
||||
|
||||
hqlQuery.setParameter("idRichiesta", idRichiesta);
|
||||
|
||||
|
||||
@@ -416,6 +416,7 @@ public class NowController extends SystemController {
|
||||
nowDonorOut.setIdNotifica(nowDonorIn.getIdNotifica());
|
||||
nowDonorOut.setCodiceOrdineWhs(nowDonorIn.getCodiceOrdineWhs());
|
||||
nowDonorOut.setDaScodare((long) ApplicationCostants.PROCESSO_DONOR.MSG_DA_SCODARE);
|
||||
nowDonorOut.setDataCreazione(new Date());
|
||||
|
||||
nowDonorOutDAO.save(nowDonorOut);
|
||||
log.write("9999", "Inserito GNP_NOW_D82_RICHIESTE_OUT.UNIQUE_ID [" + nowDonorOut.getUniqueId() + "]");
|
||||
|
||||
Reference in New Issue
Block a user