028d132326ee5bc6c89b8bf5982dae67da13f902.svn-base 819 B

12345678910111213141516171819202122232425262728
  1. package xin.glue.ui.F.F02;
  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.PosRowSet;
  7. /**
  8. * @author 孙佳旺(SunJiawang)
  9. * @desc 查询宽度和厚度标准
  10. * @return
  11. */
  12. public class FindRollWthThkGrp extends PosActivity
  13. {
  14. public String runActivity(PosContext ctx)
  15. {
  16. PosRowSet rowSet = null;
  17. String[] WF = (String[]) ctx.get("WF");
  18. if("W".equals(WF[0])) {
  19. rowSet = this.getDao("mesdao").find("UIF021010_1.find");//查宽度标准
  20. }else {
  21. rowSet = this.getDao("mesdao").find("UIF021010_2.find");//查厚度标准
  22. }
  23. ctx.put("rs", rowSet);// 设置结果集的key为rs 并放入到PosContex对象中
  24. return PosBizControlConstants.SUCCESS;
  25. }
  26. }