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

channelConfiguration添加updated_at字段

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