FR: [ 2214883 ] Remove SQL code and Replace for Query
typo error (thanks Trifon!)
This commit is contained in:
parent
28440a550c
commit
6e993868bf
|
@ -84,7 +84,7 @@ public class MAlert extends X_AD_Alert
|
|||
return m_rules;
|
||||
//FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
|
||||
String whereClause = "AD_Alert_ID=?";
|
||||
List <MAchievement> list = new Query(getCtx(),MBPartner.Table_Name,whereClause.toString(),null)
|
||||
List <MAchievement> list = new Query(getCtx(),MAlert.Table_Name,whereClause.toString(),null)
|
||||
.setParameters(new Object[]{getAD_Alert_ID()}).setOrderBy("Name, AD_AlertRule_ID").list();
|
||||
//
|
||||
m_rules = new MAlertRule[list.size ()];
|
||||
|
@ -103,7 +103,7 @@ public class MAlert extends X_AD_Alert
|
|||
return m_recipients;
|
||||
//FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
|
||||
String whereClause = "AD_Alert_ID=?";
|
||||
List <MAlertRecipient> list = new Query(getCtx(),MBPartner.Table_Name,whereClause.toString(),null)
|
||||
List <MAlertRecipient> list = new Query(getCtx(),MAlert.Table_Name,whereClause.toString(),null)
|
||||
.setParameters(new Object[]{getAD_Alert_ID()}).list();
|
||||
//
|
||||
m_recipients = new MAlertRecipient[list.size ()];
|
||||
|
|
Loading…
Reference in New Issue