| 1234567891011121314151617181920212223242526272829303132333435 |
- package xin.glue.ui.H.H05;
- 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;
- public class PosDeleteCraneOrder extends PosActivity
- {
- public String runActivity(PosContext context)
- {
- // 从页面获取参数数据,供更新页面使用
- String[] status = (String[]) context.get("status");
-
- String[] fromAddress = (String[])context.get("FROM_ADDR");
- String[] craneNo = (String[])context.get("CR_NO");
- String[] toAddress = (String[])context.get("TO_ADDR");
-
- if (status != null)
- {
- for(int i = 0 ;i<status.length; i++)
- {
- PosParameter param0 = new PosParameter();
- param0.setWhereClauseParameter(0,fromAddress[i] );
- param0.setWhereClauseParameter(1, craneNo[i]);
- param0.setWhereClauseParameter(2, toAddress[i]);
-
- getDao("mesdao").update("UIH050020_02.update", param0);
- }
- }
-
- return PosBizControlConstants.SUCCESS;
- }
- }
|