Class clazz = entity.getClass();
try {
Method method = clazz.getDeclaredMethod("setStatus", new Class[]{Boolean.class});
method.invoke(entity, true);
Method method2 = clazz.getDeclaredMethod("setModificationDate", new Class[]{Long.class});
method2.invoke(entity, DateUtil.systemTime());
SourceDaoTemplate.save(entity);