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