Commit 510c9df7 by 裴大威

Merge branch 'fixbug-guiq-1020357' into 'master'

fix bug 1020357

See merge request rays/pcloud-book!405
parents 6a224309 2d6e2edf
...@@ -80,6 +80,8 @@ public class PcloudRobotWakeUpBizImpl implements PcloudRobotWakeUpBiz { ...@@ -80,6 +80,8 @@ public class PcloudRobotWakeUpBizImpl implements PcloudRobotWakeUpBiz {
List<Integer> classifyList = robotWakeUpConfigVO.getClassifyList(); List<Integer> classifyList = robotWakeUpConfigVO.getClassifyList();
pcloudRobotDao.updateWakeUpByClassifyIds(classifyList); pcloudRobotDao.updateWakeUpByClassifyIds(classifyList);
// 删除旧有消息配置
pcloudWakeupMessageMapper.deleteAll();
List<RobotWakeUpMsgVO> list = robotWakeUpConfigVO.getMsgVOList(); List<RobotWakeUpMsgVO> list = robotWakeUpConfigVO.getMsgVOList();
if (list.size() > 3) { if (list.size() > 3) {
throw new BookBizException(BookBizException.PARAM_IS_ERROR, "最多配置三条消息"); throw new BookBizException(BookBizException.PARAM_IS_ERROR, "最多配置三条消息");
......
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