EquityInformationMapper.xml 20.1 KB
Newer Older
gary's avatar
gary committed
1 2 3 4 5 6 7 8 9 10 11
<?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="pwc.taxtech.atms.dao.EquityInformationMapper">
  <resultMap id="BaseResultMap" type="pwc.taxtech.atms.entity.EquityInformation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <id column="id" jdbcType="BIGINT" property="id" />
    <id column="e_num" jdbcType="INTEGER" property="eNum" />
    <result column="organization_id" jdbcType="VARCHAR" property="organizationId" />
gary's avatar
gary committed
12 13 14 15 16 17 18 19 20 21 22 23
    <result column="investor_name" jdbcType="VARCHAR" property="investorName" />
    <result column="investor_economic_nature" jdbcType="VARCHAR" property="investorEconomicNature" />
    <result column="certificate_type" jdbcType="VARCHAR" property="certificateType" />
    <result column="id_num" jdbcType="VARCHAR" property="idNum" />
    <result column="investment_amount" jdbcType="BIGINT" property="investmentAmount" />
    <result column="investment_currency" jdbcType="VARCHAR" property="investmentCurrency" />
    <result column="investment_radio" jdbcType="REAL" property="investmentRadio" />
    <result column="payable_shareholder_name" jdbcType="VARCHAR" property="payableShareholderName" />
    <result column="payable_shareholder_id_num" jdbcType="VARCHAR" property="payableShareholderIdNum" />
    <result column="payable_capital_contribution_amount" jdbcType="BIGINT" property="payableCapitalContributionAmount" />
    <result column="payable_capital_contribution_currency" jdbcType="VARCHAR" property="payableCapitalContributionCurrency" />
    <result column="payable_contribution_proportion" jdbcType="REAL" property="payableContributionProportion" />
gary's avatar
gary committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
  </resultMap>
  <sql id="Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <where>
      <foreach collection="oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <where>
      <foreach collection="example.oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
gary's avatar
gary committed
98 99 100 101
    id, e_num, organization_id, investor_name, investor_economic_nature, certificate_type, 
    id_num, investment_amount, investment_currency, investment_radio, payable_shareholder_name, 
    payable_shareholder_id_num, payable_capital_contribution_amount, payable_capital_contribution_currency, 
    payable_contribution_proportion, create_time, update_time
gary's avatar
gary committed
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
  </sql>
  <select id="selectByExample" parameterType="pwc.taxtech.atms.entity.EquityInformationExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from equity_information
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" parameterType="pwc.taxtech.atms.entity.EquityInformationKey" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select 
    <include refid="Base_Column_List" />
    from equity_information
    where id = #{id,jdbcType=BIGINT}
      and e_num = #{eNum,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="pwc.taxtech.atms.entity.EquityInformationKey">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from equity_information
    where id = #{id,jdbcType=BIGINT}
      and e_num = #{eNum,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.EquityInformationExample">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from equity_information
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="pwc.taxtech.atms.entity.EquityInformation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into equity_information (id, e_num, organization_id, 
gary's avatar
gary committed
157 158 159 160 161
      investor_name, investor_economic_nature, certificate_type, 
      id_num, investment_amount, investment_currency, 
      investment_radio, payable_shareholder_name, payable_shareholder_id_num, 
      payable_capital_contribution_amount, payable_capital_contribution_currency, 
      payable_contribution_proportion, create_time, 
