Commit 424aff7f authored by 王向伟's avatar 王向伟

channelConfiguration添加updated_at字段

parent 5a24a6ff
...@@ -96,9 +96,10 @@ public class ChannelConfServiceImpl implements ChannelConfService { ...@@ -96,9 +96,10 @@ public class ChannelConfServiceImpl implements ChannelConfService {
channelConfRepository.save(channelConf); channelConfRepository.save(channelConf);
} else { } else {
// 更新数据库 数据 // 更新数据库 数据
BeanUtils.copyProperties(channelConf, channelConfExsit, IgnorePropertiesUtil.getNullPropertyNames(channelConf)); //BeanUtils.copyProperties(channelConf, channelConfExsit, IgnorePropertiesUtil.getNullPropertyNames(channelConf));
channelConfExsit.setUpdateTime(new Date()); channelConf.setId(channelConfExsit.getId());
channelConfRepository.save(channelConfExsit); channelConf.setUpdateTime(new Date());
channelConfRepository.save(channelConf);
} }
// clf 库 // clf 库
......
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