排队取号时间格式修改
This commit is contained in:
@@ -178,7 +178,7 @@ public class TbCallServiceImpl implements TbCallService {
|
||||
|
||||
callQueue.setCreateDay(DateUtil.today());
|
||||
callQueue.setCallNum(getCallNumber(takeNumberDTO.getShopId(), callTable));
|
||||
callQueue.setCreateTime(DateUtil.date().toInstant());
|
||||
callQueue.setCreateTime(DateUtil.date());
|
||||
callQueue.setShopId(shopInfo.getId());
|
||||
callQueue.setShopName(shopInfo.getShopName());
|
||||
|
||||
@@ -209,7 +209,7 @@ public class TbCallServiceImpl implements TbCallService {
|
||||
|
||||
callQueue.setState((byte) 1);
|
||||
callQueue.setCallCount(callQueue.getCallCount() + 1);
|
||||
callQueue.setCallTime(DateUtil.date().toInstant());
|
||||
callQueue.setCallTime(DateUtil.date());
|
||||
|
||||
// 发送模板消息通知用户
|
||||
|
||||
@@ -270,7 +270,7 @@ public class TbCallServiceImpl implements TbCallService {
|
||||
|
||||
switch (updateCallQueueDTO.getState()) {
|
||||
case -1:
|
||||
callQueue.setCancelTime(DateUtil.date().toInstant());
|
||||
callQueue.setCancelTime(DateUtil.date());
|
||||
break;
|
||||
case 0:
|
||||
callQueue.setState((byte) 0);
|
||||
@@ -281,13 +281,13 @@ public class TbCallServiceImpl implements TbCallService {
|
||||
}
|
||||
callQueue.setState((byte) 1);
|
||||
callQueue.setCallCount(callQueue.getCallCount() + 1);
|
||||
callQueue.setCallTime(DateUtil.date().toInstant());
|
||||
callQueue.setCallTime(DateUtil.date());
|
||||
break;
|
||||
case 2:
|
||||
callQueue.setConfirmTime(DateUtil.date().toInstant());
|
||||
callQueue.setConfirmTime(DateUtil.date());
|
||||
break;
|
||||
case 3:
|
||||
callQueue.setPassTime(DateUtil.date().toInstant());
|
||||
callQueue.setPassTime(DateUtil.date());
|
||||
break;
|
||||
default:
|
||||
throw new BadRequestException("错误类型");
|
||||
|
||||
Reference in New Issue
Block a user