|
|
@@ -0,0 +1,404 @@
|
|
|
+<?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.goafanti.common.dao.PatentInfoMapper" >
|
|
|
+ <resultMap id="BaseResultMap" type="com.goafanti.common.model.PatentInfo" >
|
|
|
+ <id column="id" property="id" jdbcType="VARCHAR" />
|
|
|
+ <result column="uid" property="uid" jdbcType="VARCHAR" />
|
|
|
+ <result column="serial_number" property="serialNumber" jdbcType="VARCHAR" />
|
|
|
+ <result column="patent_number" property="patentNumber" jdbcType="VARCHAR" />
|
|
|
+ <result column="patent_name" property="patentName" jdbcType="VARCHAR" />
|
|
|
+ <result column="patent_catagory" property="patentCatagory" jdbcType="INTEGER" />
|
|
|
+ <result column="patent_state" property="patentState" jdbcType="INTEGER" />
|
|
|
+ <result column="patent_field" property="patentField" jdbcType="INTEGER" />
|
|
|
+ <result column="patent_prory_statement_url" property="patentProryStatementUrl" jdbcType="VARCHAR" />
|
|
|
+ <result column="patent_writing_url" property="patentWritingUrl" jdbcType="VARCHAR" />
|
|
|
+ <result column="authorization_notice_url" property="authorizationNoticeUrl" jdbcType="VARCHAR" />
|
|
|
+ <result column="patent_certificate_url" property="patentCertificateUrl" jdbcType="VARCHAR" />
|
|
|
+ <result column="patent_application_date" property="patentApplicationDate" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="first_inventor_name" property="firstInventorName" jdbcType="VARCHAR" />
|
|
|
+ <result column="first_inventor_nationality" property="firstInventorNationality" jdbcType="VARCHAR" />
|
|
|
+ <result column="first_inventor_id_number" property="firstInventorIdNumber" jdbcType="VARCHAR" />
|
|
|
+ <result column="first_inventor_is_publish" property="firstInventorIsPublish" jdbcType="INTEGER" />
|
|
|
+ <result column="second_inventor_name" property="secondInventorName" jdbcType="VARCHAR" />
|
|
|
+ <result column="second_inventor_nationality" property="secondInventorNationality" jdbcType="VARCHAR" />
|
|
|
+ <result column="second_inventor_is_publish" property="secondInventorIsPublish" jdbcType="INTEGER" />
|
|
|
+ <result column="third_inventor_name" property="thirdInventorName" jdbcType="VARCHAR" />
|
|
|
+ <result column="third_inventor_nationality" property="thirdInventorNationality" jdbcType="VARCHAR" />
|
|
|
+ <result column="third_inventor_is_publish" property="thirdInventorIsPublish" jdbcType="INTEGER" />
|
|
|
+ <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="author" property="author" jdbcType="VARCHAR" />
|
|
|
+ <result column="office" property="office" jdbcType="VARCHAR" />
|
|
|
+ <result column="principal" property="principal" jdbcType="VARCHAR" />
|
|
|
+ <result column="authorized_date" property="authorizedDate" jdbcType="TIMESTAMP"/>
|
|
|
+ <result column="patent_des" property="patentDes" jdbcType="LONGVARCHAR" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Base_Column_List" >
|
|
|
+ id, uid, serial_number, patent_number, patent_name, patent_catagory, patent_state,
|
|
|
+ patent_field, patent_prory_statement_url, patent_writing_url, authorization_notice_url,
|
|
|
+ patent_certificate_url, patent_application_date, first_inventor_name, first_inventor_nationality,
|
|
|
+ first_inventor_id_number, first_inventor_is_publish, second_inventor_name, second_inventor_nationality,
|
|
|
+ second_inventor_is_publish, third_inventor_name, third_inventor_nationality, third_inventor_is_publish,
|
|
|
+ create_time, author, office, principal, authorized_date , patent_des
|
|
|
+ </sql>
|
|
|
+ <select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.String" >
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from patent_info
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
|
+ delete from patent_info
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.goafanti.common.model.PatentInfo" >
|
|
|
+ insert into patent_info (id, uid, serial_number,
|
|
|
+ patent_number, patent_name, patent_catagory,
|
|
|
+ patent_state, patent_field, patent_prory_statement_url,
|
|
|
+ patent_writing_url, authorization_notice_url,
|
|
|
+ patent_certificate_url, patent_application_date,
|
|
|
+ first_inventor_name, first_inventor_nationality,
|
|
|
+ first_inventor_id_number, first_inventor_is_publish,
|
|
|
+ second_inventor_name, second_inventor_nationality,
|
|
|
+ second_inventor_is_publish, third_inventor_name,
|
|
|
+ third_inventor_nationality, third_inventor_is_publish,
|
|
|
+ create_time, author, office,
|
|
|
+ principal, authorized_date,patent_des)
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{serialNumber,jdbcType=VARCHAR},
|
|
|
+ #{patentNumber,jdbcType=VARCHAR}, #{patentName,jdbcType=VARCHAR}, #{patentCatagory,jdbcType=INTEGER},
|
|
|
+ #{patentState,jdbcType=INTEGER}, #{patentField,jdbcType=INTEGER}, #{patentProryStatementUrl,jdbcType=VARCHAR},
|
|
|
+ #{patentWritingUrl,jdbcType=VARCHAR}, #{authorizationNoticeUrl,jdbcType=VARCHAR},
|
|
|
+ #{patentCertificateUrl,jdbcType=VARCHAR}, #{patentApplicationDate,jdbcType=TIMESTAMP},
|
|
|
+ #{firstInventorName,jdbcType=VARCHAR}, #{firstInventorNationality,jdbcType=VARCHAR},
|
|
|
+ #{firstInventorIdNumber,jdbcType=VARCHAR}, #{firstInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ #{secondInventorName,jdbcType=VARCHAR}, #{secondInventorNationality,jdbcType=VARCHAR},
|
|
|
+ #{secondInventorIsPublish,jdbcType=INTEGER}, #{thirdInventorName,jdbcType=VARCHAR},
|
|
|
+ #{thirdInventorNationality,jdbcType=VARCHAR}, #{thirdInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ #{createTime,jdbcType=TIMESTAMP}, #{author,jdbcType=VARCHAR}, #{office,jdbcType=VARCHAR},
|
|
|
+ #{principal,jdbcType=VARCHAR}, #{authorizedDate,jdbcType=TIMESTAMP},#{patentDes,jdbcType=LONGVARCHAR})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.goafanti.common.model.PatentInfo" >
|
|
|
+ insert into patent_info
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
+ <if test="id != null" >
|
|
|
+ id,
|
|
|
+ </if>
|
|
|
+ <if test="uid != null" >
|
|
|
+ uid,
|
|
|
+ </if>
|
|
|
+ <if test="serialNumber != null" >
|
|
|
+ serial_number,
|
|
|
+ </if>
|
|
|
+ <if test="patentNumber != null" >
|
|
|
+ patent_number,
|
|
|
+ </if>
|
|
|
+ <if test="patentName != null" >
|
|
|
+ patent_name,
|
|
|
+ </if>
|
|
|
+ <if test="patentCatagory != null" >
|
|
|
+ patent_catagory,
|
|
|
+ </if>
|
|
|
+ <if test="patentState != null" >
|
|
|
+ patent_state,
|
|
|
+ </if>
|
|
|
+ <if test="patentField != null" >
|
|
|
+ patent_field,
|
|
|
+ </if>
|
|
|
+ <if test="patentProryStatementUrl != null" >
|
|
|
+ patent_prory_statement_url,
|
|
|
+ </if>
|
|
|
+ <if test="patentWritingUrl != null" >
|
|
|
+ patent_writing_url,
|
|
|
+ </if>
|
|
|
+ <if test="authorizationNoticeUrl != null" >
|
|
|
+ authorization_notice_url,
|
|
|
+ </if>
|
|
|
+ <if test="patentCertificateUrl != null" >
|
|
|
+ patent_certificate_url,
|
|
|
+ </if>
|
|
|
+ <if test="patentApplicationDate != null" >
|
|
|
+ patent_application_date,
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorName != null" >
|
|
|
+ first_inventor_name,
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorNationality != null" >
|
|
|
+ first_inventor_nationality,
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorIdNumber != null" >
|
|
|
+ first_inventor_id_number,
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorIsPublish != null" >
|
|
|
+ first_inventor_is_publish,
|
|
|
+ </if>
|
|
|
+ <if test="secondInventorName != null" >
|
|
|
+ second_inventor_name,
|
|
|
+ </if>
|
|
|
+ <if test="secondInventorNationality != null" >
|
|
|
+ second_inventor_nationality,
|
|
|
+ </if>
|
|
|
+ <if test="secondInventorIsPublish != null" >
|
|
|
+ second_inventor_is_publish,
|
|
|
+ </if>
|
|
|
+ <if test="thirdInventorName != null" >
|
|
|
+ third_inventor_name,
|
|
|
+ </if>
|
|
|
+ <if test="thirdInventorNationality != null" >
|
|
|
+ third_inventor_nationality,
|
|
|
+ </if>
|
|
|
+ <if test="thirdInventorIsPublish != null" >
|
|
|
+ third_inventor_is_publish,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ create_time,
|
|
|
+ </if>
|
|
|
+ <if test="author != null" >
|
|
|
+ author,
|
|
|
+ </if>
|
|
|
+ <if test="office != null" >
|
|
|
+ office,
|
|
|
+ </if>
|
|
|
+ <if test="principal != null" >
|
|
|
+ principal,
|
|
|
+ </if>
|
|
|
+ <if test="authorizedDate != null" >
|
|
|
+ authorized_date,
|
|
|
+ </if>
|
|
|
+ <if test="patentDes != null" >
|
|
|
+ patent_des,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
+ <if test="id != null" >
|
|
|
+ #{id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="uid != null" >
|
|
|
+ #{uid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="serialNumber != null" >
|
|
|
+ #{serialNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentNumber != null" >
|
|
|
+ #{patentNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentName != null" >
|
|
|
+ #{patentName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentCatagory != null" >
|
|
|
+ #{patentCatagory,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="patentState != null" >
|
|
|
+ #{patentState,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="patentField != null" >
|
|
|
+ #{patentField,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="patentProryStatementUrl != null" >
|
|
|
+ #{patentProryStatementUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentWritingUrl != null" >
|
|
|
+ #{patentWritingUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="authorizationNoticeUrl != null" >
|
|
|
+ #{authorizationNoticeUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentCertificateUrl != null" >
|
|
|
+ #{patentCertificateUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentApplicationDate != null" >
|
|
|
+ #{patentApplicationDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorName != null" >
|
|
|
+ #{firstInventorName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorNationality != null" >
|
|
|
+ #{firstInventorNationality,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorIdNumber != null" >
|
|
|
+ #{firstInventorIdNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorIsPublish != null" >
|
|
|
+ #{firstInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="secondInventorName != null" >
|
|
|
+ #{secondInventorName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="secondInventorNationality != null" >
|
|
|
+ #{secondInventorNationality,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="secondInventorIsPublish != null" >
|
|
|
+ #{secondInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="thirdInventorName != null" >
|
|
|
+ #{thirdInventorName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="thirdInventorNationality != null" >
|
|
|
+ #{thirdInventorNationality,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="thirdInventorIsPublish != null" >
|
|
|
+ #{thirdInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="author != null" >
|
|
|
+ #{author,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="office != null" >
|
|
|
+ #{office,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="principal != null" >
|
|
|
+ #{principal,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="authorizedDate != null" >
|
|
|
+ #{authorizedDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="patentDes != null" >
|
|
|
+ #{patentDes,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.PatentInfo" >
|
|
|
+ update patent_info
|
|
|
+ <set >
|
|
|
+ <if test="uid != null" >
|
|
|
+ uid = #{uid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="serialNumber != null" >
|
|
|
+ serial_number = #{serialNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentNumber != null" >
|
|
|
+ patent_number = #{patentNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentName != null" >
|
|
|
+ patent_name = #{patentName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentCatagory != null" >
|
|
|
+ patent_catagory = #{patentCatagory,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="patentState != null" >
|
|
|
+ patent_state = #{patentState,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="patentField != null" >
|
|
|
+ patent_field = #{patentField,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="patentProryStatementUrl != null" >
|
|
|
+ patent_prory_statement_url = #{patentProryStatementUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentWritingUrl != null" >
|
|
|
+ patent_writing_url = #{patentWritingUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="authorizationNoticeUrl != null" >
|
|
|
+ authorization_notice_url = #{authorizationNoticeUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentCertificateUrl != null" >
|
|
|
+ patent_certificate_url = #{patentCertificateUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="patentApplicationDate != null" >
|
|
|
+ patent_application_date = #{patentApplicationDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorName != null" >
|
|
|
+ first_inventor_name = #{firstInventorName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorNationality != null" >
|
|
|
+ first_inventor_nationality = #{firstInventorNationality,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorIdNumber != null" >
|
|
|
+ first_inventor_id_number = #{firstInventorIdNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="firstInventorIsPublish != null" >
|
|
|
+ first_inventor_is_publish = #{firstInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="secondInventorName != null" >
|
|
|
+ second_inventor_name = #{secondInventorName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="secondInventorNationality != null" >
|
|
|
+ second_inventor_nationality = #{secondInventorNationality,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="secondInventorIsPublish != null" >
|
|
|
+ second_inventor_is_publish = #{secondInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="thirdInventorName != null" >
|
|
|
+ third_inventor_name = #{thirdInventorName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="thirdInventorNationality != null" >
|
|
|
+ third_inventor_nationality = #{thirdInventorNationality,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="thirdInventorIsPublish != null" >
|
|
|
+ third_inventor_is_publish = #{thirdInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="author != null" >
|
|
|
+ author = #{author,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="office != null" >
|
|
|
+ office = #{office,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="principal != null" >
|
|
|
+ principal = #{principal,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="authorizedDate != null" >
|
|
|
+ authorized_date = #{authorizedDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="patentDes != null" >
|
|
|
+ patent_des = #{patentDes,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.PatentInfo" >
|
|
|
+ update patent_info
|
|
|
+ set uid = #{uid,jdbcType=VARCHAR},
|
|
|
+ serial_number = #{serialNumber,jdbcType=VARCHAR},
|
|
|
+ patent_number = #{patentNumber,jdbcType=VARCHAR},
|
|
|
+ patent_name = #{patentName,jdbcType=VARCHAR},
|
|
|
+ patent_catagory = #{patentCatagory,jdbcType=INTEGER},
|
|
|
+ patent_state = #{patentState,jdbcType=INTEGER},
|
|
|
+ patent_field = #{patentField,jdbcType=INTEGER},
|
|
|
+ patent_prory_statement_url = #{patentProryStatementUrl,jdbcType=VARCHAR},
|
|
|
+ patent_writing_url = #{patentWritingUrl,jdbcType=VARCHAR},
|
|
|
+ authorization_notice_url = #{authorizationNoticeUrl,jdbcType=VARCHAR},
|
|
|
+ patent_certificate_url = #{patentCertificateUrl,jdbcType=VARCHAR},
|
|
|
+ patent_application_date = #{patentApplicationDate,jdbcType=TIMESTAMP},
|
|
|
+ first_inventor_name = #{firstInventorName,jdbcType=VARCHAR},
|
|
|
+ first_inventor_nationality = #{firstInventorNationality,jdbcType=VARCHAR},
|
|
|
+ first_inventor_id_number = #{firstInventorIdNumber,jdbcType=VARCHAR},
|
|
|
+ first_inventor_is_publish = #{firstInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ second_inventor_name = #{secondInventorName,jdbcType=VARCHAR},
|
|
|
+ second_inventor_nationality = #{secondInventorNationality,jdbcType=VARCHAR},
|
|
|
+ second_inventor_is_publish = #{secondInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ third_inventor_name = #{thirdInventorName,jdbcType=VARCHAR},
|
|
|
+ third_inventor_nationality = #{thirdInventorNationality,jdbcType=VARCHAR},
|
|
|
+ third_inventor_is_publish = #{thirdInventorIsPublish,jdbcType=INTEGER},
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ author = #{author,jdbcType=VARCHAR},
|
|
|
+ office = #{office,jdbcType=VARCHAR},
|
|
|
+ principal = #{principal,jdbcType=VARCHAR},
|
|
|
+ authorized_date = #{authorizedDate,jdbcType=TIMESTAMP},
|
|
|
+ patent_des = #{patentDes,jdbcType=LONGVARCHAR}
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+
|
|
|
+
|
|
|
+ <select id="selectPatentInfoByUserId" parameterType="java.lang.String" resultType="BaseResultMap">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from patent_info
|
|
|
+ where uid = #{uid,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="findClientApplyListByPage" resultMap="BaseResultMap" >
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from patent_info
|
|
|
+ <if test="page_sql!=null">
|
|
|
+ ${page_sql}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="findClentApplyCount" resultType="java.lang.Integer">
|
|
|
+ select count(1)
|
|
|
+ from patent_info
|
|
|
+ </select>
|
|
|
+</mapper>
|