5483a65900976659c06f99452e9c6d655e9fdf9f.svn-base 918 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package xin.glue.ui.D.D01;
  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.vo.PosParameter;
  6. /**
  7. * 删除厂内牌号组信息
  8. * @author 王黎
  9. * @date 2008-12-24
  10. */
  11. public class DeleteTbStlGrdGrp extends PosActivity
  12. {
  13. public String runActivity(PosContext context)
  14. {
  15. // 从页面获取一系列参数,供更新数据所用
  16. String[] chk = (String[]) context.get("CHK");
  17. String[] FAC_STL_GRP = (String[]) context.get("FAC_STL_GRP");
  18. PosParameter parameter = null;
  19. if (chk != null && FAC_STL_GRP!= null)
  20. {
  21. for (int i = 0; i < chk.length; i++)
  22. {
  23. // 更新参数
  24. parameter = new PosParameter();
  25. parameter.setWhereClauseParameter(0, FAC_STL_GRP[i]);
  26. getDao("mesdao").delete("tbd00_stlgrd_grp.delete", parameter);
  27. }
  28. }
  29. return PosBizControlConstants.SUCCESS;
  30. }
  31. }