Forráskód Böngészése

设备之系统——设备处置申请 V1.1
BUG 修复设备移交时设备状态字段
BUG 修复设备移交时设备区域修改

hyq 1 éve
szülő
commit
e8fc2f8cc2

+ 13 - 0
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/dao/AspCheckItemsAreaDao.java

@@ -0,0 +1,13 @@
+package com.rongwei.bscommon.sys.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.rongwei.bsentity.domain.AspCheckItemsAreaDo;
+
+/**
+ * @author shangmi
+ * @title AspCheckItemsAreaDao
+ * @date 2024/1/22 14:19
+ * @description 查询对象所属区域表
+ */
+public interface AspCheckItemsAreaDao extends BaseMapper<AspCheckItemsAreaDo> {
+}

+ 14 - 0
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/service/AspCheckItemsAreaService.java

@@ -0,0 +1,14 @@
+package com.rongwei.bscommon.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.rongwei.bsentity.domain.AspCheckItemsAreaDo;
+
+/**
+ * @author shangmi
+ * @title AspCheckItemsAreaService
+ * @date 2024/1/22 14:51
+ * @description 查询对象所属区域表
+ */
+public interface AspCheckItemsAreaService extends IService<AspCheckItemsAreaDo> {
+    AspCheckItemsAreaDo getByDeptName(String plantId,String rollInDept);
+}

+ 6 - 3
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/service/AspCheckItemsService.java

@@ -3,8 +3,11 @@ package com.rongwei.bscommon.sys.service;
 
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.rongwei.bsentity.domain.AspCheckItems;
+import com.rongwei.bsentity.domain.AspCheckItemsAreaDo;
 import com.rongwei.bsentity.dto.EquipmentDisposeDTO;
 
+import java.util.Date;
+
 /**
  * <p>
  * 设备子系统——设备 服务类
@@ -19,12 +22,12 @@ public interface AspCheckItemsService extends IService<AspCheckItems> {
      * 根据ID修改地址信息
      *
      * @param equipmentDisposeDTO
+     * @param checkItemsArea
      * @return
      * @date 2024/1/16 16:28
      * @author shangmi
-     *
      */
-    void updateSiteById(EquipmentDisposeDTO equipmentDisposeDTO);
+    void updateSiteById(EquipmentDisposeDTO equipmentDisposeDTO, AspCheckItemsAreaDo checkItemsArea);
 
-    void updateStateById(String equipmentId);
+    void updateStateById(String equipmentId, Date newDate);
 }

+ 3 - 1
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/service/EquFrockListService.java

@@ -4,6 +4,8 @@ import com.baomidou.mybatisplus.extension.service.IService;
 import com.rongwei.bsentity.domain.EquFrockListDo;
 import com.rongwei.bsentity.dto.EquipmentDisposeDTO;
 
+import java.util.Date;
+
 /**
  * @author shangmi
  * @title EquFrockListService
@@ -13,5 +15,5 @@ import com.rongwei.bsentity.dto.EquipmentDisposeDTO;
 public interface EquFrockListService extends IService<EquFrockListDo> {
     void updateSiteById(EquipmentDisposeDTO equipmentDisposeDTO);
 
-    void updateStateById(String equipmentId);
+    void updateStateById(String equipmentId, Date newDate);
 }

+ 30 - 0
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/service/impl/AspCheckItemsAreaServiceImpl.java

@@ -0,0 +1,30 @@
+package com.rongwei.bscommon.sys.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.rongwei.bscommon.sys.dao.AspCheckItemsAreaDao;
+import com.rongwei.bscommon.sys.service.AspCheckItemsAreaService;
+import com.rongwei.bsentity.domain.AspCheckItemsAreaDo;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+/**
+ * @author shangmi
+ * @title AspCheckItemsAreaServiceImpl
+ * @date 2024/1/22 15:00
+ * @description 查询对象所属区域表
+ */
+@Service
+public class AspCheckItemsAreaServiceImpl extends ServiceImpl<AspCheckItemsAreaDao, AspCheckItemsAreaDo> implements AspCheckItemsAreaService {
+    @Autowired
+    private AspCheckItemsAreaDao checkItemsAreaDao;
+
+    @Override
+    public AspCheckItemsAreaDo getByDeptName(String plantId,String rollInDept) {
+        LambdaQueryWrapper<AspCheckItemsAreaDo> queryWrapper = new LambdaQueryWrapper<>();
+        queryWrapper.like(AspCheckItemsAreaDo::getFullpid,plantId)
+                .eq(AspCheckItemsAreaDo::getAreaname,rollInDept)
+                .last("limit 1");
+        return checkItemsAreaDao.selectOne(queryWrapper);
+    }
+}

