提交 8322f44e authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 d959257d
......@@ -189,6 +189,9 @@ public class TalkController {
BeanUtils.copyProperties(entity, talk);
talk.setPlateName(talkService.selectPlateById(entity.getPlateId()).getName());
if (!talkService.updateByPrimaryKeySelective(talk)) {
Talk ntalk = talkService.selectByPrimaryKey(talk);
ntalk.setVideoPath(entity.getVideoPath());
talkService.updateByPrimaryKey(ntalk);
throw new BaseException(ResponseCodeEnum.FAIL);
}
Imgs img = new Imgs();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论