ItEr58S16RFAdaptacionInformesItEr55S14: Corrected the implementation of the method TaskElementDAO.getTasksByOrderAndDate().
It wasn't adapted to the new model based on scenarios and produced an exception.
This commit is contained in:
parent
cbd9fcfcdd
commit
03199cdb68
1 changed files with 2 additions and 1 deletions
|
|
@ -124,7 +124,8 @@ public class TaskElementDAO extends GenericDAOHibernate<TaskElement, Long>
|
|||
"SELECT task "
|
||||
+ "FROM TaskSource taskSource "
|
||||
+ "LEFT OUTER JOIN taskSource.task task "
|
||||
+ "LEFT OUTER JOIN taskSource.orderElement orderElement "
|
||||
+ "LEFT OUTER JOIN taskSource.schedulingData schedulingData "
|
||||
+ "LEFT OUTER JOIN schedulingData.orderElement orderElement "
|
||||
+ "WHERE task IN (SELECT task FROM Task task) ";
|
||||
|
||||
if (orders != null && !orders.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue