package xin.glue.nui.H.H02; import java.math.BigDecimal; import com.posdata.glue.biz.activity.PosActivity; import com.posdata.glue.biz.constants.PosBizControlConstants; import com.posdata.glue.biz.control.PosBizControlIF; import com.posdata.glue.biz.control.PosBizProvider; import com.posdata.glue.component.PosConstants; import com.posdata.glue.context.PosContext; import com.posdata.glue.dao.vo.PosParameter; import com.posdata.glue.dao.vo.PosRow; import com.posdata.glue.dao.vo.PosRowSet; import com.posdata.glue.msg.PosMESMessageImpl; import com.posdata.glue.msg.PosMessage; import com.posdata.glue.util.log.PosLog; import com.posdata.glue.util.log.PosLogFactory; public class XinRhfRollerLock extends PosActivity { private final PosLog log = PosLogFactory.getLogger(getClass()); public String runActivity(PosContext context) { log.logInfo("======== XinRhfRollerLock START " ); PosMessage message = context.getMessage(); String LINE_POSITION = null; String LOCK_FLAG = null; String MSG_DTIME = null; LINE_POSITION = (String)message.get("LINE_POSITION"); MSG_DTIME = (String)message.get("MSG_DTIME"); String LockFlag = "2"; PosParameter param = new PosParameter(); param.setWhereClauseParameter(0,LockFlag); param.setWhereClauseParameter(1, LINE_POSITION); this.getDao("mesdao").update("NIH020090_01.update", param); return PosBizControlConstants.SUCCESS; } }