246ccc1b71451d2a3e2dce7f870f357ded6575ad.svn-base 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package xin.glue.nui.H.H02;
  2. import java.math.BigDecimal;
  3. import com.posdata.glue.biz.activity.PosActivity;
  4. import com.posdata.glue.biz.constants.PosBizControlConstants;
  5. import com.posdata.glue.biz.control.PosBizControlIF;
  6. import com.posdata.glue.biz.control.PosBizProvider;
  7. import com.posdata.glue.component.PosConstants;
  8. import com.posdata.glue.context.PosContext;
  9. import com.posdata.glue.dao.vo.PosParameter;
  10. import com.posdata.glue.dao.vo.PosRow;
  11. import com.posdata.glue.dao.vo.PosRowSet;
  12. import com.posdata.glue.msg.PosMESMessageImpl;
  13. import com.posdata.glue.msg.PosMessage;
  14. import com.posdata.glue.util.log.PosLog;
  15. import com.posdata.glue.util.log.PosLogFactory;
  16. public class XinRhfRollerLock extends PosActivity
  17. {
  18. private final PosLog log = PosLogFactory.getLogger(getClass());
  19. public String runActivity(PosContext context)
  20. {
  21. log.logInfo("======== XinRhfRollerLock START " );
  22. PosMessage message = context.getMessage();
  23. String LINE_POSITION = null;
  24. String LOCK_FLAG = null;
  25. String MSG_DTIME = null;
  26. LINE_POSITION = (String)message.get("LINE_POSITION");
  27. MSG_DTIME = (String)message.get("MSG_DTIME");
  28. String LockFlag = "2";
  29. PosParameter param = new PosParameter();
  30. param.setWhereClauseParameter(0,LockFlag);
  31. param.setWhereClauseParameter(1, LINE_POSITION);
  32. this.getDao("mesdao").update("NIH020090_01.update", param);
  33. return PosBizControlConstants.SUCCESS;
  34. }
  35. }