do not is necessary toString() in object String
This commit is contained in:
parent
ea51559332
commit
baa598c901
|
@ -84,7 +84,7 @@ public class MAlert extends X_AD_Alert
|
||||||
return m_rules;
|
return m_rules;
|
||||||
//FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
|
//FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
|
||||||
String whereClause = "AD_Alert_ID=?";
|
String whereClause = "AD_Alert_ID=?";
|
||||||
List <MAlertRule> list = new Query(getCtx(), MAlertRule.Table_Name, whereClause.toString(), null)
|
List <MAlertRule> list = new Query(getCtx(), MAlertRule.Table_Name, whereClause, null)
|
||||||
.setParameters(new Object[]{getAD_Alert_ID()})
|
.setParameters(new Object[]{getAD_Alert_ID()})
|
||||||
.setOrderBy("Name, AD_AlertRule_ID")
|
.setOrderBy("Name, AD_AlertRule_ID")
|
||||||
.list()
|
.list()
|
||||||
|
@ -110,7 +110,7 @@ public class MAlert extends X_AD_Alert
|
||||||
return m_recipients;
|
return m_recipients;
|
||||||
//FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
|
//FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
|
||||||
String whereClause = "AD_Alert_ID=?";
|
String whereClause = "AD_Alert_ID=?";
|
||||||
List <MAlertRecipient> list = new Query(getCtx(), MAlertRecipient.Table_Name, whereClause.toString(), null)
|
List <MAlertRecipient> list = new Query(getCtx(), MAlertRecipient.Table_Name, whereClause, null)
|
||||||
.setParameters(new Object[]{getAD_Alert_ID()})
|
.setParameters(new Object[]{getAD_Alert_ID()})
|
||||||
.list()
|
.list()
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue