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