Quellcode durchsuchen

Improve-notification

new-feature
Viet.LeQ2 vor 1 Jahr
Ursprung
Commit
5e8b2e44b5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      src/main/java/vn/azteam/tpf/service/TBCropQueryService.java

+ 1
- 1
src/main/java/vn/azteam/tpf/service/TBCropQueryService.java Datei anzeigen

@@ -513,7 +513,7 @@ public class TBCropQueryService extends QueryService<TBCrop> {
" left join tb_detail_user tdu on ta.tb_detail_users_id = tdu.id \n" +
"where ta.tb_detail_users_id is not null and tdu.fcm_token is not null \n" +
"and DATE(crop.start_date) <= NOW() and NOW() <= DATE (crop.end_date) \n" +
"group by crop.id, crop.code, crop.tb_crop_type_id, crop.start_date, crop.end_date, activity_type.description, activity.execute_date, ta.tb_detail_users_id, tdu.fcm_token \n";
"group by crop.id, crop.code, crop.tb_crop_type_id, activity_type.description,ta.tb_detail_users_id, tdu.fcm_token \n";
Query nativeQuery = em.createNativeQuery(sqlString);
return (List<Object[]>) nativeQuery.getResultList();
}

Laden…
Abbrechen
Speichern