| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- 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;
- /**
- * @Description 界面ID:UIB010230、UIB010230公用
- * @author 梅贵平{meiguiping}
- * @date 2010-8-11 上午09:24:31
- * @JDK Version jdk1.4.2
- */
- public class FindDesginKeySpec extends PosActivity
- {
- public String runActivity(PosContext context)
- {
- String[] QueryContent = (String[])context.get("QueryContent");
-
- PosParameter param = new PosParameter();
- PosGenericDao dao = this.getDao("mesdao");
- PosRowSet rowset = null;
- if("SPEC_ABBSYM".equals(QueryContent[0]))//标准号
- {
- rowset = dao.find("UIB010320_02.INITSELECT");
- }
- else if("SPEC_STL_GRD".equals(QueryContent[0]))//标准牌号
- {
- rowset = dao.find("UIB010320_03.INITSELECT");
- }
- else if("ORD_USE".equals(QueryContent[0]))//订单用途
- {
- rowset = dao.find("UIB010320_04.INITSELECT");
- }
- else if("FAC_STL_GRD".equals(QueryContent[0]))//厂内牌号
- {
- rowset = dao.find("UIB010320_05.INITSELECT");
- }
- else if("SMS_STD_NO".equals(QueryContent[0]))//炼钢规范
- {
- rowset = dao.find("UIB010320_07.INITSELECT");
- }
- else if("MILL_STD_NO".equals(QueryContent[0]))//轧钢规范
- {
- rowset = dao.find("UIB010320_06.INITSELECT");
- }
- else if("PRDNM_CD".equals(QueryContent[0]))//交货状态
- {
- rowset = dao.find("UIB010320_01.INITSELECT");
- }
- else if("DEV_SPEC_CD".equals(QueryContent[0]))//交付条件
- {
- rowset = dao.find("UIB010320_08.INITSELECT");
- }
- else if("DEV_DGR_CD".equals(QueryContent[0]))//等级代码
- {
- rowset = dao.find("UIB010320_09.INITSELECT");
- }
- else if("SIZE_SPEC_CD".equals(QueryContent[0]))
- {
- rowset = dao.find("UIB010320_10.INITSELECT");
- }
- context.put("BiaoZhunResult", rowset);
- return PosBizControlConstants.SUCCESS;
- }
- }
|