gary's avatar
gary committed
162 163
      update_time)
    values (#{id,jdbcType=BIGINT}, #{eNum,jdbcType=INTEGER}, #{organizationId,jdbcType=VARCHAR}, 
gary's avatar
gary committed
164 165 166 167 168
      #{investorName,jdbcType=VARCHAR}, #{investorEconomicNature,jdbcType=VARCHAR}, #{certificateType,jdbcType=VARCHAR}, 
      #{idNum,jdbcType=VARCHAR}, #{investmentAmount,jdbcType=BIGINT}, #{investmentCurrency,jdbcType=VARCHAR}, 
      #{investmentRadio,jdbcType=REAL}, #{payableShareholderName,jdbcType=VARCHAR}, #{payableShareholderIdNum,jdbcType=VARCHAR}, 
      #{payableCapitalContributionAmount,jdbcType=BIGINT}, #{payableCapitalContributionCurrency,jdbcType=VARCHAR}, 
      #{payableContributionProportion,jdbcType=REAL}, #{createTime,jdbcType=TIMESTAMP}, 
gary's avatar
gary committed
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
      #{updateTime,jdbcType=TIMESTAMP})
  </insert>
  <insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.EquityInformation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into equity_information
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="eNum != null">
        e_num,
      </if>
      <if test="organizationId != null">
        organization_id,
      </if>
gary's avatar
gary committed
187 188
      <if test="investorName != null">
        investor_name,
gary's avatar
gary committed
189
      </if>
gary's avatar
gary committed
190 191
      <if test="investorEconomicNature != null">
        investor_economic_nature,
gary's avatar
gary committed
192
      </if>
gary's avatar
gary committed
193 194
      <if test="certificateType != null">
        certificate_type,
gary's avatar
gary committed
195
      </if>
gary's avatar
gary committed
196 197
      <if test="idNum != null">
        id_num,
gary's avatar
gary committed
198
      </if>
gary's avatar
gary committed
199 200
      <if test="investmentAmount != null">
        investment_amount,
gary's avatar
gary committed
201
      </if>
gary's avatar
gary committed
202 203
      <if test="investmentCurrency != null">
        investment_currency,
gary's avatar
gary committed
204
      </if>
gary's avatar
gary committed
205 206
      <if test="investmentRadio != null">
        investment_radio,
gary's avatar
gary committed
207
      </if>
gary's avatar
gary committed
208 209
      <if test="payableShareholderName != null">
        payable_shareholder_name,
gary's avatar
gary committed
210
      </if>
gary's avatar
gary committed
211 212
      <if test="payableShareholderIdNum != null">
        payable_shareholder_id_num,
gary's avatar
gary committed
213
      </if>
gary's avatar
gary committed
214 215
      <if test="payableCapitalContributionAmount != null">
        payable_capital_contribution_amount,
gary's avatar
gary committed
216
      </if>
gary's avatar
gary committed
217 218 219 220 221
      <if test="payableCapitalContributionCurrency != null">
        payable_capital_contribution_currency,
      </if>
      <if test="payableContributionProportion != null">
        payable_contribution_proportion,
gary's avatar
gary committed
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
      </if>
      <if test="createTime != null">
        create_time,
      </if>
      <if test="updateTime != null">
        update_time,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=BIGINT},
      </if>
      <if test="eNum != null">
        #{eNum,jdbcType=INTEGER},
      </if>
      <if test="organizationId != null">
        #{organizationId,jdbcType=VARCHAR},
      </if>
gary's avatar
gary committed
240 241 242 243 244
      <if test="investorName != null">
        #{investorName,jdbcType=VARCHAR},
      </if>
      <if test="investorEconomicNature != null">
        #{investorEconomicNature,jdbcType=VARCHAR},
gary's avatar
gary committed
245
      </if>
gary's avatar
gary committed
246 247
      <if test="certificateType != null">
        #{certificateType,jdbcType=VARCHAR},
gary's avatar
gary committed
248
      </if>
gary's avatar
gary committed
249 250
      <if test="idNum != null">
        #{idNum,jdbcType=VARCHAR},
gary's avatar
gary committed
251
      </if>
gary's avatar
gary committed
252 253
      <if test="investmentAmount != null">
        #{investmentAmount,jdbcType=BIGINT},
gary's avatar
gary committed
254
      </if>
gary's avatar
gary committed
255 256
      <if test="investmentCurrency != null">
        #{investmentCurrency,jdbcType=VARCHAR},
gary's avatar
gary committed
257
      </if>
gary's avatar
gary committed
258 259
      <if test="investmentRadio != null">
        #{investmentRadio,jdbcType=REAL},
gary's avatar
gary committed
260
      </if>
gary's avatar
gary committed
261 262
      <if test="payableShareholderName != null">
        #{payableShareholderName,jdbcType=VARCHAR},
gary's avatar
gary committed
263
      </if>
gary's avatar
gary committed
264 265
      <if test="payableShareholderIdNum != null">
        #{payableShareholderIdNum,jdbcType=VARCHAR},
gary's avatar
gary committed
266
      </if>
gary's avatar
gary committed
267 268
      <if test="payableCapitalContributionAmount != null">
        #{payableCapitalContributionAmount,jdbcType=BIGINT},
gary's avatar
gary committed
269
      </if>
gary's avatar
gary committed
270 271
      <if test="payableCapitalContributionCurrency != null">
        #{payableCapitalContributionCurrency,jdbcType=VARCHAR},
gary's avatar
gary committed
272
      </if>
gary's avatar
gary committed
273 274
      <if test="payableContributionProportion != null">
        #{payableContributionProportion,jdbcType=REAL},
