|
@@ -343,6 +343,7 @@ public class VersionService extends ServiceImpl<VersionMapper, Version> {
|
|
Integer status = versionStatusDTO.getStatus();
|
|
Integer status = versionStatusDTO.getStatus();
|
|
Version version = this.getById(versionId);
|
|
Version version = this.getById(versionId);
|
|
version.setStatus(status);
|
|
version.setStatus(status);
|
|
|
|
+ version.setPublishTime(new Date());
|
|
version.updateById();
|
|
version.updateById();
|
|
return version.getId();
|
|
return version.getId();
|
|
}
|
|
}
|