|
@@ -1,6 +1,8 @@
|
|
|
package com.ruoyi.system.service.impl;
|
|
|
|
|
|
import java.util.List;
|
|
|
+
|
|
|
+import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -93,4 +95,11 @@ public class BomanReservatServiceImpl implements IBomanReservatService
|
|
|
{
|
|
|
return bomanReservatMapper.deleteBomanReservatByReservatId(reservatId);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public AjaxResult examine(BomanReservat bomanReservat) {
|
|
|
+ bomanReservat.setUpdateTime(DateUtils.getNowDate());
|
|
|
+ int i = bomanReservatMapper.updateBomanReservat(bomanReservat);
|
|
|
+ return i > 0 ? AjaxResult.success() : AjaxResult.error();
|
|
|
+ }
|
|
|
}
|