ProjectPatentMapper.xml
1.58 KB
<?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.zhongzhi.dao.ProjectPatentMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.zhongzhi.model.ProjectPatentDO">
<id column="id" property="id"/>
<result column="create_time" property="createTime"/>
<result column="update_time" property="updateTime"/>
<result column="delete_time" property="deleteTime"/>
<result column="project_id" property="projectId"/>
<result column="country" property="country"/>
<result column="publication_number" property="publicationNumber"/>
<result column="patent_title" property="patentTitle"/>
<result column="patent_type" property="patentType"/>
<result column="patent_number" property="patentNumber"/>
<result column="patent_applicants" property="patentApplicants"/>
<result column="Issued_time" property="issuedTime"/>
<result column="expiration_time" property="expirationTime"/>
<result column="inventor" property="inventor"/>
<result column="other_inventors" property="otherInventors"/>
</resultMap>
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
create_time
,
update_time,
delete_time,
id, project_id, country, publication_number, patent_title, patent_type, patent_number, patent_applicants, Issued_time, expiration_time, inventor, other_inventors
</sql>
</mapper>