Commit 5a0a878e by 徐高华

任务提醒

parent 9d9c5930
......@@ -82,7 +82,7 @@ public class HaobanTaskNoticeApiServiceImpl implements HaobanTaskNoticeApiServic
String key ="hbNotice"+ notice.getPlanId() ;
RedisUtil.lock(key, 3L);
try {
if(num + 1 >= maxNum) {
if(num + 1 > maxNum) {
return ServiceResponse.failure("9999", "一天最多提醒"+maxNum+"次");
}
TabHaobanTaskNotice entity = EntityUtil.changeEntityByJSON(TabHaobanTaskNotice.class, notice) ;
......
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