diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/TdPropertyEmentManager.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/TdPropertyEmentManager.java new file mode 100644 index 0000000..e94c1ef --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/TdPropertyEmentManager.java @@ -0,0 +1,26 @@ +package com.ruoyi.web.controller.manager; + +import com.ruoyi.system.service.TdPropertyEmentService; +import org.springframework.stereotype.Component; + +import javax.annotation.Resource; + +/** + * packageName com.ruoyi.web.controller.manager + * + * @author wangxy + * @version JDK 8 + * @className TdPropertyEmentManager + * @date 2024/8/20 + * @description 涉密设备信息 + */ +@Component +public class TdPropertyEmentManager { + + @Resource + private TdPropertyEmentService tdPropertyEmentService; + + + + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/property/TdPropertyEmentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/property/TdPropertyEmentController.java new file mode 100644 index 0000000..48bb61d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/property/TdPropertyEmentController.java @@ -0,0 +1,15 @@ +package com.ruoyi.web.controller.system.property; + +import com.ruoyi.common.core.controller.BaseController; + +/** + * packageName com.ruoyi.web.controller.system.property + * + * @author wangxy + * @version JDK 8 + * @className TdPropertyEmentController + * @date 2024/8/20 + * @description + */ +public class TdPropertyEmentController extends BaseController { +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdPropertyEment.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdPropertyEment.java new file mode 100644 index 0000000..8ffd102 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdPropertyEment.java @@ -0,0 +1,102 @@ +package com.ruoyi.system.domain; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + * 涉密设备信息 + * @TableName td_property_ement + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +public class TdPropertyEment implements Serializable { + /** + * 登记编号 + */ + @TableId + private String id; + + /** + * 资产id + */ + private String useId; + + /** + * 名称 + */ + private String name; + + /** + * 用途 + */ + private String purposes; + + /** + * 备注 + */ + private String remark; + + /** + * 维护部门 + */ + private String maintainDepart; + + /** + * 维护人员 + */ + private String maintainUser; + + /** + * 维护日期 + */ + private Date maintainDate; + + /** + * 维护状态 + */ + private String maintainState; + + /** + * 销毁状态 + */ + private String destoryState; + + /** + * 销毁部门 + */ + private String destoryDepart; + + /** + * 销毁人员 + */ + private String destoryUser; + + /** + * 销毁日期 + */ + private Date destoryDate; + + /** + * 报废类型 + */ + private String destoryType; + + /** + * 维护备注 + */ + private String maintainRemark; + + /** + * 创建时间 + */ + private Date createTime; + + @TableField(exist = false) + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdPropertyManager.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdPropertyManager.java index dd3ce3d..e7e116a 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdPropertyManager.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TdPropertyManager.java @@ -67,6 +67,12 @@ public class TdPropertyManager extends BaseEntity @Excel(name = "网络终端", readConverterExp = "数=量") private Long propertyNum; + + @Excel(name = "所属区县") + private String secretsType; + + + public void setUseId(String useId) { this.useId = useId; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TdPropertyEmentMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TdPropertyEmentMapper.java new file mode 100644 index 0000000..f8eecab --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/TdPropertyEmentMapper.java @@ -0,0 +1,18 @@ +package com.ruoyi.system.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ruoyi.system.domain.TdPropertyEment; + +/** +* @author 13560 +* @description 针对表【td_property_ement(涉密设备信息)】的数据库操作Mapper +* @createDate 2024-08-20 08:55:12 +* @Entity generator.domain.TdPropertyEment +*/ +public interface TdPropertyEmentMapper extends BaseMapper { + +} + + + + diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/TdPropertyEmentService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/TdPropertyEmentService.java new file mode 100644 index 0000000..62c1ea3 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/TdPropertyEmentService.java @@ -0,0 +1,13 @@ +package com.ruoyi.system.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.system.domain.TdPropertyEment; + +/** +* @author 13560 +* @description 针对表【td_property_ement(涉密设备信息)】的数据库操作Service +* @createDate 2024-08-20 08:55:12 +*/ +public interface TdPropertyEmentService extends IService { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TdPropertyEmentServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TdPropertyEmentServiceImpl.java new file mode 100644 index 0000000..46787aa --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TdPropertyEmentServiceImpl.java @@ -0,0 +1,22 @@ +package com.ruoyi.system.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ruoyi.system.domain.TdPropertyEment; +import com.ruoyi.system.mapper.TdPropertyEmentMapper; +import com.ruoyi.system.service.TdPropertyEmentService; +import org.springframework.stereotype.Service; + +/** +* @author 13560 +* @description 针对表【td_property_ement(涉密设备信息)】的数据库操作Service实现 +* @createDate 2024-08-20 08:55:12 +*/ +@Service +public class TdPropertyEmentServiceImpl extends ServiceImpl + implements TdPropertyEmentService { + +} + + + + diff --git a/ruoyi-system/src/main/resources/mapper/system/TdPropertyEmentMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TdPropertyEmentMapper.xml new file mode 100644 index 0000000..8ea791c --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/TdPropertyEmentMapper.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + id,use_id,name, + purposes,remark,maintain_depart, + maintain_user,maintain_date,maintain_state, + destory_state,destory_depart,destory_user, + destory_date,destory_type,maintain_remark, + create_time + +