| | |
| | | import org.jeecg.common.system.util.JwtUtil; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import org.jeecg.modules.eam.entity.CalibrationOrder; |
| | | import org.jeecg.modules.eam.entity.CalibrationOrderDetail; |
| | | import org.jeecg.modules.eam.entity.CalibrationOrderReport; |
| | | import org.jeecg.modules.eam.entity.Equipment; |
| | | import org.jeecg.modules.eam.service.ICalibrationOrderDetailService; |
| | | import org.jeecg.modules.eam.service.ICalibrationOrderReportService; |
| | | import org.jeecg.modules.eam.service.ICalibrationOrderService; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.vo.CalibrationOrderPage; |
| | | |
| | | //import org.jeecg.modules.system.service.IUploadRelaService; |
| | | //import org.jeecg.modules.system.service.IUploadService; |
| | | import org.jeecgframework.poi.excel.ExcelImportUtil; |
| | | import org.jeecgframework.poi.excel.def.NormalExcelConstants; |
| | | import org.jeecgframework.poi.excel.entity.ExportParams; |
| | |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import org.jeecg.modules.eam.service.*; |
| | | import org.jeecg.modules.eam.entity.DailyInspectionStandard; |
| | | import org.jeecg.modules.eam.entity.DailyInspectionStandardDetail; |
| | | import org.jeecg.modules.eam.service.IDailyInspectionStandardDetailService; |
| | | import org.jeecg.modules.eam.service.IDailyInspectionStandardService; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import java.text.ParseException; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.modules.eam.entity.Equipment; |
| | | import org.jeecg.modules.eam.entity.EquipmentChange; |
| | | import org.jeecg.modules.eam.entity.EquipmentChangeDetail; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.service.IEquipmentChangeDetailService; |
| | | import org.jeecg.modules.eam.service.IEquipmentChangeService; |
| | | import org.jeecg.modules.eam.service.IEquipmentScrapDetailService; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.text.ParseException; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description: 设备变动 |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.apache.shiro.SecurityUtils; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import org.jeecg.modules.eam.entity.EquipmentDisposal; |
| | | import org.jeecg.modules.eam.entity.EquipmentDisposalDetail; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.service.IEquipmentDisposalDetailService; |
| | | import org.jeecg.modules.eam.service.IEquipmentDisposalService; |
| | | import org.jeecg.modules.eam.vo.EquipmentDisposalPage; |
| | | import org.jeecgframework.poi.excel.ExcelImportUtil; |
| | | import org.jeecgframework.poi.excel.def.NormalExcelConstants; |
| | | import org.jeecgframework.poi.excel.entity.ExportParams; |
| | | import org.jeecgframework.poi.excel.entity.ImportParams; |
| | | import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import org.springframework.web.multipart.MultipartHttpServletRequest; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecgframework.poi.excel.ExcelImportUtil; |
| | | import org.jeecgframework.poi.excel.def.NormalExcelConstants; |
| | | import org.jeecgframework.poi.excel.entity.ExportParams; |
| | | import org.jeecgframework.poi.excel.entity.ImportParams; |
| | | import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.apache.shiro.SecurityUtils; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import org.jeecg.modules.eam.entity.EquipmentDisposalDetail; |
| | | import org.jeecg.modules.eam.entity.EquipmentDisposal; |
| | | import org.jeecg.modules.eam.vo.EquipmentDisposalPage; |
| | | import org.jeecg.modules.eam.service.IEquipmentDisposalService; |
| | | import org.jeecg.modules.eam.service.IEquipmentDisposalDetailService; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import org.springframework.web.multipart.MultipartHttpServletRequest; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | |
| | | /** |
| | | * @Description: 设备处置 |
| | |
| | | import org.jeecg.common.system.api.ISysBaseAPI; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import org.jeecg.modules.eam.service.IEquipmentReportRepairService; |
| | | import org.jeecg.modules.eam.entity.Equipment; |
| | | import org.jeecg.modules.eam.entity.EquipmentReportRepair; |
| | | import org.jeecg.modules.eam.entity.FaultDescription; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.service.IEquipmentReportRepairService; |
| | | import org.jeecg.modules.eam.service.IFaultDescriptionService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import org.jeecg.modules.eam.service.*; |
| | | |
| | | import org.jeecg.modules.eam.entity.Equipment; |
| | | import org.jeecg.modules.eam.entity.EquipmentTransfer; |
| | | import org.jeecg.modules.eam.entity.EquipmentTransferInDetail; |
| | | import org.jeecg.modules.eam.entity.EquipmentTransferOutDetail; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.service.IEquipmentTransferInDetailService; |
| | | import org.jeecg.modules.eam.service.IEquipmentTransferOutDetailService; |
| | | import org.jeecg.modules.eam.service.IEquipmentTransferService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | import java.time.LocalDateTime; |
| | | import java.time.ZoneId; |
| | | import java.time.format.DateTimeFormatter; |
| | | import java.util.*; |
| | | import java.util.Arrays; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description: mom_eam_inspection_project |
| | |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.util.DateUtils; |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import org.jeecg.modules.eam.service.*; |
| | | import org.jeecg.modules.eam.entity.Equipment; |
| | | import org.jeecg.modules.eam.entity.EquipmentUnloading; |
| | | import org.jeecg.modules.eam.entity.EquipmentUnloadingBorrowDetail; |
| | | import org.jeecg.modules.eam.entity.EquipmentUnloadingReturnDetail; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.service.IEquipmentUnloadingBorrowDetailService; |
| | | import org.jeecg.modules.eam.service.IEquipmentUnloadingReturnDetailService; |
| | | import org.jeecg.modules.eam.service.IEquipmentUnloadingService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | import java.time.LocalDateTime; |
| | | import java.time.ZoneId; |
| | | import java.time.format.DateTimeFormatter; |
| | | import java.util.*; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description: mom_eam_inspection_project |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import java.io.UnsupportedEncodingException; |
| | | import java.io.IOException; |
| | | import java.net.URLDecoder; |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.jeecg.modules.eam.entity.EquipmentSeal; |
| | | import org.jeecg.modules.eam.vo.EquipmentDisposalPage; |
| | | import org.apache.shiro.SecurityUtils; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import org.jeecg.modules.eam.entity.Equipment; |
| | | import org.jeecg.modules.eam.entity.EquipmentUnseal; |
| | | import org.jeecg.modules.eam.entity.EquipmentUnsealDetail; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.service.IEquipmentUnsealDetailService; |
| | | import org.jeecg.modules.eam.service.IEquipmentUnsealService; |
| | | import org.jeecg.modules.eam.vo.EquipmentUnsealPage; |
| | | import org.jeecgframework.poi.excel.ExcelImportUtil; |
| | | import org.jeecgframework.poi.excel.def.NormalExcelConstants; |
| | | import org.jeecgframework.poi.excel.entity.ExportParams; |
| | | import org.jeecgframework.poi.excel.entity.ImportParams; |
| | | import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.apache.shiro.SecurityUtils; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import org.jeecg.modules.eam.entity.EquipmentUnsealDetail; |
| | | import org.jeecg.modules.eam.entity.EquipmentUnseal; |
| | | import org.jeecg.modules.eam.vo.EquipmentUnsealPage; |
| | | import org.jeecg.modules.eam.service.IEquipmentUnsealService; |
| | | import org.jeecg.modules.eam.service.IEquipmentUnsealDetailService; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import org.springframework.web.multipart.MultipartHttpServletRequest; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import com.alibaba.fastjson.JSON; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description: 设备启封 |
| | |
| | | private IEquipmentUnsealService equipmentUnsealService; |
| | | @Autowired |
| | | private IEquipmentUnsealDetailService equipmentUnsealDetailService; |
| | | |
| | | @Autowired |
| | | private IEamEquipmentService equipmentService; |
| | | |
| | | /** |
| | | * 分页列表查询 |
| | |
| | | QueryWrapper<EquipmentUnsealDetail> queryWrapper = QueryGenerator.initQueryWrapper(equipmentUnsealDetail, req.getParameterMap()); |
| | | Page<EquipmentUnsealDetail> page = new Page<EquipmentUnsealDetail>(pageNo, pageSize); |
| | | IPage<EquipmentUnsealDetail> pageList = equipmentUnsealDetailService.page(page, queryWrapper); |
| | | for (EquipmentUnsealDetail record : pageList.getRecords()) { |
| | | String equipmentId = record.getEquipmentId(); |
| | | Equipment equipment = equipmentService.getById(equipmentId); |
| | | record.setEquipmentPhoto(equipment.getEquipmentPhoto()); |
| | | } |
| | | return Result.OK(pageList); |
| | | } |
| | | |
| | |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import org.jeecg.modules.eam.service.*; |
| | | //import org.jeecg.modules.system.entity.SysUpload; |
| | | //import org.jeecg.modules.system.entity.SysUploadRela; |
| | | //import org.jeecg.modules.system.service.IUploadRelaService; |
| | | //import org.jeecg.modules.system.service.IUploadService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.StringUtils; |
| | | import org.jeecg.common.constant.CommonConstant; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.StringUtils; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import org.jeecg.modules.eam.service.*; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.*; |
| | | |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.shiro.SecurityUtils; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.constant.CommonConstant; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import org.jeecg.modules.eam.service.*; |
| | | import org.jeecgframework.poi.excel.ExcelImportUtil; |
| | | import org.jeecgframework.poi.excel.def.NormalExcelConstants; |
| | | import org.jeecgframework.poi.excel.entity.ExportParams; |
| | | import org.jeecgframework.poi.excel.entity.ImportParams; |
| | | import org.jeecgframework.poi.excel.view.JeecgEntityExcelView; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import org.springframework.web.multipart.MultipartHttpServletRequest; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.math.BigDecimal; |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | |
| | | //@RequiresPermissions("org.jeecg.modules.demo:mom_eam_repair_order:delete") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<String> delete(@RequestParam(name="id",required=true) String id) { |
| | | repairOrderService.update(new UpdateWrapper<RepairOrder>().set("del_flag", CommonConstant.DEL_FLAG_1).eq("id",id)); |
| | | /** |
| | | * 根据业务类型获取维修工单的来源 删除工单时恢复来源状态 |
| | | * 2023-8-17 |
| | | */ |
| | | RepairOrder repairOrder = repairOrderService.getById(id); |
| | | String businessType = repairOrder.getBusinessType(); |
| | | if("2".equals(businessType)){//1:报修故障单 2:项目性维修 |
| | | String projectMaintenanceOrderDetailId = repairOrder.getProjectMaintenanceOrderId(); |
| | | projectMaintenanceOrderDetailService.update(new UpdateWrapper<ProjectMaintenanceOrderDetail>().set("is_create_order",0).eq("id",projectMaintenanceOrderDetailId)); |
| | | }else if("1".equals(businessType)){ |
| | | String reportRepairId = repairOrder.getReportRepairId(); |
| | | equipmentReportRepairService.update(new UpdateWrapper<EquipmentReportRepair>().set("is_create_order",0).eq("id",reportRepairId)); |
| | | } |
| | | |
| | | repairOrderService.update(new UpdateWrapper<RepairOrder>().set("del_flag", CommonConstant.DEL_FLAG_1).eq("id",id)); |
| | | return Result.OK("删除成功!"); |
| | | } |
| | | |
| | |
| | | //判断项目性维修子表状态 |
| | | ProjectMaintenanceOrderDetail projectMaintenanceOrderDetail = projectMaintenanceOrderDetailService.getById(repairOrder.getProjectMaintenanceOrderId()); |
| | | projectMaintenanceOrderDetail.setTypeStatus("underExecution"); |
| | | projectMaintenanceOrderDetail.setActualStartTime(new Date()); |
| | | projectMaintenanceOrderDetailService.updateById(projectMaintenanceOrderDetail); |
| | | //判断项目性维修主表状态 |
| | | ProjectMaintenanceOrder projectMaintenanceOrder = projectMaintenanceOrderService.getById(projectMaintenanceOrderDetail.getProjectMaintenanceOrderId()); |
| | | /** |
| | | * 项目项维修主表维护首次开始时间, |
| | | * 逻辑:如果是null,明细生成的维修工单开工时,维护实际开始时间, |
| | | */ |
| | | Date actualStartTime = projectMaintenanceOrder.getActualStartTime(); |
| | | if(actualStartTime == null){ |
| | | projectMaintenanceOrder.setActualStartTime(new Date()); |
| | | } |
| | | projectMaintenanceOrder.setTypeStatus("underExecution"); |
| | | projectMaintenanceOrderService.updateById(projectMaintenanceOrder); |
| | | } |
| | |
| | | //判断项目性维修子表状态 |
| | | ProjectMaintenanceOrderDetail projectMaintenanceOrderDetail = projectMaintenanceOrderDetailService.getById(repairOrder.getProjectMaintenanceOrderId()); |
| | | projectMaintenanceOrderDetail.setTypeStatus("completed"); |
| | | projectMaintenanceOrderDetail.setActualEndTime(new Date()); |
| | | projectMaintenanceOrderDetailService.updateById(projectMaintenanceOrderDetail); |
| | | //判断项目性维修主表状态 |
| | | List<ProjectMaintenanceOrderDetail> projectMaintenanceOrderDetailList = projectMaintenanceOrderDetailService.lambdaQuery().eq(ProjectMaintenanceOrderDetail::getProjectMaintenanceOrderId,projectMaintenanceOrderDetail.getProjectMaintenanceOrderId()) |
| | | .eq(ProjectMaintenanceOrderDetail::getDelFlag,CommonConstant.DEL_FLAG_0).list(); |
| | | List<ProjectMaintenanceOrderDetail> projectMaintenanceOrderDetailList = projectMaintenanceOrderDetailService.lambdaQuery() |
| | | .eq(ProjectMaintenanceOrderDetail::getProjectMaintenanceOrderId,projectMaintenanceOrderDetail.getProjectMaintenanceOrderId()) |
| | | .eq(ProjectMaintenanceOrderDetail::getDelFlag,CommonConstant.DEL_FLAG_0) |
| | | .list(); |
| | | ProjectMaintenanceOrder projectMaintenanceOrder = projectMaintenanceOrderService.getById(projectMaintenanceOrderDetail.getProjectMaintenanceOrderId()); |
| | | boolean flag = true; |
| | | for(ProjectMaintenanceOrderDetail projectMaintenanceOrderDetail1 : projectMaintenanceOrderDetailList){ |
| | |
| | | } |
| | | } |
| | | if(flag){ |
| | | projectMaintenanceOrder.setActualEndTime(new Date()); |
| | | projectMaintenanceOrder.setTypeStatus("completed"); |
| | | }else { |
| | | projectMaintenanceOrder.setTypeStatus("underExecution"); |
| | |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.modules.eam.entity.SpecialtyInspectionStandard; |
| | | import org.jeecg.modules.eam.entity.SpecialtyInspectionStandardDetail; |
| | | import org.jeecg.modules.eam.service.*; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.service.ISpecialtyInspectionStandardDetailService; |
| | | import org.jeecg.modules.eam.service.ISpecialtyInspectionStandardService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | */ |
| | | @Excel(name = "检定时间", width = 15) |
| | | @ApiModelProperty(value = "检定时间") |
| | | private Date calibrationTime; |
| | | private java.util.Date calibrationTime; |
| | | /** |
| | | * 下发时间 |
| | | */ |
| | | @Excel(name = "下发时间", width = 15) |
| | | @ApiModelProperty(value = "下发时间") |
| | | private Date issueTime; |
| | | private java.util.Date issueTime; |
| | | /** |
| | | * 检定结果 |
| | | */ |
| | |
| | | /**检定工单id*/ |
| | | @Excel(name = "检定工单id", width = 15) |
| | | @ApiModelProperty(value = "检定工单id") |
| | | private String calibrationOrderId; |
| | | private java.lang.String calibrationOrderId; |
| | | /**报告编号*/ |
| | | @Excel(name = "报告编号", width = 15) |
| | | @ApiModelProperty(value = "报告编号") |
| | | private String num; |
| | | private java.lang.String num; |
| | | /**报告类型 (字典common_upload_type)*/ |
| | | @Excel(name = "报告类型 (字典common_upload_type)", width = 15) |
| | | @ApiModelProperty(value = "报告类型 (字典common_upload_type)") |
| | | @Dict(dicCode = "字典common_upload_type") |
| | | private String type; |
| | | private java.lang.String type; |
| | | /**备注*/ |
| | | @Excel(name = "备注", width = 15) |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | private java.lang.String remark; |
| | | /**状态 0 禁用 1 启用*/ |
| | | @Excel(name = "状态 0 禁用 1 启用", width = 15) |
| | | @ApiModelProperty(value = "状态 0 禁用 1 启用") |
| | | private String status; |
| | | private java.lang.String status; |
| | | |
| | | @ApiModelProperty(value = "判定结果(pass: 正常 ,fail:异常)") |
| | | @Dict(dicCode = "judgment_result") |
| | |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | } |
| | |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | /**备注*/ |
| | | @Excel(name = "备注", width = 15) |
| | | @ApiModelProperty(value = "备注") |
| | |
| | | private String sparePartId; |
| | | |
| | | @ApiModelProperty(value = "配套数量") |
| | | private Double matingQuantity; |
| | | private java.lang.Double matingQuantity; |
| | | |
| | | @ApiModelProperty(value = "额定寿命") |
| | | private Double lifeSpan; |
| | | private java.lang.Double lifeSpan; |
| | | |
| | | @ApiModelProperty(value = "控制更换周期") |
| | | private Double changeCycle; |
| | | private java.lang.Double changeCycle; |
| | | |
| | | @ApiModelProperty(value = "更换周期单位") |
| | | private String unitId; |
| | |
| | | */ |
| | | @Excel(name = "调入责任班组", width = 15) |
| | | @ApiModelProperty(value = "调入责任班组") |
| | | @Dict(dicCode = "id",dicText = "name",dictTable = "mom_base_team") |
| | | private String responsibilityTeamId; |
| | | |
| | | /** |
| | |
| | | |
| | | import java.io.Serializable; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | |
| | | @Excel(name = "备用字段5", width = 15) |
| | | @ApiModelProperty(value = "备用字段5") |
| | | private String equipmentUnsealDetailUda5; |
| | | |
| | | @TableField(exist = false) |
| | | private String equipmentPhoto; |
| | | } |
| | |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | /**备注*/ |
| | | @Excel(name = "备注", width = 15) |
| | | @ApiModelProperty(value = "备注") |
| | |
| | | /**实际用料数量*/ |
| | | @Excel(name = "实际用料数量", width = 15) |
| | | @ApiModelProperty(value = "实际用料数量") |
| | | private BigDecimal actualQuantity; |
| | | private java.math.BigDecimal actualQuantity; |
| | | /**创建人*/ |
| | | @ApiModelProperty(value = "创建人") |
| | | private String createBy; |
| | |
| | | */ |
| | | @ApiModelProperty(value = "创建人") |
| | | @Excel(name = "创建人", width = 15) |
| | | private String createBy; |
| | | private java.lang.String createBy; |
| | | |
| | | /** |
| | | * 创建时间 |
| | |
| | | @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | private java.util.Date createTime; |
| | | |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人") |
| | | @Excel(name = "更新人", width = 15) |
| | | private String updateBy; |
| | | private java.lang.String updateBy; |
| | | |
| | | /** |
| | | * 更新时间 |
| | |
| | | @Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date updateTime; |
| | | private java.util.Date updateTime; |
| | | /**租户id*/ |
| | | @Excel(name = "租户id", width = 15) |
| | | @ApiModelProperty(value = "租户id") |
| | |
| | | @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | private java.util.Date createTime; |
| | | /**修改人*/ |
| | | @ApiModelProperty(value = "修改人") |
| | | private String updateBy; |
| | |
| | | @Excel(name = "故障时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date faultTime; |
| | | private java.util.Date faultTime; |
| | | /**是否停机待修*/ |
| | | @Excel(name = "是否停机待修", width = 15) |
| | | @ApiModelProperty(value = "是否停机待修") |
| | |
| | | t1.responsibility_user_id as responsibilityUserId, |
| | | t1.use_depart_id as useDepartId, |
| | | t1.responsibility_team_id as responsibilityTeamId, |
| | | t8.name responsibilityTeamName, |
| | | t1.demand_date as demandDate, |
| | | t1.actual_in_date as actualInDate, |
| | | t1.in_depart_id as inDepartId, |
| | | t1.in_manager_id as inManagerId, |
| | | t1.use_depart_id as useDepartId, |
| | | t1.responsibility_team_id as responsibilityTeamId, |
| | | t1.responsibility_user_id as responsibilityUserId, |
| | | t1.position as position, |
| | | t1.equipment_id as equipmentId, |
| | | t1.technical_status as technicalStatus, |
| | |
| | | LEFT JOIN sys_depart t6 ON t1.use_depart_id = t6.id |
| | | LEFT JOIN sys_user t7 ON t1.responsibility_user_id = t7.id |
| | | LEFT JOIN mom_eam_transfer_method t5 ON t1.transfer_method_id = t5.id |
| | | LEFT JOIN mom_base_team t8 on t1.responsibility_team_id = t8.id |
| | | WHERE t1.del_flag = 0 |
| | | <if test="params.equipmentTransferId != null and params.equipmentTransferId != ''"> |
| | | and t1.equipment_transfer_id = #{params.equipmentTransferId} |
| | |
| | | |
| | | ORDER BY t1.create_time desc |
| | | </select> |
| | | </mapper> |
| | | </mapper> |
| | |
| | | t1.technical_status as technicalStatus, |
| | | t2.specification as specification, |
| | | t1.update_by as updateBy, |
| | | t1.update_time as updateTime |
| | | t1.update_time as updateTime, |
| | | t4.name as responsibilityTeamName, |
| | | t3.realname as responsibilityUserName |
| | | |
| | | |
| | | FROM |
| | | mom_eam_equipment_unloading_borrow_detail t1 |
| | | LEFT JOIN mom_eam_equipment t2 ON t1.equipment_id = t2.id |
| | | LEFT JOIN sys_user t3 ON t1.responsibility_user_id = t3.id |
| | | LEFT JOIN mom_base_team t4 ON t1.responsibility_team_id = t4.id |
| | | <if test="equipmentUnloadingId != null and equipmentUnloadingId != ''"> |
| | | WHERE t1.del_flag = 0 and t1.equipment_unloading_id = #{equipmentUnloadingId} |
| | | </if> |
| | |
| | | t1.responsibility_user_id as responsibilityUserId, |
| | | t1.responsibility_team_id as responsibilityTeamId, |
| | | t1.actual_borrow_date as actualBorrowDate, |
| | | t1.responsibility_team_id as responsibilityTeamId, |
| | | t1.responsibility_user_id as responsibilityUserId, |
| | | t1.equipment_id as equipmentId, |
| | | t1.technical_status as technicalStatus, |
| | | t2.num as equipmentNum, |
| | |
| | | t1.update_time as updateTime, |
| | | t3.id AS responsibilityUserId, |
| | | t3.realname as responsibilityUserName, |
| | | t4.item_text as equipmentStatusName |
| | | t4.item_text as equipmentStatusName, |
| | | t5.name as responsibilityTeamName |
| | | FROM |
| | | mom_eam_equipment_unloading_borrow_detail t1 |
| | | LEFT JOIN mom_eam_equipment t2 ON t1.equipment_id = t2.id |
| | | LEFT JOIN sys_user t3 ON t1.responsibility_user_id = t3.id |
| | | LEFT JOIN mom_base_team t5 ON t1.responsibility_team_id = t5.id |
| | | left join ( SELECT * FROM v_sys_dict WHERE dict_code = 'equipment_status' ) t4 on t4.item_value = t2.equipment_status |
| | | |
| | | WHERE t1.del_flag = 0 |
| | |
| | | t1.technical_status as technicalStatus, |
| | | t2.specification as specification, |
| | | t1.update_by as updateBy, |
| | | t1.update_time as updateTime |
| | | |
| | | t1.update_time as updateTime, |
| | | t4.name as responsibilityTeamName, |
| | | t3.realname as responsibilityUserName |
| | | |
| | | FROM |
| | | mom_eam_equipment_unloading_return_detail t1 |
| | | LEFT JOIN mom_eam_equipment t2 ON t1.equipment_id = t2.id |
| | | LEFT JOIN sys_user t3 ON t1.responsibility_user_id = t3.id |
| | | LEFT JOIN mom_base_team t4 ON t1.responsibility_team_id = t4.id |
| | | <if test="equipmentUnloadingId != null and equipmentUnloadingId != ''"> |
| | | WHERE t1.del_flag = 0 and t1.equipment_unloading_id = #{equipmentUnloadingId} |
| | | </if> |
| | |
| | | t1.responsibility_team_id as responsibilityTeamId, |
| | | t1.actual_return_date as actualReturnDate, |
| | | t1.actual_borrow_date as actualBorrowDate, |
| | | t1.responsibility_team_id as responsibilityTeamId, |
| | | t1.responsibility_user_id as responsibilityUserId, |
| | | t1.equipment_id as equipmentId, |
| | | t1.technical_status as technicalStatus, |
| | | t2.num as equipmentNum, |
| | |
| | | t1.update_by as updateBy, |
| | | t1.update_time as updateTime, |
| | | t3.id AS responsibilityUserId, |
| | | t3.realname as responsibilityUserName |
| | | t3.realname as responsibilityUserName, |
| | | t5.name as responsibilityTeamName |
| | | FROM |
| | | mom_eam_equipment_unloading_return_detail t1 |
| | | LEFT JOIN mom_eam_equipment t2 ON t1.equipment_id = t2.id |
| | | LEFT JOIN sys_user t3 ON t1.responsibility_user_id = t3.id |
| | | |
| | | LEFT JOIN mom_base_team t5 ON t1.responsibility_team_id = t5.id |
| | | WHERE t1.del_flag = 0 |
| | | <if test="params.equipmentUnloadingId != null and params.equipmentUnloadingId != ''"> |
| | | and t1.equipment_unloading_id = #{params.equipmentUnloadingId} |
| | |
| | | package org.jeecg.modules.eam.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.jeecg.modules.eam.entity.EquipmentSeal; |
| | | import org.jeecg.modules.eam.entity.EquipmentSealDetail; |
| | | import org.jeecg.modules.eam.mapper.EquipmentSealDetailMapper; |
| | | import org.jeecg.modules.eam.mapper.EquipmentSealMapper; |
| | | import org.jeecg.modules.eam.service.IEquipmentSealService; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.service.IEquipmentSealService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description: 设备封存 |
| | |
| | | /**备件分类id*/ |
| | | @Excel(name = "备件分类id", width = 15) |
| | | @ApiModelProperty(value = "备件分类id") |
| | | private String sparePartCategoryId; |
| | | private java.lang.String sparePartCategoryId; |
| | | /**备件编码*/ |
| | | @Excel(name = "备件编码", width = 15) |
| | | @ApiModelProperty(value = "备件编码") |
| | | private String num; |
| | | private java.lang.String num; |
| | | /**备件名称*/ |
| | | @Excel(name = "备件名称", width = 15) |
| | | @ApiModelProperty(value = "备件名称") |
| | | private String name; |
| | | private java.lang.String name; |
| | | /**状态 0 禁用 1 启用*/ |
| | | @Excel(name = "状态 0 禁用 1 启用", width = 15) |
| | | @ApiModelProperty(value = "状态 0 禁用 1 启用") |
| | | private String status = CommonConstant.STATUS_1; |
| | | private java.lang.String status = CommonConstant.STATUS_1; |
| | | /**型号*/ |
| | | @Excel(name = "型号", width = 15) |
| | | @ApiModelProperty(value = "型号") |
| | | private String model; |
| | | private java.lang.String model; |
| | | /**规则*/ |
| | | @Excel(name = "规则", width = 15) |
| | | @ApiModelProperty(value = "规则") |
| | | private String specification; |
| | | private java.lang.String specification; |
| | | /**制造商*/ |
| | | @Excel(name = "制造商", width = 15) |
| | | @ApiModelProperty(value = "制造商") |
| | | @Dict(dicCode = "id",dictTable="mom_base_constructor",dicText="name") |
| | | private String constructorId; |
| | | private java.lang.String constructorId; |
| | | /**主单位id*/ |
| | | @Excel(name = "主单位id", width = 15) |
| | | @ApiModelProperty(value = "主单位id") |
| | | @Dict(dicCode = "id",dictTable="mom_base_unit",dicText="name") |
| | | private String mainUnitId; |
| | | private java.lang.String mainUnitId; |
| | | /**辅单位id*/ |
| | | @Excel(name = "辅单位id", width = 15) |
| | | @ApiModelProperty(value = "辅单位id") |
| | | @Dict(dicCode = "id",dictTable="mom_base_unit",dicText="name") |
| | | private String auxiliaryUnitId; |
| | | private java.lang.String auxiliaryUnitId; |
| | | |
| | | /**换算比例*/ |
| | | @Excel(name = "换算比例", width = 15) |
| | | @ApiModelProperty(value = "换算比例") |
| | | private String conversionRatio; |
| | | private java.lang.String conversionRatio; |
| | | |
| | | /**批次管理标识*/ |
| | | @Excel(name = "批次管理标识", width = 15) |
| | | @ApiModelProperty(value = "批次管理标识") |
| | | private Integer batchManagedFlag; |
| | | private java.lang.Integer batchManagedFlag; |
| | | /**有效期管理标识*/ |
| | | @Excel(name = "有效期管理标识", width = 15) |
| | | @ApiModelProperty(value = "有效期管理标识") |
| | | private Integer validityManagedFlag; |
| | | private java.lang.Integer validityManagedFlag; |
| | | /**有效期*/ |
| | | @Excel(name = "有效期", width = 15) |
| | | @ApiModelProperty(value = "有效期") |
| | | private Integer validityPeriod; |
| | | private java.lang.Integer validityPeriod; |
| | | /**有效期单位*/ |
| | | @Excel(name = "有效期单位", width = 15) |
| | | @ApiModelProperty(value = "有效期单位") |
| | | @Dict(dicCode = "id",dictTable="mom_base_unit",dicText="name") |
| | | private String validityPeriodUnitId; |
| | | private java.lang.String validityPeriodUnitId; |
| | | /**库存上限制*/ |
| | | @Excel(name = "库存上限制", width = 15) |
| | | @ApiModelProperty(value = "库存上限制") |
| | | private Integer inventoryUpperLimit; |
| | | private java.lang.Integer inventoryUpperLimit; |
| | | /**库存下限制*/ |
| | | @Excel(name = "库存下限制", width = 15) |
| | | @ApiModelProperty(value = "库存下限制") |
| | | private Integer inventoryLowerLimit; |
| | | private java.lang.Integer inventoryLowerLimit; |
| | | /**库存预警下限*/ |
| | | @Excel(name = "库存预警下限", width = 15) |
| | | @ApiModelProperty(value = "库存预警下限") |
| | | private Integer inventoryWarnLimit; |
| | | private java.lang.Integer inventoryWarnLimit; |
| | | /**经济订货量*/ |
| | | @Excel(name = "经济订货量", width = 15) |
| | | @ApiModelProperty(value = "经济订货量") |
| | | private Integer economicOrderQuantity; |
| | | private java.lang.Integer economicOrderQuantity; |
| | | |
| | | /**采购提前期*/ |
| | | @Excel(name = "采购提前期", width = 15) |
| | | @ApiModelProperty(value = "采购提前期") |
| | | private Integer purchaseLeadTime; |
| | | private java.lang.Integer purchaseLeadTime; |
| | | /**租户id*/ |
| | | @Excel(name = "租户id", width = 15) |
| | | @ApiModelProperty(value = "租户id") |
| | | private String tenantId; |
| | | private java.lang.String tenantId; |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | |
| | | /**备注*/ |
| | | @Excel(name = "备注", width = 15) |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | private java.lang.String remark; |
| | | /**备用字段1*/ |
| | | @Excel(name = "备用字段1", width = 15) |
| | | @ApiModelProperty(value = "备用字段1") |
| | | private String uda1; |
| | | private java.lang.String uda1; |
| | | /**备用字段2*/ |
| | | @Excel(name = "备用字段2", width = 15) |
| | | @ApiModelProperty(value = "备用字段2") |
| | | private String uda2; |
| | | private java.lang.String uda2; |
| | | /**备用字段3*/ |
| | | @Excel(name = "备用字段3", width = 15) |
| | | @ApiModelProperty(value = "备用字段3") |
| | | private String uda3; |
| | | private java.lang.String uda3; |
| | | /**备用字段4*/ |
| | | @Excel(name = "备用字段4", width = 15) |
| | | @ApiModelProperty(value = "备用字段4") |
| | | private String uda4; |
| | | private java.lang.String uda4; |
| | | /**备用字段5*/ |
| | | @Excel(name = "备用字段5", width = 15) |
| | | @ApiModelProperty(value = "备用字段5") |
| | | private String uda5; |
| | | private java.lang.String uda5; |
| | | |
| | | @TableField(exist = false) |
| | | private List<AuxiliaryUnitVo> auxiliaryUnits; |
| | | |
| | | @TableField(exist = false) |
| | | private Double totalMainQuantity; |
| | | private java.lang.Double totalMainQuantity; |
| | | |
| | | @TableField(exist = false) |
| | | private Double totalAuxiliaryQuantity; |
| | | private java.lang.Double totalAuxiliaryQuantity; |
| | | } |
| | |
| | | @Excel(name = "状态(0已创建,1已提交,2已通过,3已驳回,4已完成)", width = 15) |
| | | @ApiModelProperty(value = "状态(0已创建,1已提交,2已通过,3已驳回,4已完成)") |
| | | @Dict(dicCode = "purchase_storage_status") |
| | | private String status; |
| | | private java.lang.String status; |
| | | /** |
| | | * 仓库id |
| | | */ |
| | | @Excel(name = "仓库id", width = 15) |
| | | @ApiModelProperty(value = "仓库id") |
| | | @Dict(dictTable = "mom_base_warehouse", dicText = "name", dicCode = "id") |
| | | private String warehouseId; |
| | | private java.lang.String warehouseId; |
| | | /** |
| | | * 领用部门ID |
| | | */ |
| | | @Excel(name = "领用部门ID", width = 15) |
| | | @ApiModelProperty(value = "领用部门ID") |
| | | @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id") |
| | | private String departId; |
| | | private java.lang.String departId; |
| | | /** |
| | | * 领用人id |
| | | */ |
| | | @Excel(name = "领用人id", width = 15) |
| | | @ApiModelProperty(value = "领用人id") |
| | | @Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname") |
| | | private String userId; |
| | | private java.lang.String userId; |
| | | |
| | | /** |
| | | * 删除状态(0-正常,1-已删除) |
| | | */ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @Excel(name = "备注", width = 15) |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | private java.lang.String remark; |
| | | |
| | | /** |
| | | * 审批意见 |
| | | */ |
| | | @Excel(name = "审批意见", width = 15) |
| | | @ApiModelProperty(value = "审批意见") |
| | | private String approvalOpinions; |
| | | private java.lang.String approvalOpinions; |
| | | |
| | | |
| | | @TableField(exist = false) |
| | |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | |
| | | /** |
| | | * 库位 |
| | |
| | | /**状态(0未出库,1已出库)*/ |
| | | @Excel(name = "状态(0未出库,1已出库)", width = 15) |
| | | @ApiModelProperty(value = "状态(0未出库,1已出库)") |
| | | private String status; |
| | | private java.lang.String status; |
| | | |
| | | /** |
| | | * 出库数量 |
| | |
| | | /**备件分类编码*/ |
| | | @Excel(name = "备件分类编码", width = 15) |
| | | @ApiModelProperty(value = "备件分类编码") |
| | | private String code; |
| | | private java.lang.String code; |
| | | /**备件分类名称*/ |
| | | @Excel(name = "备件分类名称", width = 15) |
| | | @ApiModelProperty(value = "备件分类名称") |
| | | private String name; |
| | | private java.lang.String name; |
| | | /**上级分类*/ |
| | | @Excel(name = "上级分类", width = 15) |
| | | @ApiModelProperty(value = "上级分类") |
| | | private String parentId; |
| | | private java.lang.String parentId; |
| | | /**备用字段1*/ |
| | | @Excel(name = "备用字段1", width = 15) |
| | | @ApiModelProperty(value = "备用字段1") |
| | | private String uda1; |
| | | private java.lang.String uda1; |
| | | /**备用字段2*/ |
| | | @Excel(name = "备用字段2", width = 15) |
| | | @ApiModelProperty(value = "备用字段2") |
| | | private String uda2; |
| | | private java.lang.String uda2; |
| | | /**备用字段3*/ |
| | | @Excel(name = "备用字段3", width = 15) |
| | | @ApiModelProperty(value = "备用字段3") |
| | | private String uda3; |
| | | private java.lang.String uda3; |
| | | /**备用字段4*/ |
| | | @Excel(name = "备用字段4", width = 15) |
| | | @ApiModelProperty(value = "备用字段4") |
| | | private String uda4; |
| | | private java.lang.String uda4; |
| | | /**备用字段5*/ |
| | | @Excel(name = "备用字段5", width = 15) |
| | | @ApiModelProperty(value = "备用字段5") |
| | | private String uda5; |
| | | private java.lang.String uda5; |
| | | /**状态,0:正常,1:删除*/ |
| | | @Excel(name = "状态,0:正常,1:删除", width = 15) |
| | | @ApiModelProperty(value = "状态,0:正常,1:删除") |
| | |
| | | /**备注*/ |
| | | @Excel(name = "备注", width = 15) |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | private java.lang.String remark; |
| | | } |
| | |
| | | /**申请单编码*/ |
| | | @Excel(name = "申请单编码", width = 15) |
| | | @ApiModelProperty(value = "申请单编码") |
| | | private String num; |
| | | private java.lang.String num; |
| | | |
| | | /**仓库id*/ |
| | | @Dict(dictTable = "mom_base_warehouse", dicCode = "id", dicText = "name") |
| | |
| | | @Excel(name = "出库人员id", width = 15) |
| | | @ApiModelProperty(value = "出库人员id") |
| | | @Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname") |
| | | private String outboundPersonId; |
| | | private java.lang.String outboundPersonId; |
| | | /**出库部门ID*/ |
| | | @Excel(name = "出库部门ID", width = 15) |
| | | @ApiModelProperty(value = "出库部门ID") |
| | | @Dict(dictTable = "sys_depart", dicCode = "id", dicText = "depart_name") |
| | | private String departId; |
| | | private java.lang.String departId; |
| | | /**出库类型*/ |
| | | @Excel(name = "出库类型", width = 15) |
| | | @ApiModelProperty(value = "出库类型") |
| | | private String type; |
| | | private java.lang.String type; |
| | | /**状态(0已创建,1已提交,2已通过,3已驳回,4已完成)*/ |
| | | @Excel(name = "状态(0已创建,1已提交,2已通过,3已驳回,4已完成)", width = 15) |
| | | @ApiModelProperty(value = "状态(0已创建,1已提交,2已通过,3已驳回,4已完成)") |
| | | @Dict(dicCode = "purchase_storage_status") |
| | | private String status; |
| | | private java.lang.String status; |
| | | |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | |
| | | |
| | | @Excel(name = "审批意见", width = 15) |
| | |
| | | /**出库申请单id*/ |
| | | @Excel(name = "出库申请单id", width = 15) |
| | | @ApiModelProperty(value = "出库申请单id") |
| | | private String sparePartOutboundId; |
| | | private java.lang.String sparePartOutboundId; |
| | | /**备件id*/ |
| | | @Excel(name = "备件id", width = 15) |
| | | @ApiModelProperty(value = "备件id") |
| | | private String sparePartId; |
| | | private java.lang.String sparePartId; |
| | | /**库存id*/ |
| | | @Excel(name = "库存id", width = 15) |
| | | @ApiModelProperty(value = "库存id") |
| | | private String sparesPartInventoryId; |
| | | private java.lang.String sparesPartInventoryId; |
| | | /**主单位*/ |
| | | @Excel(name = "主单位", width = 15) |
| | | @ApiModelProperty(value = "主单位") |
| | | private String mainUnitId; |
| | | private java.lang.String mainUnitId; |
| | | /**出库主数量*/ |
| | | @Excel(name = "出库主数量", width = 15) |
| | | @ApiModelProperty(value = "出库主数量") |
| | | private Double outboundMainQuantity; |
| | | private java.lang.Double outboundMainQuantity; |
| | | /**辅单位*/ |
| | | @Excel(name = "辅单位", width = 15) |
| | | @ApiModelProperty(value = "辅单位") |
| | | private String auxiliaryUnitId; |
| | | private java.lang.String auxiliaryUnitId; |
| | | /**出库辅数量*/ |
| | | @Excel(name = "出库辅数量", width = 15) |
| | | @ApiModelProperty(value = "出库辅数量") |
| | | private Double outboundAuxiliaryQuantity; |
| | | private java.lang.Double outboundAuxiliaryQuantity; |
| | | /**已消耗数量*/ |
| | | @Excel(name = "已消耗数量", width = 15) |
| | | @ApiModelProperty(value = "已消耗数量") |
| | |
| | | /**状态(0未出库,1已出库)*/ |
| | | @Excel(name = "状态(0未出库,1已出库)", width = 15) |
| | | @ApiModelProperty(value = "状态(0未出库,1已出库)") |
| | | private String status; |
| | | private java.lang.String status; |
| | | /**批次号*/ |
| | | @Excel(name = "批次号", width = 15) |
| | | @ApiModelProperty(value = "批次号") |
| | | private String batchNum; |
| | | private java.lang.String batchNum; |
| | | /**出厂日期*/ |
| | | @Excel(name = "出厂日期", width = 15, format = "yyyy-MM-dd") |
| | | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
| | |
| | | /**供应商*/ |
| | | @Excel(name = "供应商", width = 15) |
| | | @ApiModelProperty(value = "供应商") |
| | | private String supplierId; |
| | | private java.lang.String supplierId; |
| | | /**制造商*/ |
| | | @Excel(name = "制造商", width = 15) |
| | | @ApiModelProperty(value = "制造商") |
| | | private String constructorId; |
| | | private java.lang.String constructorId; |
| | | |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | } |
| | |
| | | /**申请单编码*/ |
| | | @Excel(name = "申请单编码", width = 15) |
| | | @ApiModelProperty(value = "申请单编码") |
| | | private String num; |
| | | private java.lang.String num; |
| | | /**收货仓库id*/ |
| | | @Excel(name = "收货仓库id", width = 15) |
| | | @ApiModelProperty(value = "收货仓库id") |
| | | @Dict(dictTable = "mom_base_warehouse",dicCode = "id",dicText = "name") |
| | | private String warehouseId; |
| | | private java.lang.String warehouseId; |
| | | /**采购部门ID*/ |
| | | @Excel(name = "采购部门ID", width = 15) |
| | | @ApiModelProperty(value = "采购部门ID") |
| | | @Dict(dictTable = "sys_depart",dicCode = "id",dicText = "depart_name") |
| | | private String departId; |
| | | private java.lang.String departId; |
| | | /**入库类型*/ |
| | | @Excel(name = "入库类型", width = 15) |
| | | @ApiModelProperty(value = "入库类型") |
| | | @Dict(dicCode = "spare_part_storage_type") |
| | | private String type; |
| | | private java.lang.String type; |
| | | /**状态(0已创建,1已提交,2已通过,3已驳回)*/ |
| | | @Excel(name = "状态(0已创建,1已提交,2已通过,3已驳回)", width = 15) |
| | | @ApiModelProperty(value = "状态(0已创建,1已提交,2已通过,3已驳回,4已完成)") |
| | | @Dict(dicCode = "purchase_storage_status") |
| | | private String status; |
| | | private java.lang.String status; |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | |
| | | @TableField(exist = false) |
| | | private List<SparePartPurchaseStorageDetail> sparePartPurchaseStorageDetails; |
| | |
| | | /**申请单编码*/ |
| | | @Excel(name = "审批意见", width = 15) |
| | | @ApiModelProperty(value = "审批意见") |
| | | private String approvalOpinions; |
| | | private java.lang.String approvalOpinions; |
| | | |
| | | } |
| | |
| | | /**入库申请单id*/ |
| | | @Excel(name = "入库申请单id", width = 15) |
| | | @ApiModelProperty(value = "入库申请单id") |
| | | private String sparePartPurchaseStorageId; |
| | | private java.lang.String sparePartPurchaseStorageId; |
| | | /**备件id*/ |
| | | @Excel(name = "备件id", width = 15) |
| | | @ApiModelProperty(value = "备件id") |
| | | private String sparePartId; |
| | | private java.lang.String sparePartId; |
| | | /**主单位*/ |
| | | @Excel(name = "主单位", width = 15) |
| | | @ApiModelProperty(value = "主单位") |
| | | private String mainUnitId; |
| | | private java.lang.String mainUnitId; |
| | | /**主数量*/ |
| | | @Excel(name = "主数量", width = 15) |
| | | @ApiModelProperty(value = "主数量") |
| | | private Double mainQuantity; |
| | | private java.lang.Double mainQuantity; |
| | | /**辅单位*/ |
| | | @Excel(name = "辅单位", width = 15) |
| | | @ApiModelProperty(value = "辅单位") |
| | | private String auxiliaryUnitId; |
| | | private java.lang.String auxiliaryUnitId; |
| | | /**辅数量*/ |
| | | @Excel(name = "辅数量", width = 15) |
| | | @ApiModelProperty(value = "辅数量") |
| | | private Double auxiliaryQuantity; |
| | | private java.lang.Double auxiliaryQuantity; |
| | | /**制造商*/ |
| | | @Excel(name = "制造", width = 15) |
| | | @ApiModelProperty(value = "制造商") |
| | | private String constructorId; |
| | | private java.lang.String constructorId; |
| | | |
| | | /**供应商*/ |
| | | @Excel(name = "供应商", width = 15) |
| | | @ApiModelProperty(value = "供应商") |
| | | private String supplierId; |
| | | private java.lang.String supplierId; |
| | | |
| | | @Excel(name = "仓库id", width = 15) |
| | | @ApiModelProperty(value = "仓库id") |
| | | @Dict(dictTable = "mom_base_warehouse", dicCode = "id", dicText = "name") |
| | | private String warehouseId; |
| | | private java.lang.String warehouseId; |
| | | |
| | | @Excel(name = "库区id", width = 15) |
| | | @ApiModelProperty(value = "库区id") |
| | | @Dict(dictTable = "mom_base_warehouse_area", dicCode = "id", dicText = "name") |
| | | private String warehouseAreaId; |
| | | private java.lang.String warehouseAreaId; |
| | | |
| | | @Excel(name = "库位id", width = 15) |
| | | @ApiModelProperty(value = "库位id") |
| | | @Dict(dictTable = "mom_base_warehouse_location", dicCode = "id", dicText = "name") |
| | | private String warehouseLocationId; |
| | | private java.lang.String warehouseLocationId; |
| | | |
| | | @Excel(name = "批次号", width = 15) |
| | | @ApiModelProperty(value = "批次号") |
| | | private String batchNum; |
| | | private java.lang.String batchNum; |
| | | |
| | | @Excel(name = "状态(0未入库,1已入库)", width = 15) |
| | | @ApiModelProperty(value = "状态(0未入库,1已入库)") |
| | | private String status; |
| | | private java.lang.String status; |
| | | |
| | | @Excel(name = "出厂日期", width = 15) |
| | | @ApiModelProperty(value = "出厂日期") |
| | |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | } |
| | |
| | | @Excel(name = "仓库id", width = 15) |
| | | @ApiModelProperty(value = "仓库id") |
| | | @Dict(dictTable = "mom_base_warehouse", dicText = "name", dicCode = "id") |
| | | private String warehouseId; |
| | | private java.lang.String warehouseId; |
| | | /** |
| | | * 领用部门ID |
| | | */ |
| | | @Excel(name = "领用部门ID", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id") |
| | | @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id") |
| | | @ApiModelProperty(value = "领用部门ID") |
| | | private String departId; |
| | | private java.lang.String departId; |
| | | /** |
| | | * 领用人id |
| | | */ |
| | |
| | | package org.jeecg.modules.spare.entity; |
| | | |
| | | import java.io.Serializable; |
| | | import java.io.UnsupportedEncodingException; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.jeecg.common.constant.CommonConstant; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.jeecg.modules.eam.entity.RepairOrderDetail; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | import org.jeecg.common.aspect.annotation.Dict; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.jeecg.common.aspect.annotation.Dict; |
| | | import org.jeecg.common.constant.CommonConstant; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description: 备件报废 |
| | |
| | | */ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | |
| | | /** |
| | | * 状态 0 禁用 1 启用 |
| | |
| | | */ |
| | | @Excel(name = "备件id", width = 15) |
| | | @ApiModelProperty(value = "备件id") |
| | | private String sparePartId; |
| | | private java.lang.String sparePartId; |
| | | /** |
| | | * 批次号 |
| | | */ |
| | | @Excel(name = "批次号", width = 15) |
| | | @ApiModelProperty(value = "批次号") |
| | | private String batchNum; |
| | | private java.lang.String batchNum; |
| | | /** |
| | | * 失效预报警 |
| | | */ |
| | | @Excel(name = "失效预报警", width = 15) |
| | | @ApiModelProperty(value = "失效预报警") |
| | | private String validityForecast; |
| | | private java.lang.String validityForecast; |
| | | |
| | | /** |
| | | * 库存预报警 |
| | | */ |
| | | @Excel(name = "库存预报警", width = 15) |
| | | @ApiModelProperty(value = "库存预报警") |
| | | private String inventoryForecast; |
| | | private java.lang.String inventoryForecast; |
| | | |
| | | |
| | | /** |
| | |
| | | @Excel(name = "制造商", width = 15) |
| | | @ApiModelProperty(value = "制造商") |
| | | @Dict(dictTable = "mom_base_constructor", dicCode = "id", dicText = "name") |
| | | private String constructorId; |
| | | private java.lang.String constructorId; |
| | | /** |
| | | * 主单位id |
| | | */ |
| | | @Excel(name = "主单位id", width = 15) |
| | | @ApiModelProperty(value = "主单位id") |
| | | @Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name") |
| | | private String mainUnitId; |
| | | private java.lang.String mainUnitId; |
| | | /** |
| | | * 辅单位id |
| | | */ |
| | | @Excel(name = "辅单位id", width = 15) |
| | | @ApiModelProperty(value = "辅单位id") |
| | | @Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name") |
| | | private String auxiliaryUnitId; |
| | | private java.lang.String auxiliaryUnitId; |
| | | |
| | | @Excel(name = "仓库id", width = 15) |
| | | @ApiModelProperty(value = "仓库id") |
| | | @Dict(dictTable = "mom_base_warehouse", dicCode = "id", dicText = "name") |
| | | private String warehouseId; |
| | | private java.lang.String warehouseId; |
| | | |
| | | @Excel(name = "库区id", width = 15) |
| | | @ApiModelProperty(value = "库区id") |
| | | @Dict(dictTable = "mom_base_warehouse_area", dicCode = "id", dicText = "name") |
| | | private String warehouseAreaId; |
| | | private java.lang.String warehouseAreaId; |
| | | |
| | | @Excel(name = "库位id", width = 15) |
| | | @ApiModelProperty(value = "库位id") |
| | | @Dict(dictTable = "mom_base_warehouse_location", dicCode = "id", dicText = "name") |
| | | private String warehouseLocationId; |
| | | private java.lang.String warehouseLocationId; |
| | | /** |
| | | * 主数量 |
| | | */ |
| | | @Excel(name = "主数量", width = 15) |
| | | @ApiModelProperty(value = "主数量") |
| | | private Double mainQuantity; |
| | | private java.lang.Double mainQuantity; |
| | | /** |
| | | * 辅数量 |
| | | */ |
| | | @Excel(name = "辅数量", width = 15) |
| | | @ApiModelProperty(value = "辅数量") |
| | | private Double auxiliaryQuantity; |
| | | private java.lang.Double auxiliaryQuantity; |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Excel(name = "有效期", width = 15) |
| | | @ApiModelProperty(value = "有效期") |
| | | private Integer validityPeriod; |
| | | private java.lang.Integer validityPeriod; |
| | | |
| | | /** |
| | | * 租户id |
| | | */ |
| | | @Excel(name = "租户id", width = 15) |
| | | @ApiModelProperty(value = "租户id") |
| | | private String tenantId; |
| | | private java.lang.String tenantId; |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Excel(name = "备注", width = 15) |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | private java.lang.String remark; |
| | | /** |
| | | * 备用字段1 |
| | | */ |
| | | @Excel(name = "备用字段1", width = 15) |
| | | @ApiModelProperty(value = "备用字段1") |
| | | private String sparesUda1; |
| | | private java.lang.String sparesUda1; |
| | | /** |
| | | * 备用字段2 |
| | | */ |
| | | @Excel(name = "备用字段2", width = 15) |
| | | @ApiModelProperty(value = "备用字段2") |
| | | private String sparesUda2; |
| | | private java.lang.String sparesUda2; |
| | | /** |
| | | * 备用字段3 |
| | | */ |
| | | @Excel(name = "备用字段3", width = 15) |
| | | @ApiModelProperty(value = "备用字段3") |
| | | private String sparesUda3; |
| | | private java.lang.String sparesUda3; |
| | | /** |
| | | * 备用字段4 |
| | | */ |
| | | @Excel(name = "备用字段4", width = 15) |
| | | @ApiModelProperty(value = "备用字段4") |
| | | private String sparesUda4; |
| | | private java.lang.String sparesUda4; |
| | | /** |
| | | * 备用字段5 |
| | | */ |
| | | @Excel(name = "备用字段5", width = 15) |
| | | @ApiModelProperty(value = "备用字段5") |
| | | private String sparesUda5; |
| | | private java.lang.String sparesUda5; |
| | | |
| | | /** |
| | | * 备件名称 |
| | |
| | | package org.jeecg.modules.spare.entity; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.jeecg.common.aspect.annotation.Dict; |
| | | import org.jeecg.common.constant.CommonConstant; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | |
| | | /** |
| | | * @Description: 设备报废明细表 |
| | |
| | | /**删除状态(0-正常,1-已删除)*/ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | |
| | | /**状态 0 禁用 1 启用*/ |
| | | @Excel(name = "状态 0 禁用 1 启用", width = 15) |
| | |
| | | */ |
| | | @Excel(name = "仓库id", width = 15) |
| | | @ApiModelProperty(value = "仓库id") |
| | | private String warehouseId; |
| | | private java.lang.String warehouseId; |
| | | /** |
| | | * 领用部门ID |
| | | */ |
| | | @Excel(name = "领用部门ID", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id") |
| | | @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id") |
| | | @ApiModelProperty(value = "领用部门ID") |
| | | private String departId; |
| | | private java.lang.String departId; |
| | | /** |
| | | * 领用人id |
| | | */ |
| | |
| | | @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | private java.util.Date createTime; |
| | | |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人") |
| | | @Excel(name = "更新人", width = 15) |
| | | private String updateBy; |
| | | private java.lang.String updateBy; |
| | | |
| | | /** |
| | | * 更新时间 |
| | |
| | | @Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date updateTime; |
| | | private java.util.Date updateTime; |
| | | } |
| | |
| | | */ |
| | | @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) |
| | | @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") |
| | | private Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | private java.lang.Integer delFlag = CommonConstant.DEL_FLAG_0; |
| | | |
| | | /** |
| | | * 状态 0 禁用 1 启用 |