Commit 2492ad69ece8798564de398df043d358e9fb040c

Authored by liwei2917
1 parent ac9a610f

频道修改

src/main/java/com/cnlive/shenhe/serviceImpl/ChannelServiceImpl.java
... ... @@ -180,10 +180,12 @@ public class ChannelServiceImpl {
180 180 channel.setShenhe_msg(msg);
181 181 if(CommonUtils.isEmpty(userId)){
182 182 channel.setUpdater(updater);
  183 + channel.setAuditor(null);
183 184 }else{
184 185 channel.setAuditor(userId);
  186 + channel.setUpdater(null);
185 187 }
186   - int i = shyChannelMapper.updateByPrimaryKeySelective(channel);
  188 + int i = shyChannelMapper.updateByPrimaryKey(channel);
187 189 if (i != 1) {
188 190 success = false;
189 191 }
... ...