| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import cn.hutool.core.collection.CollectionUtil; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | if (request == null) { |
| | | return Result.error("添加的对象不能为空!"); |
| | | } |
| | | if(CollectionUtil.isEmpty(request.getTableDetailList())) { |
| | | return Result.error("设备明细不能为空!"); |
| | | } |
| | | boolean b = eamTechnicalStatusChangeService.addEamTechnicalStatusChange(request); |
| | | if (!b) { |
| | | return Result.error("添加失败!"); |