+ 20 - 12
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/service/impl/AspCheckItemsServiceImpl.java

@@ -1,10 +1,12 @@
 package com.rongwei.bscommon.sys.service.impl;
 
+import cn.hutool.core.util.ObjectUtil;
 import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.rongwei.bscommon.sys.dao.AspCheckItemsDao;
 import com.rongwei.bscommon.sys.service.AspCheckItemsService;
 import com.rongwei.bsentity.domain.AspCheckItems;
+import com.rongwei.bsentity.domain.AspCheckItemsAreaDo;
 import com.rongwei.bsentity.dto.EquipmentDisposeDTO;
 import com.rongwei.bsentity.enums.PlantEnum;
 import org.slf4j.Logger;
@@ -12,6 +14,8 @@ import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
+import java.util.Date;
+
 /**
  * <p>
  * 设备子系统——设备 服务实现类
@@ -32,28 +36,32 @@ public class AspCheckItemsServiceImpl extends ServiceImpl<AspCheckItemsDao, AspC
      * 根据ID修改地址信息
      *
      * @param equipmentDisposeDTO
+     * @param checkItemsArea
      * @return
      * @date 2024/1/16 16:28
      * @author shangmi
-     *
      */
     @Override
-    public void updateSiteById(EquipmentDisposeDTO equipmentDisposeDTO) {
+    public void updateSiteById(EquipmentDisposeDTO equipmentDisposeDTO, AspCheckItemsAreaDo checkItemsArea) {
         LambdaUpdateWrapper<AspCheckItems> updateWrapper = new LambdaUpdateWrapper<>();
-        updateWrapper.eq(AspCheckItems::getId,equipmentDisposeDTO.getEquipmentId())
-                .set(AspCheckItems::getTenantid,equipmentDisposeDTO.getRollInPlantId())
-                .set(AspCheckItems::getUsedeptid,equipmentDisposeDTO.getRollInDeptId())
-                .set(AspCheckItems::getUsedeptname,equipmentDisposeDTO.getRollInDept())
+        boolean empty = ObjectUtil.isEmpty(checkItemsArea);
+        updateWrapper.eq(AspCheckItems::getId, equipmentDisposeDTO.getEquipmentId())
+                .set(AspCheckItems::getTenantid, equipmentDisposeDTO.getRollInPlantId())
+                .set(AspCheckItems::getUsedeptid, equipmentDisposeDTO.getRollInDeptId())
+                .set(AspCheckItems::getUsedeptname, equipmentDisposeDTO.getRollInDept())
                 .set(AspCheckItems::getOwnedfactory, PlantEnum.nameOf(equipmentDisposeDTO.getRollInPlantId()))
-                .set(AspCheckItems::getDeviceaddress,equipmentDisposeDTO.getRollInLocation());
-        aspCheckItemsDao.update(null,updateWrapper);
+                .set(AspCheckItems::getDeviceaddress, equipmentDisposeDTO.getRollInLocation())
+                .set(empty, AspCheckItems::getCheckitemareaid, checkItemsArea.getId())
+                .set(empty, AspCheckItems::getChargeorgid, checkItemsArea.getAreachargerorgid());
+        aspCheckItemsDao.update(null, updateWrapper);
     }
 
     @Override
-    public void updateStateById(String equipmentId) {
+    public void updateStateById(String equipmentId, Date newDate) {
         LambdaUpdateWrapper<AspCheckItems> updateWrapper = new LambdaUpdateWrapper<>();
-        updateWrapper.eq(AspCheckItems::getId,equipmentId)
-                .set(AspCheckItems::getEnabled,"报废");
-        aspCheckItemsDao.update(null,updateWrapper);
+        updateWrapper.eq(AspCheckItems::getId, equipmentId)
+                .set(AspCheckItems::getDevicestatus, "报废")
+                .set(AspCheckItems::getFactobsoledate, newDate);
+        aspCheckItemsDao.update(null, updateWrapper);
     }
 }

+ 12 - 2
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/service/impl/EquFrockListServiceImpl.java

@@ -10,6 +10,8 @@ import com.rongwei.bsentity.enums.PlantEnum;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
+import java.util.Date;
+
 /**
  * @author shangmi
  * @title EquFrockListServiceImpl
@@ -44,11 +46,19 @@ public class EquFrockListServiceImpl extends ServiceImpl<EquFrockListDao,EquFroc
 
     }
 
+    /**
+     * 更新报废状态
+     *
+     * @param equipmentId id
+     * @param newDate
+     */
     @Override
-    public void updateStateById(String equipmentId) {
+    public void updateStateById(String equipmentId, Date newDate) {
+
         LambdaUpdateWrapper<EquFrockListDo> updateWrapper = new LambdaUpdateWrapper<>();
         updateWrapper.eq(EquFrockListDo::getId,equipmentId)
-                .set(EquFrockListDo::getUsestate,"报废");
+                .set(EquFrockListDo::getUsestate,"报废")
+                .set(EquFrockListDo::getFactobsoledate,newDate);
         equFrockListDao.update(null,updateWrapper);
     }
 }

+ 13 - 3
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/service/impl/EquipmentArchivesServiceImpl.java

@@ -1,11 +1,14 @@
 package com.rongwei.bscommon.sys.service.impl;
 
 import com.rongwei.bscommon.sys.service.*;
+import com.rongwei.bsentity.domain.AspCheckItemsAreaDo;
 import com.rongwei.bsentity.dto.EquipmentDisposeDTO;
 import com.rongwei.rwcommon.base.R;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
+import java.util.Date;
+
 /**
  * @author shangmi
  * @title EquipmentArchivesServiceImpl
@@ -31,6 +34,9 @@ public class EquipmentArchivesServiceImpl implements EquipmentArchivesService {
     @Autowired
     private EquLubricationPlanService lubricationPlanService;
 
+    @Autowired
+    private AspCheckItemsAreaService checkItemsAreaService;
+
     /**
      * 更新设备库
      *
@@ -43,23 +49,27 @@ public class EquipmentArchivesServiceImpl implements EquipmentArchivesService {
 
     @Override
     public R updateEquipmentData(EquipmentDisposeDTO equipmentDisposeDTO) {
+        Date newDate = new Date();
+        //处置状态  报废/移交
         boolean isState = HANDLING_TYPE[0].equals(equipmentDisposeDTO.getState());
+        //对象类型  设备/工装
         boolean isObject = OBJECT_TYPE[0].equals(equipmentDisposeDTO.getObjectType());
         if (isState){
             //更新停用状态
             String equipmentId = equipmentDisposeDTO.getEquipmentId();
             if (isObject) {
-                aspCheckItemsService.updateStateById(equipmentId);
+                aspCheckItemsService.updateStateById(equipmentId,newDate);
                 lubricationPlanService.updateStateByEquId(equipmentId);
             } else {
-                equFrockListService.updateStateById(equipmentId);
+                equFrockListService.updateStateById(equipmentId,newDate);
             }
             maintenanceScheduleService.updateStateByEquId(equipmentId);
 
         }else {
             //修改组织结构
             if (isObject) {
-                aspCheckItemsService.updateSiteById(equipmentDisposeDTO);
+                AspCheckItemsAreaDo checkItemsArea = checkItemsAreaService.getByDeptName(equipmentDisposeDTO.getRollInPlantId(), equipmentDisposeDTO.getRollInDept());
+                aspCheckItemsService.updateSiteById(equipmentDisposeDTO,checkItemsArea);
             } else {
                 equFrockListService.updateSiteById(equipmentDisposeDTO);
             }

+ 7 - 1
cx-equipment/cx-equipment-entity/src/main/java/com/rongwei/bsentity/domain/AspCheckItems.java

@@ -1,9 +1,10 @@
 package com.rongwei.bsentity.domain;
 
+import lombok.Data;
+
 import java.io.Serializable;
 import java.math.BigDecimal;
 import java.util.Date;
-import lombok.Data;
 
 /**
  * asp_check_items
@@ -351,5 +352,10 @@ public class AspCheckItems implements Serializable {
      */
     private String ownedfactory;
 
+    /**
+     * 报废时间
+     */
+    private Date factobsoledate;
+
     private static final long serialVersionUID = 1L;
 }

