CreateCostElement: minor refactoring
This commit is contained in:
parent
0e10da320a
commit
7cbdbdb163
|
@ -104,10 +104,7 @@ public class CreateCostElement extends SvrProcess
|
|||
try
|
||||
{
|
||||
pstmt = DB.prepareStatement (sql, get_TrxName());
|
||||
for (int i = 0; i < params.size(); i++)
|
||||
{
|
||||
DB.setParameter(pstmt, i+1, params.get(i));
|
||||
}
|
||||
DB.setParameters(pstmt, params);
|
||||
rs = pstmt.executeQuery ();
|
||||
while (rs.next())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue