1. 结构化数据存储改造
parent
70e7c4bf8d
commit
34204a804a
@ -0,0 +1,82 @@
|
||||
package com.supervision.police.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @TableName attribute_gwzs
|
||||
*/
|
||||
@TableName(value ="attribute_gwzs")
|
||||
@Data
|
||||
public class AttributeGwzs implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 证据id
|
||||
*/
|
||||
private String evidenceId;
|
||||
|
||||
/**
|
||||
* 项目名称
|
||||
*/
|
||||
@Schema(description = "项目名称", type = "1")
|
||||
private String projectName;
|
||||
|
||||
/**
|
||||
* 项目状态
|
||||
*/
|
||||
@Schema(description = "项目状态", type = "1")
|
||||
private String projectStatus;
|
||||
|
||||
/**
|
||||
* 发布单位
|
||||
*/
|
||||
@Schema(description = "发布单位", type = "1")
|
||||
private String publishingUnit;
|
||||
|
||||
/**
|
||||
* 结论
|
||||
*/
|
||||
@Schema(description = "结论", type = "1")
|
||||
private String conclusion;
|
||||
|
||||
/**
|
||||
* 发文时间
|
||||
*/
|
||||
@Schema(description = "发文时间", type = "3")
|
||||
private String publicationTime;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String createUserId;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String updateUserId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
package com.supervision.police.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @TableName attribute_xmht
|
||||
*/
|
||||
@TableName(value ="attribute_xmht")
|
||||
@Data
|
||||
public class AttributeXmht implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 证据id
|
||||
*/
|
||||
private String evidenceId;
|
||||
|
||||
/**
|
||||
* 项目名称
|
||||
*/
|
||||
@Schema(description = "项目名称", type = "1")
|
||||
private String projectName;
|
||||
|
||||
/**
|
||||
* 甲方
|
||||
*/
|
||||
@Schema(description = "甲方", type = "1")
|
||||
private String partA;
|
||||
|
||||
/**
|
||||
* 乙方
|
||||
*/
|
||||
@Schema(description = "乙方", type = "1")
|
||||
private String partB;
|
||||
|
||||
/**
|
||||
* 项目范围
|
||||
*/
|
||||
@Schema(description = "项目范围", type = "1")
|
||||
private String scope;
|
||||
|
||||
/**
|
||||
* 项目开始时间
|
||||
*/
|
||||
@Schema(description = "项目开始时间", type = "3")
|
||||
private String projectStartTime;
|
||||
|
||||
/**
|
||||
* 项目结束时间
|
||||
*/
|
||||
@Schema(description = "项目结束时间", type = "3")
|
||||
private String projectEndTime;
|
||||
|
||||
/**
|
||||
* 签订日期
|
||||
*/
|
||||
@Schema(description = "签订日期", type = "3")
|
||||
private String signingTime;
|
||||
|
||||
/**
|
||||
* 项目状态
|
||||
*/
|
||||
@Schema(description = "项目状态", type = "1")
|
||||
private String projectStatus;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String createUserId;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String updateUserId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.supervision.police.mapper;
|
||||
|
||||
import com.supervision.police.domain.AttributeGwzs;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【attribute_gwzs】的数据库操作Mapper
|
||||
* @createDate 2024-11-21 10:09:13
|
||||
* @Entity com.supervision.police.domain.AttributeGwzs
|
||||
*/
|
||||
public interface AttributeGwzsMapper extends BaseMapper<AttributeGwzs> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.supervision.police.mapper;
|
||||
|
||||
import com.supervision.police.domain.AttributeXmht;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【attribute_xmht】的数据库操作Mapper
|
||||
* @createDate 2024-11-21 10:09:13
|
||||
* @Entity com.supervision.police.domain.AttributeXmht
|
||||
*/
|
||||
public interface AttributeXmhtMapper extends BaseMapper<AttributeXmht> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,13 @@
|
||||
package com.supervision.police.service;
|
||||
|
||||
import com.supervision.police.domain.AttributeGwzs;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【attribute_gwzs】的数据库操作Service
|
||||
* @createDate 2024-11-21 10:09:13
|
||||
*/
|
||||
public interface AttributeGwzsService extends IService<AttributeGwzs> {
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.supervision.police.service;
|
||||
|
||||
import com.supervision.police.domain.AttributeXmht;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【attribute_xmht】的数据库操作Service
|
||||
* @createDate 2024-11-21 10:09:13
|
||||
*/
|
||||
public interface AttributeXmhtService extends IService<AttributeXmht> {
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.supervision.police.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.supervision.police.domain.AttributeGwzs;
|
||||
import com.supervision.police.service.AttributeGwzsService;
|
||||
import com.supervision.police.mapper.AttributeGwzsMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【attribute_gwzs】的数据库操作Service实现
|
||||
* @createDate 2024-11-21 10:09:13
|
||||
*/
|
||||
@Service
|
||||
public class AttributeGwzsServiceImpl extends ServiceImpl<AttributeGwzsMapper, AttributeGwzs>
|
||||
implements AttributeGwzsService{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
package com.supervision.police.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.supervision.police.domain.AttributeXmht;
|
||||
import com.supervision.police.service.AttributeXmhtService;
|
||||
import com.supervision.police.mapper.AttributeXmhtMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【attribute_xmht】的数据库操作Service实现
|
||||
* @createDate 2024-11-21 10:09:13
|
||||
*/
|
||||
@Service
|
||||
public class AttributeXmhtServiceImpl extends ServiceImpl<AttributeXmhtMapper, AttributeXmht>
|
||||
implements AttributeXmhtService{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,27 @@
|
||||
<?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.supervision.police.mapper.AttributeGwzsMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.supervision.police.domain.AttributeGwzs">
|
||||
<result property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="evidenceId" column="evidence_id" jdbcType="VARCHAR"/>
|
||||
<result property="projectName" column="project_name" jdbcType="VARCHAR"/>
|
||||
<result property="projectStatus" column="project_status" jdbcType="VARCHAR"/>
|
||||
<result property="publishingUnit" column="publishing_unit" jdbcType="VARCHAR"/>
|
||||
<result property="conclusion" column="conclusion" jdbcType="VARCHAR"/>
|
||||
<result property="publicationTime" column="publication_time" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,evidence_id,project_name,
|
||||
project_status,publishing_unit,conclusion,
|
||||
publication_time,create_time,create_user_id,
|
||||
update_time,update_user_id
|
||||
</sql>
|
||||
</mapper>
|
@ -0,0 +1,31 @@
|
||||
<?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.supervision.police.mapper.AttributeXmhtMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.supervision.police.domain.AttributeXmht">
|
||||
<result property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="evidenceId" column="evidence_id" jdbcType="VARCHAR"/>
|
||||
<result property="projectName" column="project_name" jdbcType="VARCHAR"/>
|
||||
<result property="partA" column="part_a" jdbcType="VARCHAR"/>
|
||||
<result property="partB" column="part_b" jdbcType="VARCHAR"/>
|
||||
<result property="scope" column="scope" jdbcType="VARCHAR"/>
|
||||
<result property="projectStartTime" column="project_start_time" jdbcType="VARCHAR"/>
|
||||
<result property="projectEndTime" column="project_end_time" jdbcType="VARCHAR"/>
|
||||
<result property="signingTime" column="signing_time" jdbcType="VARCHAR"/>
|
||||
<result property="projectStatus" column="project_status" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,evidence_id,project_name,
|
||||
part_a,part_b,scope,
|
||||
project_start_time,project_end_time,signing_time,
|
||||
project_status,create_time,create_user_id,
|
||||
update_time,update_user_id
|
||||
</sql>
|
||||
</mapper>
|
Loading…
Reference in New Issue