gary's avatar
gary committed
275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
      </if>
      <if test="createTime != null">
        #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="updateTime != null">
        #{updateTime,jdbcType=TIMESTAMP},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="pwc.taxtech.atms.entity.EquityInformationExample" resultType="java.lang.Long">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select count(*) from equity_information
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update equity_information
    <set>
      <if test="record.id != null">
        id = #{record.id,jdbcType=BIGINT},
      </if>
      <if test="record.eNum != null">
        e_num = #{record.eNum,jdbcType=INTEGER},
      </if>
      <if test="record.organizationId != null">
        organization_id = #{record.organizationId,jdbcType=VARCHAR},
      </if>
gary's avatar
gary committed
310 311
      <if test="record.investorName != null">
        investor_name = #{record.investorName,jdbcType=VARCHAR},
gary's avatar
gary committed
312
      </if>
gary's avatar
gary committed
313 314
      <if test="record.investorEconomicNature != null">
        investor_economic_nature = #{record.investorEconomicNature,jdbcType=VARCHAR},
gary's avatar
gary committed
315
      </if>
gary's avatar
gary committed
316 317
      <if test="record.certificateType != null">
        certificate_type = #{record.certificateType,jdbcType=VARCHAR},
gary's avatar
gary committed
318
      </if>
gary's avatar
gary committed
319 320
      <if test="record.idNum != null">
        id_num = #{record.idNum,jdbcType=VARCHAR},
gary's avatar
gary committed
321
      </if>
gary's avatar
gary committed
322 323
      <if test="record.investmentAmount != null">
        investment_amount = #{record.investmentAmount,jdbcType=BIGINT},
gary's avatar
gary committed
324
      </if>
gary's avatar
gary committed
325 326
      <if test="record.investmentCurrency != null">
        investment_currency = #{record.investmentCurrency,jdbcType=VARCHAR},
gary's avatar
gary committed
327
      </if>
gary's avatar
gary committed
328 329
      <if test="record.investmentRadio != null">
        investment_radio = #{record.investmentRadio,jdbcType=REAL},
gary's avatar
gary committed
330
      </if>
gary's avatar
gary committed
331 332
      <if test="record.payableShareholderName != null">
        payable_shareholder_name = #{record.payableShareholderName,jdbcType=VARCHAR},
gary's avatar
gary committed
333
      </if>
gary's avatar
gary committed
334 335
      <if test="record.payableShareholderIdNum != null">
        payable_shareholder_id_num = #{record.payableShareholderIdNum,jdbcType=VARCHAR},
gary's avatar
gary committed
336
      </if>
gary's avatar
gary committed
337 338
      <if test="record.payableCapitalContributionAmount != null">
        payable_capital_contribution_amount = #{record.payableCapitalContributionAmount,jdbcType=BIGINT},
gary's avatar
gary committed
339
      </if>
gary's avatar
gary committed
340 341 342 343 344
      <if test="record.payableCapitalContributionCurrency != null">
        payable_capital_contribution_currency = #{record.payableCapitalContributionCurrency,jdbcType=VARCHAR},
      </if>
      <if test="record.payableContributionProportion != null">
        payable_contribution_proportion = #{record.payableContributionProportion,jdbcType=REAL},
gary's avatar
gary committed
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365
      </if>
      <if test="record.createTime != null">
        create_time = #{record.createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.updateTime != null">
        update_time = #{record.updateTime,jdbcType=TIMESTAMP},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update equity_information
    set id = #{record.id,jdbcType=BIGINT},
      e_num = #{record.eNum,jdbcType=INTEGER},
      organization_id = #{record.organizationId,jdbcType=VARCHAR},
gary's avatar
gary committed
366 367 368 369 370 371 372 373 374 375 376 377
      investor_name = #{record.investorName,jdbcType=VARCHAR},
      investor_economic_nature = #{record.investorEconomicNature,jdbcType=VARCHAR},
      certificate_type = #{record.certificateType,jdbcType=VARCHAR},
      id_num = #{record.idNum,jdbcType=VARCHAR},
      investment_amount = #{record.investmentAmount,jdbcType=BIGINT},
      investment_currency = #{record.investmentCurrency,jdbcType=VARCHAR},
      investment_radio = #{record.investmentRadio,jdbcType=REAL},
      payable_shareholder_name = #{record.payableShareholderName,jdbcType=VARCHAR},
      payable_shareholder_id_num = #{record.payableShareholderIdNum,jdbcType=VARCHAR},
      payable_capital_contribution_amount = #{record.payableCapitalContributionAmount,jdbcType=BIGINT},
      payable_capital_contribution_currency = #{record.payableCapitalContributionCurrency,jdbcType=VARCHAR},
      payable_contribution_proportion = #{record.payableContributionProportion,jdbcType=REAL},
