| 12345678910111213141516171819202122232425262728293031323334 |
- package xin.glue.ui.B.B02;
- import org.apache.log4j.Logger;
- import com.posdata.glue.biz.activity.PosActivity;
- import com.posdata.glue.biz.constants.PosBizControlConstants;
- import com.posdata.glue.context.PosContext;
- import com.posdata.glue.dao.PosGenericDao;
- import com.posdata.glue.dao.vo.PosParameter;
- public class SaveTest extends PosActivity
- {
- public String runActivity(PosContext context)
- {
- PosGenericDao dao = this.getDao("mesdao");
- PosParameter param = new PosParameter();
- String[] DD = (String[])context.get("DD");
- param.setWhereClauseParameter(0, DD[0]);
- dao.find("UIB020240_02.SELECT", param);
- Object[] xx = (Object[])param.whereClauseParamsToArray();
- // System.out.println("===========================================>>>"+xx[0].toString());
- logger.logDebug("####################################################################hello,world");
- return PosBizControlConstants.SUCCESS;
- }
- }
|