金蝶 EAS BOS EditUI新增页面设置默认值

找到createNewData()在里面进行添加

 protected com.kingdee.bos.dao.IObjectValue createNewData()
    {
        com.kingdee.eas.ymoa.ymhr.RecruitmentRegistrationInfo objectValue = new com.kingdee.eas.ymoa.ymhr.RecruitmentRegistrationInfo();
        objectValue.setCreator((com.kingdee.eas.base.permission.UserInfo)(com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentUser()));
        //创建时间
        objectValue.setCreateTime(new Timestamp(new Date().getTime()));
        //业务日期
        objectValue.setBizDate(new Date());
        objectValue.setAuditStatus("新增");
        return objectValue;
    }
上一篇:(狂神)mybatis笔记-------------11


下一篇:opencv第二讲--色彩空间转换和图片保存