gary's avatar
gary committed
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393
      create_time = #{record.createTime,jdbcType=TIMESTAMP},
      update_time = #{record.updateTime,jdbcType=TIMESTAMP}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.entity.EquityInformation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update equity_information
    <set>
      <if test="organizationId != null">
        organization_id = #{organizationId,jdbcType=VARCHAR},
      </if>
gary's avatar
gary committed
394 395 396 397 398
      <if test="investorName != null">
        investor_name = #{investorName,jdbcType=VARCHAR},
      </if>
      <if test="investorEconomicNature != null">
        investor_economic_nature = #{investorEconomicNature,jdbcType=VARCHAR},
gary's avatar
gary committed
399
      </if>
gary's avatar
gary committed
400 401
      <if test="certificateType != null">
        certificate_type = #{certificateType,jdbcType=VARCHAR},
gary's avatar
gary committed
402
      </if>
gary's avatar
gary committed
403 404
      <if test="idNum != null">
        id_num = #{idNum,jdbcType=VARCHAR},
gary's avatar
gary committed
405
      </if>
gary's avatar
gary committed
406 407
      <if test="investmentAmount != null">
        investment_amount = #{investmentAmount,jdbcType=BIGINT},
gary's avatar
gary committed
408
      </if>
gary's avatar
gary committed
409 410
      <if test="investmentCurrency != null">
        investment_currency = #{investmentCurrency,jdbcType=VARCHAR},
gary's avatar
gary committed
411
      </if>
gary's avatar
gary committed
412 413
      <if test="investmentRadio != null">
        investment_radio = #{investmentRadio,jdbcType=REAL},
gary's avatar
gary committed
414
      </if>
gary's avatar
gary committed
415 416
      <if test="payableShareholderName != null">
        payable_shareholder_name = #{payableShareholderName,jdbcType=VARCHAR},
gary's avatar
gary committed
417
      </if>
gary's avatar
gary committed
418 419
      <if test="payableShareholderIdNum != null">
        payable_shareholder_id_num = #{payableShareholderIdNum,jdbcType=VARCHAR},
gary's avatar
gary committed
420
      </if>
gary's avatar
gary committed
421 422
      <if test="payableCapitalContributionAmount != null">
        payable_capital_contribution_amount = #{payableCapitalContributionAmount,jdbcType=BIGINT},
gary's avatar
gary committed
423
      </if>
gary's avatar
gary committed
424 425
      <if test="payableCapitalContributionCurrency != null">
        payable_capital_contribution_currency = #{payableCapitalContributionCurrency,jdbcType=VARCHAR},
gary's avatar
gary committed
426
      </if>
gary's avatar
gary committed
427 428
      <if test="payableContributionProportion != null">
        payable_contribution_proportion = #{payableContributionProportion,jdbcType=REAL},
gary's avatar
gary committed
429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446
      </if>
      <if test="createTime != null">
        create_time = #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="updateTime != null">
        update_time = #{updateTime,jdbcType=TIMESTAMP},
      </if>
    </set>
    where id = #{id,jdbcType=BIGINT}
      and e_num = #{eNum,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.EquityInformation">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update equity_information
    set organization_id = #{organizationId,jdbcType=VARCHAR},
gary's avatar
gary committed
447 448 449 450 451 452 453 454 455 456 457 458
      investor_name = #{investorName,jdbcType=VARCHAR},
      investor_economic_nature = #{investorEconomicNature,jdbcType=VARCHAR},
      certificate_type = #{certificateType,jdbcType=VARCHAR},
      id_num = #{idNum,jdbcType=VARCHAR},
      investment_amount = #{investmentAmount,jdbcType=BIGINT},
      investment_currency = #{investmentCurrency,jdbcType=VARCHAR},
      investment_radio = #{investmentRadio,jdbcType=REAL},
      payable_shareholder_name = #{payableShareholderName,jdbcType=VARCHAR},
      payable_shareholder_id_num = #{payableShareholderIdNum,jdbcType=VARCHAR},
      payable_capital_contribution_amount = #{payableCapitalContributionAmount,jdbcType=BIGINT},
      payable_capital_contribution_currency = #{payableCapitalContributionCurrency,jdbcType=VARCHAR},
      payable_contribution_proportion = #{payableContributionProportion,jdbcType=REAL},
gary's avatar
gary committed
459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482
      create_time = #{createTime,jdbcType=TIMESTAMP},
      update_time = #{updateTime,jdbcType=TIMESTAMP}
    where id = #{id,jdbcType=BIGINT}
      and e_num = #{eNum,jdbcType=INTEGER}
  </update>
  <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.EquityInformationExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from equity_information
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
</mapper>