+ 185 - 0
cx-equipment/cx-equipment-entity/src/main/java/com/rongwei/bsentity/domain/AspCheckItemsAreaDo.java

@@ -0,0 +1,185 @@
+package com.rongwei.bsentity.domain;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author  cyn 
+ * @create 2024-01-22 14:01 
+ */
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+@TableName("asp_check_items_area")
+public class AspCheckItemsAreaDo implements Serializable {
+
+	private static long serialVersionUID = 1L;
+
+	/**
+	 * table name:ID
+	 * table type:varchar(32)
+	 * table comment:主键
+	 */
+	private String id;
+
+	/**
+	 * table name:PID
+	 * table type:varchar(36)
+	 * table comment:父ID
+	 */
+	private String pid;
+
+	/**
+	 * table name:FULLPID
+	 * table type:varchar(500)
+	 * table comment:父级全路径
+	 */
+	private String fullpid;
+
+	/**
+	 * table name:TREECODE
+	 * table type:varchar(100)
+	 * table comment:树表结构编号
+	 */
+	private String treecode;
+
+	/**
+	 * table name:LEVEL
+	 * table type:int
+	 * table comment:等级
+	 */
+	private Integer level;
+
+	/**
+	 * table name:ISLEAF
+	 * table type:char(1)
+	 * table comment:是否叶子节点
+	 */
+	private String isleaf;
+
+	/**
+	 * table name:AREANAME
+	 * table type:varchar(100)
+	 * table comment:区域名称
+	 */
+	private String areaname;
+
+	/**
+	 * table name:AREATYPE
+	 * table type:varchar(50)
+	 * table comment:区域类型
+	 */
+	private String areatype;
+
+	/**
+	 * table name:AREACHARGER
+	 * table type:varchar(500)
+	 * table comment:区域负责人
+	 */
+	private String areacharger;
+
+	/**
+	 * table name:AREACHARGERNAME
+	 * table type:varchar(300)
+	 * table comment:区域负责人名称
+	 */
+	private String areachargername;
+
+	/**
+	 * table name:AREACHARGERORGID
+	 * table type:varchar(100)
+	 * table comment:区域负责机构
+	 */
+	private String areachargerorgid;
+
+	/**
+	 * table name:AREACHARGERORGNAME
+	 * table type:varchar(255)
+	 * table comment:区域负责机构名称
+	 */
+	private String areachargerorgname;
+
+	/**
+	 * table name:TENANTID
+	 * table type:text
+	 * table comment:null
+	 */
+	private String tenantid;
+
+	/**
+	 * table name:ROPTION
+	 * table type:mediumtext
+	 * table comment:扩展json格式配置
+	 */
+	private String roption;
+
+	/**
+	 * table name:DELETED
+	 * table type:char(1)
+	 * table comment:是否删除Y/N
+	 */
+	private String deleted;
+
+	/**
+	 * table name:REMARK
+	 * table type:varchar(500)
+	 * table comment:备注
+	 */
+	private String remark;
+
+	/**
+	 * table name:CREATEDATE
+	 * table type:datetime
+	 * table comment:创建时间
+	 */
+	private Date createdate;
+
+	/**
+	 * table name:CREATEUSERID
+	 * table type:varchar(36)
+	 * table comment:创建用户ID
+	 */
+	private String createuserid;
+
+	/**
+	 * table name:MODIFYDATE
+	 * table type:datetime
+	 * table comment:修改日期
+	 */
+	private Date modifydate;
+
+	/**
+	 * table name:MODIFYUSERID
+	 * table type:varchar(36)
+	 * table comment:修改用户ID
+	 */
+	private String modifyuserid;
+
+	/**
+	 * table name:CREATEUSERNAME
+	 * table type:varchar(50)
+	 * table comment:创建人名称
+	 */
+	private String createusername;
+
+	/**
+	 * table name:MODIFYUSERNAME
+	 * table type:varchar(50)
+	 * table comment:修改人名称
+	 */
+	private String modifyusername;
+
+	/**
+	 * table name:ADDFROM
+	 * table type:varchar(255)
+	 * table comment:操作来源(普通设备新增/特种设备新增)
+	 */
+	private String addfrom;
+
+}

