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