| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package xin.glue.ui.D.D06;
- 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 2009-9-17
- */
- public class SaveOrderForPlanDate extends PosActivity
- {
- public String runActivity(PosContext context)
- {
- String[] ORD_NO = (String[]) context.get("ORD_NO");
- String[] ORD_SEQ = (String[]) context.get("ORD_SEQ");
- String[] ORD_PLAN_DATA = (String[]) context.get("ORD_PLAN_DATA");
- String[] ORD_DEVLMT_DATE = (String[]) context.get("ORD_DEVLMT_DATE");
- String[] H_ORD_DEVLMT_DATE = (String[]) context.get("H_ORD_DEVLMT_DATE");
- String[] CHK = (String[])context.get("CHK");
- PosParameter parameter = null;
- if(ORD_PLAN_DATA != null && ORD_PLAN_DATA.length != 0)
- {
- for (int i = 0; i < ORD_PLAN_DATA.length; i++)
- {
- if(CHK[i].equals("Y")){
- parameter = new PosParameter();
- parameter.setValueParamter(0, ORD_PLAN_DATA[i]);
- parameter.setValueParamter(1, ORD_DEVLMT_DATE[i]);
- parameter.setValueParamter(2, ORD_DEVLMT_DATE[i]);
- parameter.setValueParamter(3, H_ORD_DEVLMT_DATE[i]);
- parameter.setValueParamter(4, ORD_NO[i]);
- parameter.setValueParamter(5, ORD_SEQ[i]);
- getDao("mesdao").update("UID060010.savePlanDate.update", parameter);
- }
- }
- }
- return PosBizControlConstants.SUCCESS;
- }
- }
|