Commit 23b0b91c authored by 赵啸非's avatar 赵啸非

更新资源部署

parent 3fc1162c
...@@ -143,12 +143,11 @@ public class DeviceModuleDistributeServiceImpl extends AbstractCRUDServiceImpl<D ...@@ -143,12 +143,11 @@ public class DeviceModuleDistributeServiceImpl extends AbstractCRUDServiceImpl<D
entity.setSelected(YesNoEnum.NO.getValue()); entity.setSelected(YesNoEnum.NO.getValue());
this.updateBatch(entity, condition, context); this.updateBatch(entity, condition, context);
distributeEntity.setProductId(deviceModuleDistributeEntity.getProductId());
distributeEntity.setSelected(YesNoEnum.YES.getValue()); distributeEntity.setSelected(YesNoEnum.YES.getValue());
distributeEntity.setUpdateTime(new Date()); distributeEntity.setUpdateTime(new Date());
distributeEntity.setUpdateUserId(this.getContextUserId(context)); distributeEntity.setUpdateUserId(this.getContextUserId(context));
this.update(distributeEntity, context); this.getDao().update(distributeEntity);
return Rest.ok(); return Rest.ok();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment