|
@@ -95,6 +95,12 @@ public class ExhibitionServiceImpl extends IBaseServiceImpl<ExhibitionEntity, Lo
|
|
if (entity == null) {
|
|
if (entity == null) {
|
|
return Result.failure("对象不存在: " + id);
|
|
return Result.failure("对象不存在: " + id);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ // 用来过滤数据使用
|
|
|
|
+ if ("fixed".equals(param.getType())){
|
|
|
|
+ entity.setStatus("fixed");
|
|
|
|
+ }
|
|
|
|
+
|
|
BeanUtils.copyProperties(param, entity);
|
|
BeanUtils.copyProperties(param, entity);
|
|
entity.setUpdateTime(LocalDateTime.now());
|
|
entity.setUpdateTime(LocalDateTime.now());
|
|
this.update(entity);
|
|
this.update(entity);
|