|
@@ -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>
|