| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- package xin.glue.ui.B.B02.O1;
- 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.PosParameter;
- import com.posdata.glue.dao.vo.PosRowSet;
- /**
- *
- * @Description 送样时间记录{界面ID:UIB020111}
- * @author 梅贵平{meiguiping}
- * @date 2009-8-2 下午02:41:09
- * @JDK Version jdk1.4.2
- */
- public class SaveSendSMPNOTime extends PosActivity
- {
- public String runActivity(PosContext context)
- {
- PosParameter param = null;
- PosRowSet rowset = null;
- PosGenericDao dao = this.getDao("mesdao");
-
- String[] rowStatus = (String[])context.get("rowStatus");
- String[] SMP_NO = (String[])context.get("SMP_NO");
- String[] REG_NM = (String[])context.get("REG_NM");
-
- if(rowStatus == null) return PosBizControlConstants.SUCCESS;
-
- int len = rowStatus.length;
- for(int i = 0; i < len; i++)
- {
- param = new PosParameter();
- param.setWhereClauseParameter(0, REG_NM[0]);
- param.setWhereClauseParameter(1, SMP_NO[i]);
- dao.update("UIB020111_01.UPDATE", param);
- }
-
- return PosBizControlConstants.SUCCESS;
- }
- }
|