f3710710dddb725f18edd12793d8789c53f514a6.svn-base 930 B

12345678910111213141516171819202122232425262728293031323334
  1. package xin.glue.ui.B.B02;
  2. import org.apache.log4j.Logger;
  3. import com.posdata.glue.biz.activity.PosActivity;
  4. import com.posdata.glue.biz.constants.PosBizControlConstants;
  5. import com.posdata.glue.context.PosContext;
  6. import com.posdata.glue.dao.PosGenericDao;
  7. import com.posdata.glue.dao.vo.PosParameter;
  8. public class SaveTest extends PosActivity
  9. {
  10. public String runActivity(PosContext context)
  11. {
  12. PosGenericDao dao = this.getDao("mesdao");
  13. PosParameter param = new PosParameter();
  14. String[] DD = (String[])context.get("DD");
  15. param.setWhereClauseParameter(0, DD[0]);
  16. dao.find("UIB020240_02.SELECT", param);
  17. Object[] xx = (Object[])param.whereClauseParamsToArray();
  18. // System.out.println("===========================================>>>"+xx[0].toString());
  19. logger.logDebug("####################################################################hello,world");
  20. return PosBizControlConstants.SUCCESS;
  21. }
  22. }