lrj 7 months ago
parent
commit
9b2cf9eb71

+ 4 - 0
src/main/java/cn/cslg/pas/common/model/novelty/LitigationVO.java

@@ -0,0 +1,4 @@
+package cn.cslg.pas.common.model.novelty;
+
+public class LitigationVO {
+}

+ 90 - 0
src/main/java/cn/cslg/pas/domain/business/novelty/Litigation.java

@@ -0,0 +1,90 @@
+package cn.cslg.pas.domain.business.novelty;
+
+import cn.cslg.pas.domain.BaseEntity;
+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 java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 行政诉讼表
+ * @TableName litigation
+ */
+@TableName(value ="litigation")
+@Data
+public class Litigation extends BaseEntity<ImportPatentQueen> {
+    /**
+     * 
+     */
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 案号
+     */
+    private String caseNumber;
+
+    /**
+     * 立案时间
+     */
+    private Date caseFieldTime;
+
+    /**
+     * 原告
+     */
+    private String plaintiff;
+
+    /**
+     * 被告
+     */
+    private String defendant;
+
+    /**
+     * 第三人
+     */
+    private String thirdPerson;
+
+    /**
+     * 被告代理人
+     */
+    private String plaintiffAgent;
+
+    /**
+     * 第三代理人
+     */
+    private Integer thirdAgent;
+
+    /**
+     * 合议庭成员
+     */
+    private String panelMember;
+
+    /**
+     * 结果
+     */
+    private String result;
+
+    /**
+     * 创建人
+     */
+    private String createId;
+
+    /**
+     * 1一审 2二审
+     */
+    private Integer type;
+
+    /**
+     * 
+     */
+    private Integer projectId;
+
+    /**
+     * 创建时间
+     */
+    private Date createTime;
+
+}

+ 18 - 0
src/main/java/cn/cslg/pas/mapper/novelty/LitigationMapper.java

@@ -0,0 +1,18 @@
+package cn.cslg.pas.mapper.novelty;
+
+import cn.cslg.pas.domain.business.novelty.Litigation;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【litigation(行政诉讼表)】的数据库操作Mapper
+* @createDate 2025-02-27 10:49:21
+* @Entity cn.cslg.pas.domain.novelty.domain.Litigation
+*/
+public interface LitigationMapper extends BaseMapper<Litigation> {
+
+}
+
+
+
+

+ 31 - 0
src/main/resources/mapper/novelty/LitigationMapper.xml

@@ -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="cn.cslg.pas.mapper.novelty.LitigationMapper">
+
+    <resultMap id="BaseResultMap" type="cn.cslg.pas.domain.business.novelty.Litigation">
+            <id property="id" column="id" jdbcType="INTEGER"/>
+            <result property="caseNumber" column="case_number" jdbcType="VARCHAR"/>
+            <result property="caseFieldTime" column="case_field_time" jdbcType="DATE"/>
+            <result property="plaintiff" column="plaintiff" jdbcType="VARCHAR"/>
+            <result property="defendant" column="defendant" jdbcType="VARCHAR"/>
+            <result property="thirdPerson" column="third_person" jdbcType="VARCHAR"/>
+            <result property="plaintiffAgent" column="plaintiff_agent" jdbcType="VARCHAR"/>
+            <result property="thirdAgent" column="third_agent" jdbcType="INTEGER"/>
+            <result property="panelMember" column="panel_member" jdbcType="VARCHAR"/>
+            <result property="result" column="result" jdbcType="VARCHAR"/>
+            <result property="createId" column="create_id" jdbcType="VARCHAR"/>
+            <result property="type" column="type" jdbcType="INTEGER"/>
+            <result property="projectId" column="project_id" jdbcType="INTEGER"/>
+            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id,case_number,case_field_time,
+        plaintiff,defendant,third_person,
+        plaintiff_agent,third_agent,panel_member,
+        result,create_id,type,
+        project_id,create_time
+    </sql>
+</mapper>