fix(系统设置): 编辑插件后更新时间未更新

--bug=1035106 --user=宋昌昌 【系统设置】系统-插件管理-插件列表更新时间-编辑插件后更新时间未更新 https://www.tapd.cn/55049933/s/1459486
This commit is contained in:
song-cc-rock 2024-02-02 15:55:23 +08:00 committed by 刘瑞斌
parent 119cad5d76
commit c837ec9c4c
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ public class PluginService {
Plugin plugin = new Plugin();
BeanUtils.copyBean(plugin, request);
plugin.setCreateTime(null);
plugin.setUpdateTime(null);
plugin.setUpdateTime(System.currentTimeMillis());
// 校验重名
checkPluginUpdateExist(plugin);
pluginMapper.updateByPrimaryKeySelective(plugin);