提交 8f507245 作者: ZhangJingKun

2783 标签页面展示异常

上级 2b023712
......@@ -211,16 +211,14 @@ public class CharacterInfoServiceImpl implements CharacterInfoService {
@Override
public Result<?> del(String id) {
characterBasicInfoService.removeById(id);
characterChangeInfoService.removeById(id);
//删除关联标签信息
CharacterVo vo = characterBasicInfoService.getById(id);
String uid = vo.getUid();
if(uid != null){
characterTagMapService.delByUid(uid);
if(vo != null && vo.getUid() != null){
characterTagMapService.delByUid(vo.getUid());
}
characterBasicInfoService.removeById(id);
characterChangeInfoService.removeById(id);
return Result.OK();
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论