status=mbo.getString("status")
siteid=mbo.getString("siteid")
assetSet=mbo.getMboSet("ASSET")
sqlFormat = SqlFormat(assetSet.getUserInfo(), "siteid = :2 and status=:1 ")
sqlFormat.setObject(1, "ASSET", "STATUS", status)
sqlFormat.setObject(2, "ASSET", "SITEID", siteid)
assetSet.setWhere(sqlFormat.format())
Comments
Post a Comment