排号修改叫号状态修改
This commit is contained in:
@@ -268,10 +268,12 @@ public class TbCallServiceImpl implements TbCallService {
|
||||
callQueue.setCancelTime(DateUtil.date().toInstant());
|
||||
break;
|
||||
case 0:
|
||||
callQueue.setState((byte) 0);
|
||||
break;
|
||||
case 1:
|
||||
if (callQueue.getSubState().equals(0)) {
|
||||
throw new BadRequestException("当前用户未订阅微信提醒");
|
||||
}
|
||||
|
||||
callQueue.setState((byte) 1);
|
||||
callQueue.setCallCount(callQueue.getCallCount() + 1);
|
||||
callQueue.setCallTime(DateUtil.date().toInstant());
|
||||
|
||||
Reference in New Issue
Block a user