Commit 0f2654a8 by zhiwj

bug

parent e9f75bda
......@@ -82,7 +82,7 @@ public class ProblemReplyServiceImpl implements ProblemReplyService {
@Override
public void update(ProblemReplyDTO problemReplyDTO) {
TabProblemReply tabProblemReply = EntityUtil.changeEntityByJSON(TabProblemReply.class, problemReplyDTO);
tabProblemReplyMapper.insertSelective(tabProblemReply);
tabProblemReplyMapper.updateByPrimaryKeySelective(tabProblemReply);
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment