| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- package xin.glue.ui.B.B01;
- 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;
- public class FindReqCustSpecNo extends PosActivity
- {
- public String runActivity(PosContext context)
- {
- String[] QueryContent = (String[])context.get("QueryContent");
- String[] CUSTCD = (String[])context.get("CUSTCD");
-
- PosParameter param = new PosParameter();
- param.setWhereClauseParameter(0 , CUSTCD[0]);
-
- PosGenericDao dao = this.getDao("mesdao");
- PosRowSet rowset = null;
- if("CUST_SPEC_NO_INGR".equals(QueryContent[0]))//±ê×¼ºÅ
- {
- rowset = dao.find("UIB010250_02.INITSELECT" , param);
- }
- else if("CUST_SPEC_NO_QLTY".equals(QueryContent[0]))
- {
- rowset = dao.find("UIB010250_03.INITSELECT" , param);
- }
- else if("CUST_SPEC_NO_DEL".equals(QueryContent[0]))
- {
- rowset = dao.find("UIB010250_04.INITSELECT" , param);
- }
-
- context.put("CustReqInfomation", rowset);
- return PosBizControlConstants.SUCCESS;
- }
- }
|