|
@@ -146,6 +146,10 @@ public class ObjectInstanceCreateService extends BaseService {
|
|
|
if (param.has(RwdConstants.OBJECT_VIRTUAL_INFO_CODES)) {
|
|
|
entity.setVirtualInfoCodes(getStringList(param, RwdConstants.OBJECT_VIRTUAL_INFO_CODES));
|
|
|
}
|
|
|
+ Integer valid = JacksonMapper.getInteger(param, RwdConstants.OBJECT_VALID);
|
|
|
+ if (RwdConstants.OBJECT_VALID_VALID.equals(valid)){
|
|
|
+ entity.setValid(RwdConstants.OBJECT_VALID_VALID);
|
|
|
+ }
|
|
|
entity.setUpdateTime(new Date());
|
|
|
entity.setUpdateUser(JacksonMapper.getString(param, RwdConstants.OBJECT_CREATE_USER));
|
|
|
entity.setUpdateApp(JacksonMapper.getString(param, RwdConstants.OBJECT_CREATE_APP, orgParam.appId));
|