Commit 2d6e2edf by 桂前礼

fix bug

parent 6a224309
......@@ -80,6 +80,8 @@ public class PcloudRobotWakeUpBizImpl implements PcloudRobotWakeUpBiz {
List<Integer> classifyList = robotWakeUpConfigVO.getClassifyList();
pcloudRobotDao.updateWakeUpByClassifyIds(classifyList);
// 删除旧有消息配置
pcloudWakeupMessageMapper.deleteAll();
List<RobotWakeUpMsgVO> list = robotWakeUpConfigVO.getMsgVOList();
if (list.size() > 3) {
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