| 1234567891011121314151617181920212223242526272829303132333435363738 |
- package xin.glue.ui.G.G02;
- 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;
- import com.posdata.glue.dao.vo.PosRowSet;
- /**
- * 连铸实绩查询的化学成分查询
- * @author: 王小炎
- * @date: 2008.09.02
- */
- public class PosSearchCCMResult extends PosActivity
- {
- public String runActivity(PosContext context)
- {
- PosRowSet rowSet = context.getRowSet("CCMResult");
- PosGenericDao posDao = this.getDao("mesdao");
- //PosRow[] row = rowSet.getAllRow();
- if (rowSet.count() != 0)
- {
- PosParameter param = new PosParameter();
- String[] CHARGE_NO = (String[]) context.get("CHARGE_NO");
-
- param.setWhereClauseParameter(0, CHARGE_NO[0]);
- param.setWhereClauseParameter(1, CHARGE_NO[0]);
- param.setWhereClauseParameter(2, CHARGE_NO[0]);
- param.setWhereClauseParameter(3, "J");
- PosRowSet prs = posDao.find("UIG020COMM_04.select", param);
- context.put("CCMChemResult", prs);
- }
- return PosBizControlConstants.SUCCESS;
- }
- }
|