用户栏目新增逻辑修改
This commit is contained in:
parent
b00c06891f
commit
39ceb4bb88
@ -43,16 +43,24 @@ public class UserColumnServiceImpl extends DefaultBaseService implements IUserCo
|
||||
} catch (ReflectUtil.ReflectException e) {
|
||||
throw new SaveException("系统错误");
|
||||
}
|
||||
|
||||
String[] columnIds = userColumnVO.getColumnId().split(",");
|
||||
for (String columnId : columnIds) {
|
||||
UserColumnVO vo =new UserColumnVO();
|
||||
vo.setColumnId(columnId);
|
||||
this.save(token,vo);
|
||||
if(!StringUtils.isBlank(userColumnVO.getColumnId())){
|
||||
String[] columnIds = userColumnVO.getColumnId().split(",");
|
||||
for (String columnId : columnIds) {
|
||||
UserColumnVO vo =new UserColumnVO();
|
||||
vo.setColumnId(columnId);
|
||||
this.save(token,vo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void deleteByCreator(String creator){
|
||||
Map<String, Object> params = new HashMap<>(1);
|
||||
params.put("creator",creator);
|
||||
@ -65,7 +73,6 @@ public class UserColumnServiceImpl extends DefaultBaseService implements IUserCo
|
||||
Map<String, Object> params = new HashMap<>();
|
||||
params.put("creator",creator);
|
||||
return this.list(params);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user