+ 135 - 0
cx-equipment/cx-equipment-entity/src/main/java/com/rongwei/bsentity/domain/EquInformationDo.java

@@ -0,0 +1,135 @@
+package com.rongwei.bsentity.domain;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author  cyn 
+ * @create 2024-01-22 14:03 
+ */
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+@TableName("equ_information")
+public class EquInformationDo implements Serializable {
+
+	private static long serialVersionUID = 1L;
+	/**
+	 * table name:ID
+	 * table type:varchar(36)
+	 * table comment:主键ID
+	 */
+	private String id;
+
+	/**
+	 * table name:TENANTID
+	 * table type:text
+	 * table comment:null
+	 */
+	private String tenantid;
+
+	/**
+	 * table name:ROPTION
+	 * table type:text
+	 * table comment:扩展json格式配置
+	 */
+	private String roption;
+
+	/**
+	 * table name:DELETED
+	 * table type:varchar(1)
+	 * table comment:是否删除Y/N
+	 */
+	private String deleted;
+
+	/**
+	 * table name:REMARK
+	 * table type:varchar(2000)
+	 * table comment:备注
+	 */
+	private String remark;
+
+	/**
+	 * table name:CREATEDATE
+	 * table type:datetime
+	 * table comment:创建时间
+	 */
+	private Date createdate;
+
+	/**
+	 * table name:CREATEUSERID
+	 * table type:varchar(36)
+	 * table comment:创建用户ID
+	 */
+	private String createuserid;
+
+	/**
+	 * table name:MODIFYDATE
+	 * table type:datetime
+	 * table comment:修改日期
+	 */
+	private Date modifydate;
+
+	/**
+	 * table name:MODIFYUSERID
+	 * table type:varchar(36)
+	 * table comment:修改用户ID
+	 */
+	private String modifyuserid;
+
+	/**
+	 * table name:CREATEUSERNAME
+	 * table type:varchar(20)
+	 * table comment:创建人
+	 */
+	private String createusername;
+
+	/**
+	 * table name:MODIFYUSERNAME
+	 * table type:varchar(20)
+	 * table comment:修改人
+	 */
+	private String modifyusername;
+
+	/**
+	 * table name:MAINID
+	 * table type:varchar(36)
+	 * table comment:主表ID
+	 */
+	private String mainid;
+
+	/**
+	 * table name:INFORMATIONNAME
+	 * table type:varchar(255)
+	 * table comment:资料名称
+	 */
+	private String informationname;
+
+	/**
+	 * table name:UNIT
+	 * table type:varchar(50)
+	 * table comment:单位
+	 */
+	private String unit;
+
+	/**
+	 * table name:NUMBER
+	 * table type:decimal(18,2)
+	 * table comment:数量
+	 */
+	private Double number;
+
+	/**
+	 * table name:FILES
+	 * table type:text
+	 * table comment:附件
+	 */
+	private String files;
+
+}

