金蝶 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;
}
标签:BOS,kingdee,页面设置,ymoa,new,eas,默认值,com,objectValue 来源: https://blog.csdn.net/weixin_44265189/article/details/115556177