|
@@ -125,11 +125,6 @@ public class TableInfoServiceImpl extends ServiceImpl<MtTableInfoMapper, MtTable
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
@OperationServiceLog(description = "更新餐桌信息")
|
|
|
public MtTableInfo updateTableInfo(MtTableInfo mtTableInfo) throws BusinessCheckException {
|
|
|
- mtTableInfo = queryTableInfoById(mtTableInfo.getId());
|
|
|
- if (mtTableInfo == null) {
|
|
|
- throw new BusinessCheckException("该餐桌信息状态异常");
|
|
|
- }
|
|
|
- mtTableInfo.setUpdateTime(new Date());
|
|
|
mtTableInfoMapper.updateById(mtTableInfo);
|
|
|
return mtTableInfo;
|
|
|
}
|