+ 233 - 0
cx-equipment/cx-equipment-entity/src/main/java/com/rongwei/bsentity/domain/EquTechnicalReformDo.java

@@ -0,0 +1,233 @@
+package com.rongwei.bsentity.domain;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author  cyn 
+ * @create 2024-01-22 14:03 
+ */
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+@TableName("equ_technical_reform")
+public class EquTechnicalReformDo implements Serializable {
+
+	private static long serialVersionUID = 1L;
+	/**
+	 * table name:ID
+	 * table type:varchar(36)
+	 * table comment:主键ID
+	 */
+	private String id;
+
+	/**
+	 * table name:TENANTID
+	 * table type:text
+	 * table comment:null
+	 */
+	private String tenantid;
+
+	/**
+	 * table name:ROPTION
+	 * table type:text
+	 * table comment:扩展json格式配置
+	 */
+	private String roption;
+
+	/**
+	 * table name:DELETED
+	 * table type:varchar(1)
+	 * table comment:是否删除Y/N
+	 */
+	private String deleted;
+
+	/**
+	 * table name:REMARK
+	 * table type:varchar(2000)
+	 * table comment:备注
+	 */
+	private String remark;
+
+	/**
+	 * table name:CREATEDATE
+	 * table type:datetime
+	 * table comment:创建时间
+	 */
+	private Date createdate;
+
+	/**
+	 * table name:CREATEUSERID
+	 * table type:varchar(36)
+	 * table comment:创建用户ID
+	 */
+	private String createuserid;
+
+	/**
+	 * table name:MODIFYDATE
+	 * table type:datetime
+	 * table comment:修改日期
+	 */
+	private Date modifydate;
+
+	/**
+	 * table name:MODIFYUSERID
+	 * table type:varchar(36)
+	 * table comment:修改用户ID
+	 */
+	private String modifyuserid;
+
+	/**
+	 * table name:CREATEUSERNAME
+	 * table type:varchar(20)
+	 * table comment:创建人
+	 */
+	private String createusername;
+
+	/**
+	 * table name:MODIFYUSERNAME
+	 * table type:varchar(20)
+	 * table comment:修改人
+	 */
+	private String modifyusername;
+
+	/**
+	 * table name:OWNEDFACTORY
+	 * table type:varchar(255)
+	 * table comment:所属工厂
+	 */
+	private String ownedfactory;
+
+	/**
+	 * table name:TECHNICIMPNO
+	 * table type:varchar(255)
+	 * table comment:技改编号
+	 */
+	private String technicimpno;
+
+	/**
+	 * table name:EQUID
+	 * table type:varchar(36)
+	 * table comment:设备ID
+	 */
+	private String equid;
+
+	/**
+	 * table name:EQUNUM
+	 * table type:varchar(255)
+	 * table comment:设备编号
+	 */
+	private String equnum;
+
+	/**
+	 * table name:EQUNAME
+	 * table type:varchar(255)
+	 * table comment:设备名称
+	 */
+	private String equname;
+
+	/**
+	 * table name:MANEGEDEPTID
+	 * table type:varchar(36)
+	 * table comment:管理部门ID
+	 */
+	private String manegedeptid;
+
+	/**
+	 * table name:MANEGEDEPTNAME
+	 * table type:varchar(255)
+	 * table comment:管理部门
+	 */
+	private String manegedeptname;
+
+	/**
+	 * table name:TECHNICIMPPROJECT
+	 * table type:varchar(500)
+	 * table comment:技改项目
+	 */
+	private String technicimpproject;
+
+	/**
+	 * table name:PLANSTARTTIME
+	 * table type:datetime
+	 * table comment:计划技改开始时间
+	 */
+	private Date planstarttime;
+
+	/**
+	 * table name:PLANENDTIME
+	 * table type:datetime
+	 * table comment:计划技改结束时间
+	 */
+	private Date planendtime;
+
+	/**
+	 * table name:DUTYUSERID
+	 * table type:text
+	 * table comment:技改责任人ID
+	 */
+	private String dutyuserid;
+
+	/**
+	 * table name:DUTYUSER
+	 * table type:text
+	 * table comment:技改责任人
+	 */
+	private String dutyuser;
+
+	/**
+	 * table name:ACTSTARTTIME
+	 * table type:datetime
+	 * table comment:实际技改开始时间
+	 */
+	private Date actstarttime;
+
+	/**
+	 * table name:ACTENDTIME
+	 * table type:datetime
+	 * table comment:实际技改结束时间
+	 */
+	private Date actendtime;
+
+	/**
+	 * table name:TECHNICIMPREASON
+	 * table type:text
+	 * table comment:技改原因
+	 */
+	private String technicimpreason;
+
+	/**
+	 * table name:IMPLEMENTRES
+	 * table type:text
+	 * table comment:实施后效果
+	 */
+	private String implementres;
+
+	/**
+	 * table name:TECHNICIMPSCHEME
+	 * table type:text
+	 * table comment:技改方案
+	 */
+	private String technicimpscheme;
+
+	/**
+	 * table name:TECHNICIMPFILES
+	 * table type:text
+	 * table comment:技改相关资料
+	 */
+	private String technicimpfiles;
+
+	/**
+	 * table name:TECHNICIMPSTATE
+	 * table type:varchar(50)
+	 * table comment:技改状态
+	 */
+	private String technicimpstate;
+
+}