|
|
@@ -12,6 +12,7 @@ import cn.iocoder.yudao.module.bpm.dal.dataobject.meeting.room.OaMeetingRoomDO;
|
|
|
import cn.iocoder.yudao.module.bpm.dal.mysql.meeting.room.OaMeetingRoomMapper;
|
|
|
import cn.iocoder.yudao.module.system.api.user.AdminUserApi;
|
|
|
import cn.iocoder.yudao.module.system.api.user.dto.AdminUserRespDTO;
|
|
|
+import com.mzt.logapi.starter.annotation.LogRecord;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
|
|
|
@@ -39,6 +40,8 @@ public class OaMeetingRoomServiceImpl implements OaMeetingRoomService {
|
|
|
@Resource
|
|
|
private AdminUserApi adminUserApi;
|
|
|
|
|
|
+ @LogRecord(type = "会议室信息管理", subType = "新增会议室信息", success = "新增会议室信息成功"
|
|
|
+ , fail = "新增会议室信息失败", bizNo = "1001")
|
|
|
@Override
|
|
|
public Long createOaMeetingRoom(OaMeetingRoomSaveReqVO createReqVO) {
|
|
|
// 插入
|
|
|
@@ -56,6 +59,8 @@ public class OaMeetingRoomServiceImpl implements OaMeetingRoomService {
|
|
|
return oaMeetingRoom.getId();
|
|
|
}
|
|
|
|
|
|
+ @LogRecord(type = "会议室信息管理", subType = "更新会议室信息", success = "更新会议室信息成功"
|
|
|
+ , fail = "更新会议室信息失败", bizNo = "1002")
|
|
|
@Override
|
|
|
public void updateOaMeetingRoom(OaMeetingRoomSaveReqVO updateReqVO) {
|
|
|
// 校验存在
|
|
|
@@ -72,6 +77,8 @@ public class OaMeetingRoomServiceImpl implements OaMeetingRoomService {
|
|
|
oaMeetingRoomMapper.updateById(updateObj);
|
|
|
}
|
|
|
|
|
|
+ @LogRecord(type = "会议室信息管理", subType = "删除会议室信息", success = "删除会议室信息成功"
|
|
|
+ , fail = "删除会议室信息失败", bizNo = "1003")
|
|
|
@Override
|
|
|
public void deleteOaMeetingRoom(Long id) {
|
|
|
// 校验存在
|
|
|
@@ -91,6 +98,8 @@ public class OaMeetingRoomServiceImpl implements OaMeetingRoomService {
|
|
|
return oaMeetingRoomMapper.selectById(id);
|
|
|
}
|
|
|
|
|
|
+ @LogRecord(type = "会议室信息管理", subType = "查询会议室信息", success = "查询会议室信息成功"
|
|
|
+ , fail = "查询会议室信息失败", bizNo = "1000")
|
|
|
@Override
|
|
|
public PageResult<OaMeetingRoomDO> getOaMeetingRoomPage(OaMeetingRoomPageReqVO pageReqVO) {
|
|
|
return oaMeetingRoomMapper.selectPage(pageReqVO);
|