fix(系统设置): 编辑插件后更新时间未更新
--bug=1035106 --user=宋昌昌 【系统设置】系统-插件管理-插件列表更新时间-编辑插件后更新时间未更新 https://www.tapd.cn/55049933/s/1459486
This commit is contained in:
parent
119cad5d76
commit
c837ec9c4c
|
@ -224,7 +224,7 @@ public class PluginService {
|
||||||
Plugin plugin = new Plugin();
|
Plugin plugin = new Plugin();
|
||||||
BeanUtils.copyBean(plugin, request);
|
BeanUtils.copyBean(plugin, request);
|
||||||
plugin.setCreateTime(null);
|
plugin.setCreateTime(null);
|
||||||
plugin.setUpdateTime(null);
|
plugin.setUpdateTime(System.currentTimeMillis());
|
||||||
// 校验重名
|
// 校验重名
|
||||||
checkPluginUpdateExist(plugin);
|
checkPluginUpdateExist(plugin);
|
||||||
pluginMapper.updateByPrimaryKeySelective(plugin);
|
pluginMapper.updateByPrimaryKeySelective(plugin);
|
||||||
|
|
Loading…
Reference in New Issue