acc8af26de474065cd49b42c4b1c0c031b083140.svn-base 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. package xin.glue.ui.B.B01;
  2. import com.posdata.glue.biz.activity.PosActivity;
  3. import com.posdata.glue.biz.constants.PosBizControlConstants;
  4. import com.posdata.glue.context.PosContext;
  5. import com.posdata.glue.dao.PosGenericDao;
  6. import com.posdata.glue.dao.vo.PosParameter;
  7. import com.posdata.glue.dao.vo.PosRowSet;
  8. /**
  9. * @Description 界面ID:UIB010230、UIB010230公用
  10. * @author 梅贵平{meiguiping}
  11. * @date 2010-8-11 上午09:24:31
  12. * @JDK Version jdk1.4.2
  13. */
  14. public class FindDesginKeySpec extends PosActivity
  15. {
  16. public String runActivity(PosContext context)
  17. {
  18. String[] QueryContent = (String[])context.get("QueryContent");
  19. PosParameter param = new PosParameter();
  20. PosGenericDao dao = this.getDao("mesdao");
  21. PosRowSet rowset = null;
  22. if("SPEC_ABBSYM".equals(QueryContent[0]))//标准号
  23. {
  24. rowset = dao.find("UIB010320_02.INITSELECT");
  25. }
  26. else if("SPEC_STL_GRD".equals(QueryContent[0]))//标准牌号
  27. {
  28. rowset = dao.find("UIB010320_03.INITSELECT");
  29. }
  30. else if("ORD_USE".equals(QueryContent[0]))//订单用途
  31. {
  32. rowset = dao.find("UIB010320_04.INITSELECT");
  33. }
  34. else if("FAC_STL_GRD".equals(QueryContent[0]))//厂内牌号
  35. {
  36. rowset = dao.find("UIB010320_05.INITSELECT");
  37. }
  38. else if("SMS_STD_NO".equals(QueryContent[0]))//炼钢规范
  39. {
  40. rowset = dao.find("UIB010320_07.INITSELECT");
  41. }
  42. else if("MILL_STD_NO".equals(QueryContent[0]))//轧钢规范
  43. {
  44. rowset = dao.find("UIB010320_06.INITSELECT");
  45. }
  46. else if("PRDNM_CD".equals(QueryContent[0]))//交货状态
  47. {
  48. rowset = dao.find("UIB010320_01.INITSELECT");
  49. }
  50. else if("DEV_SPEC_CD".equals(QueryContent[0]))//交付条件
  51. {
  52. rowset = dao.find("UIB010320_08.INITSELECT");
  53. }
  54. else if("DEV_DGR_CD".equals(QueryContent[0]))//等级代码
  55. {
  56. rowset = dao.find("UIB010320_09.INITSELECT");
  57. }
  58. else if("SIZE_SPEC_CD".equals(QueryContent[0]))
  59. {
  60. rowset = dao.find("UIB010320_10.INITSELECT");
  61. }
  62. context.put("BiaoZhunResult", rowset);
  63. return PosBizControlConstants.SUCCESS;
  64. }
  65. }