package com.tenwa.handler; import com.amarsoft.app.als.sys.tools.DateUtil; import com.amarsoft.are.jbo.BizObject; import com.amarsoft.awe.dw.handler.impl.CommonHandler; public class UserTaskInfoHandler extends CommonHandler { @Override protected void initDisplayForAdd(BizObject bo) throws Exception { bo.setAttributeValue("userid", this.asPage.getParameter("UserId")); bo.setAttributeValue("roleid", this.asPage.getParameter("RoleId")); bo.setAttributeValue("inputuserid", this.curUser.getUserID()); bo.setAttributeValue("inputorgid", this.curUser.getOrgID()); bo.setAttributeValue("inputtime", DateUtil.getTodayNow()); } }