|
|
@@ -0,0 +1,42 @@
|
|
|
+<?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.ydtech.modules.protocol.dao.PtlAgreementMapper">
|
|
|
+
|
|
|
+ <resultMap id="BaseResultMap" type="com.ydtech.modules.protocol.entity.po.PtlAgreement">
|
|
|
+ <id property="id" column="id" jdbcType="INTEGER"/>
|
|
|
+ <result property="agreementType" column="agreement_type" jdbcType="VARCHAR"/>
|
|
|
+ <result property="agreementCode" column="agreement_code" jdbcType="VARCHAR"/>
|
|
|
+ <result property="agreementName" column="agreement_name" jdbcType="VARCHAR"/>
|
|
|
+ <result property="agreementAbbreviation" column="agreement_abbreviation" jdbcType="VARCHAR"/>
|
|
|
+ <result property="insuranceCompany" column="insurance_company" jdbcType="VARCHAR"/>
|
|
|
+ <result property="startDate" column="start_date" jdbcType="DATE"/>
|
|
|
+ <result property="endDate" column="end_date" jdbcType="DATE"/>
|
|
|
+ <result property="moneyTime" column="money_time" jdbcType="INTEGER"/>
|
|
|
+ <result property="matchType" column="match_type" jdbcType="VARCHAR"/>
|
|
|
+ <result property="dockingPerson" column="docking_person" jdbcType="VARCHAR"/>
|
|
|
+ <result property="dockingPhone" column="docking_phone" jdbcType="VARCHAR"/>
|
|
|
+ <result property="withTax" column="with_tax" jdbcType="VARCHAR"/>
|
|
|
+ <result property="moneyType" column="money_type" jdbcType="VARCHAR"/>
|
|
|
+ <result property="cooperationChannels" column="cooperation_channels" jdbcType="VARCHAR"/>
|
|
|
+ <result property="validStatus" column="valid_status" jdbcType="VARCHAR"/>
|
|
|
+ <result property="fileId" column="file_id" jdbcType="VARCHAR"/>
|
|
|
+ <result property="auditStatus" column="audit_status" jdbcType="TINYINT"/>
|
|
|
+ <result property="creator" column="creator" jdbcType="VARCHAR"/>
|
|
|
+ <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="modifiedBy" column="modified_by" jdbcType="VARCHAR"/>
|
|
|
+ <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ id,agreement_type,agreement_code,
|
|
|
+ agreement_name,agreement_abbreviation,insurance_company,
|
|
|
+ start_date,end_date,money_time,
|
|
|
+ match_type,docking_person,docking_phone,
|
|
|
+ with_tax,money_type,cooperation_channels,
|
|
|
+ valid_status,file_id,audit_status,
|
|
|
+ creator,create_time,modified_by,
|
|
|
+ update_time
|
|
|
+ </sql>
|
|
|
+</mapper>
|