parent
cf9ed148e4
commit
24724875d0
@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -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 {
|
||||
}
|
@ -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;
|
||||
}
|
@ -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<TdPropertyEment> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -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<TdPropertyEment> {
|
||||
|
||||
}
|
@ -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<TdPropertyEmentMapper, TdPropertyEment>
|
||||
implements TdPropertyEmentService {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.TdPropertyEmentMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.ruoyi.system.domain.TdPropertyEment">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="useId" column="use_id" jdbcType="VARCHAR"/>
|
||||
<result property="name" column="name" jdbcType="VARCHAR"/>
|
||||
<result property="purposes" column="purposes" jdbcType="VARCHAR"/>
|
||||
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||
<result property="maintainDepart" column="maintain_depart" jdbcType="VARCHAR"/>
|
||||
<result property="maintainUser" column="maintain_user" jdbcType="VARCHAR"/>
|
||||
<result property="maintainDate" column="maintain_date" jdbcType="TIMESTAMP"/>
|
||||
<result property="maintainState" column="maintain_state" jdbcType="VARCHAR"/>
|
||||
<result property="destoryState" column="destory_state" jdbcType="VARCHAR"/>
|
||||
<result property="destoryDepart" column="destory_depart" jdbcType="VARCHAR"/>
|
||||
<result property="destoryUser" column="destory_user" jdbcType="VARCHAR"/>
|
||||
<result property="destoryDate" column="destory_date" jdbcType="TIMESTAMP"/>
|
||||
<result property="destoryType" column="destory_type" jdbcType="VARCHAR"/>
|
||||
<result property="maintainRemark" column="maintain_remark" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
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
|
||||
</sql>
|
||||
</mapper>
|
Loading…
Reference in new issue