PeriodCellTemplateMapper.xml 17.7 KB
Newer Older
1 2 3
<?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.vat.dao.PeriodCellTemplateMapper">
4 5 6 7 8
  <resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.PeriodCellTemplate">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
    <id column="ID" jdbcType="DECIMAL" property="id" />
    <result column="PERIOD" jdbcType="DECIMAL" property="period" />
    <result column="REPORT_TEMPLATE_ID" jdbcType="DECIMAL" property="reportTemplateId" />
    <result column="ROW_INDEX" jdbcType="DECIMAL" property="rowIndex" />
    <result column="ROW_NAME" jdbcType="VARCHAR" property="rowName" />
    <result column="COLUMN_INDEX" jdbcType="DECIMAL" property="columnIndex" />
    <result column="COLUMN_NAME" jdbcType="VARCHAR" property="columnName" />
    <result column="COMMENT" jdbcType="VARCHAR" property="comment" />
    <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
    <result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" />
    <result column="CELL_TEMPLATE_ID" jdbcType="DECIMAL" property="cellTemplateId" />
    <result column="DATA_TYPE" jdbcType="DECIMAL" property="dataType" />
    <result column="IS_READ_ONLY" jdbcType="DECIMAL" property="isReadOnly" />
    <result column="COPY_FROM_ID" jdbcType="DECIMAL" property="copyFromId" />
    <result column="CREATE_BY" jdbcType="VARCHAR" property="createBy" />
    <result column="UPDATE_BY" jdbcType="VARCHAR" property="updateBy" />
neo's avatar
neo committed
25
    <result column="PROJECT_ID" jdbcType="VARCHAR" property="projectId" />
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
  </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>
54
            </foreach>
55
          </trim>
56
        </if>
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
      </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>
89
        </if>
90 91 92 93 94 95 96 97
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
98 99
    ID, PERIOD, REPORT_TEMPLATE_ID, ROW_INDEX, ROW_NAME, COLUMN_INDEX, "COLUMN_NAME", 
    "COMMENT", CREATE_TIME, UPDATE_TIME, CELL_TEMPLATE_ID, DATA_TYPE, IS_READ_ONLY, COPY_FROM_ID, 
neo's avatar
neo committed
100
    CREATE_BY, UPDATE_BY, PROJECT_ID
101 102 103 104 105 106 107 108 109 110 111
  </sql>
  <select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateExample" 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" />
neo's avatar
neo committed
112
    from PERIOD_CELL_TEMPLATE
113 114 115 116 117 118 119 120 121 122 123 124 125 126
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select 
    <include refid="Base_Column_List" />
neo's avatar
neo committed
127 128
    from PERIOD_CELL_TEMPLATE
    where ID = #{id,jdbcType=DECIMAL}
129 130 131 132 133 134
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
135 136
    delete from PERIOD_CELL_TEMPLATE
    where ID = #{id,jdbcType=DECIMAL}
137 138 139 140 141 142
  </delete>
  <delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateExample">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
143
    delete from PERIOD_CELL_TEMPLATE
144 145 146 147 148 149 150 151 152
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplate">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
153 154 155 156 157
    insert into PERIOD_CELL_TEMPLATE (ID, PERIOD, REPORT_TEMPLATE_ID, 
      ROW_INDEX, ROW_NAME, COLUMN_INDEX, 
      "COLUMN_NAME", "COMMENT", CREATE_TIME, 
      UPDATE_TIME, CELL_TEMPLATE_ID, DATA_TYPE, 
      IS_READ_ONLY, COPY_FROM_ID, CREATE_BY, 
neo's avatar
neo committed
158
      UPDATE_BY, PROJECT_ID)
neo's avatar
neo committed
159 160
    values (#{id,jdbcType=DECIMAL}, #{period,jdbcType=DECIMAL}, #{reportTemplateId,jdbcType=DECIMAL}, 
      #{rowIndex,jdbcType=DECIMAL}, #{rowName,jdbcType=VARCHAR}, #{columnIndex,jdbcType=DECIMAL}, 
161
      #{columnName,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
neo's avatar
neo committed
162 163
      #{updateTime,jdbcType=TIMESTAMP}, #{cellTemplateId,jdbcType=DECIMAL}, #{dataType,jdbcType=DECIMAL}, 
      #{isReadOnly,jdbcType=DECIMAL}, #{copyFromId,jdbcType=DECIMAL}, #{createBy,jdbcType=VARCHAR}, 
neo's avatar
neo committed
164
      #{updateBy,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR})
165 166 167 168 169 170
  </insert>
  <insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplate">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
171
    insert into PERIOD_CELL_TEMPLATE
172 173
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
neo's avatar
neo committed
174
        ID,
175 176
      </if>
      <if test="period != null">
neo's avatar
neo committed
177
        PERIOD,
178 179
      </if>
      <if test="reportTemplateId != null">
neo's avatar
neo committed
180
        REPORT_TEMPLATE_ID,
181 182
      </if>
      <if test="rowIndex != null">
neo's avatar
neo committed
183
        ROW_INDEX,
184 185
      </if>
      <if test="rowName != null">
neo's avatar
neo committed
186
        ROW_NAME,
187 188
      </if>
      <if test="columnIndex != null">
neo's avatar
neo committed
189
        COLUMN_INDEX,
190 191
      </if>
      <if test="columnName != null">
neo's avatar
neo committed
192
        "COLUMN_NAME",
193 194
      </if>
      <if test="comment != null">
neo's avatar
neo committed
195
        "COMMENT",
196 197
      </if>
      <if test="createTime != null">
neo's avatar
neo committed
198
        CREATE_TIME,
199 200
      </if>
      <if test="updateTime != null">
neo's avatar
neo committed
201
        UPDATE_TIME,
202 203
      </if>
      <if test="cellTemplateId != null">
neo's avatar
neo committed
204
        CELL_TEMPLATE_ID,
205 206
      </if>
      <if test="dataType != null">
neo's avatar
neo committed
207
        DATA_TYPE,
208 209
      </if>
      <if test="isReadOnly != null">
neo's avatar
neo committed
210
        IS_READ_ONLY,
211 212
      </if>
      <if test="copyFromId != null">
neo's avatar
neo committed
213
        COPY_FROM_ID,
214 215
      </if>
      <if test="createBy != null">
neo's avatar
neo committed
216
        CREATE_BY,
217 218
      </if>
      <if test="updateBy != null">
neo's avatar
neo committed
219
        UPDATE_BY,
220
      </if>
neo's avatar
neo committed
221 222 223
      <if test="projectId != null">
        PROJECT_ID,
      </if>
224 225 226
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
neo's avatar
neo committed
227
        #{id,jdbcType=DECIMAL},
228 229
      </if>
      <if test="period != null">
neo's avatar
neo committed
230
        #{period,jdbcType=DECIMAL},
231 232
      </if>
      <if test="reportTemplateId != null">
neo's avatar
neo committed
233
        #{reportTemplateId,jdbcType=DECIMAL},
234 235
      </if>
      <if test="rowIndex != null">
neo's avatar
neo committed
236
        #{rowIndex,jdbcType=DECIMAL},
237 238 239 240 241
      </if>
      <if test="rowName != null">
        #{rowName,jdbcType=VARCHAR},
      </if>
      <if test="columnIndex != null">
neo's avatar
neo committed
242
        #{columnIndex,jdbcType=DECIMAL},
243 244 245 246 247 248 249 250 251 252 253 254 255 256
      </if>
      <if test="columnName != null">
        #{columnName,jdbcType=VARCHAR},
      </if>
      <if test="comment != null">
        #{comment,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null">
        #{createTime,jdbcType=TIMESTAMP},
      </if>
      <if test="updateTime != null">
        #{updateTime,jdbcType=TIMESTAMP},
      </if>
      <if test="cellTemplateId != null">
neo's avatar
neo committed
257
        #{cellTemplateId,jdbcType=DECIMAL},
258 259
      </if>
      <if test="dataType != null">
neo's avatar
neo committed
260
        #{dataType,jdbcType=DECIMAL},
261 262
      </if>
      <if test="isReadOnly != null">
neo's avatar
neo committed
263
        #{isReadOnly,jdbcType=DECIMAL},
264 265
      </if>
      <if test="copyFromId != null">
neo's avatar
neo committed
266
        #{copyFromId,jdbcType=DECIMAL},
267 268 269 270 271 272 273
      </if>
      <if test="createBy != null">
        #{createBy,jdbcType=VARCHAR},
      </if>
      <if test="updateBy != null">
        #{updateBy,jdbcType=VARCHAR},
      </if>
neo's avatar
neo committed
274 275 276
      <if test="projectId != null">
        #{projectId,jdbcType=VARCHAR},
      </if>
277 278 279 280 281 282 283
    </trim>
  </insert>
  <select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateExample" resultType="java.lang.Long">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
284
    select count(*) from PERIOD_CELL_TEMPLATE
285 286 287 288 289 290 291 292 293
    <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.
    -->
neo's avatar
neo committed
294
    update PERIOD_CELL_TEMPLATE
295 296
    <set>
      <if test="record.id != null">
neo's avatar
neo committed
297
        ID = #{record.id,jdbcType=DECIMAL},
298 299
      </if>
      <if test="record.period != null">
neo's avatar
neo committed
300
        PERIOD = #{record.period,jdbcType=DECIMAL},
301 302
      </if>
      <if test="record.reportTemplateId != null">
neo's avatar
neo committed
303
        REPORT_TEMPLATE_ID = #{record.reportTemplateId,jdbcType=DECIMAL},
304 305
      </if>
      <if test="record.rowIndex != null">
neo's avatar
neo committed
306
        ROW_INDEX = #{record.rowIndex,jdbcType=DECIMAL},
307 308
      </if>
      <if test="record.rowName != null">
neo's avatar
neo committed
309
        ROW_NAME = #{record.rowName,jdbcType=VARCHAR},
310 311
      </if>
      <if test="record.columnIndex != null">
neo's avatar
neo committed
312
        COLUMN_INDEX = #{record.columnIndex,jdbcType=DECIMAL},
313 314
      </if>
      <if test="record.columnName != null">
neo's avatar
neo committed
315
        "COLUMN_NAME" = #{record.columnName,jdbcType=VARCHAR},
316 317
      </if>
      <if test="record.comment != null">
neo's avatar
neo committed
318
        "COMMENT" = #{record.comment,jdbcType=VARCHAR},
319 320
      </if>
      <if test="record.createTime != null">
neo's avatar
neo committed
321
        CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
322 323
      </if>
      <if test="record.updateTime != null">
neo's avatar
neo committed
324
        UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP},
325 326
      </if>
      <if test="record.cellTemplateId != null">
neo's avatar
neo committed
327
        CELL_TEMPLATE_ID = #{record.cellTemplateId,jdbcType=DECIMAL},
328 329
      </if>
      <if test="record.dataType != null">
neo's avatar
neo committed
330
        DATA_TYPE = #{record.dataType,jdbcType=DECIMAL},
331 332
      </if>
      <if test="record.isReadOnly != null">
neo's avatar
neo committed
333
        IS_READ_ONLY = #{record.isReadOnly,jdbcType=DECIMAL},
334 335
      </if>
      <if test="record.copyFromId != null">
neo's avatar
neo committed
336
        COPY_FROM_ID = #{record.copyFromId,jdbcType=DECIMAL},
337 338
      </if>
      <if test="record.createBy != null">
neo's avatar
neo committed
339
        CREATE_BY = #{record.createBy,jdbcType=VARCHAR},
340 341
      </if>
      <if test="record.updateBy != null">
neo's avatar
neo committed
342
        UPDATE_BY = #{record.updateBy,jdbcType=VARCHAR},
343
      </if>
neo's avatar
neo committed
344 345 346
      <if test="record.projectId != null">
        PROJECT_ID = #{record.projectId,jdbcType=VARCHAR},
      </if>
347 348 349 350 351 352 353 354 355 356
    </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.
    -->
neo's avatar
neo committed
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
    update PERIOD_CELL_TEMPLATE
    set ID = #{record.id,jdbcType=DECIMAL},
      PERIOD = #{record.period,jdbcType=DECIMAL},
      REPORT_TEMPLATE_ID = #{record.reportTemplateId,jdbcType=DECIMAL},
      ROW_INDEX = #{record.rowIndex,jdbcType=DECIMAL},
      ROW_NAME = #{record.rowName,jdbcType=VARCHAR},
      COLUMN_INDEX = #{record.columnIndex,jdbcType=DECIMAL},
      "COLUMN_NAME" = #{record.columnName,jdbcType=VARCHAR},
      "COMMENT" = #{record.comment,jdbcType=VARCHAR},
      CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
      UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP},
      CELL_TEMPLATE_ID = #{record.cellTemplateId,jdbcType=DECIMAL},
      DATA_TYPE = #{record.dataType,jdbcType=DECIMAL},
      IS_READ_ONLY = #{record.isReadOnly,jdbcType=DECIMAL},
      COPY_FROM_ID = #{record.copyFromId,jdbcType=DECIMAL},
      CREATE_BY = #{record.createBy,jdbcType=VARCHAR},
neo's avatar
neo committed
373 374
      UPDATE_BY = #{record.updateBy,jdbcType=VARCHAR},
      PROJECT_ID = #{record.projectId,jdbcType=VARCHAR}
375 376 377 378 379 380 381 382 383
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplate">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
384
    update PERIOD_CELL_TEMPLATE
385 386
    <set>
      <if test="period != null">
neo's avatar
neo committed
387
        PERIOD = #{period,jdbcType=DECIMAL},
388 389
      </if>
      <if test="reportTemplateId != null">
neo's avatar
neo committed
390
        REPORT_TEMPLATE_ID = #{reportTemplateId,jdbcType=DECIMAL},
391 392
      </if>
      <if test="rowIndex != null">
neo's avatar
neo committed
393
        ROW_INDEX = #{rowIndex,jdbcType=DECIMAL},
394 395
      </if>
      <if test="rowName != null">
neo's avatar
neo committed
396
        ROW_NAME = #{rowName,jdbcType=VARCHAR},
397 398
      </if>
      <if test="columnIndex != null">
neo's avatar
neo committed
399
        COLUMN_INDEX = #{columnIndex,jdbcType=DECIMAL},
400 401
      </if>
      <if test="columnName != null">
neo's avatar
neo committed
402
        "COLUMN_NAME" = #{columnName,jdbcType=VARCHAR},
403 404
      </if>
      <if test="comment != null">
neo's avatar
neo committed
405
        "COMMENT" = #{comment,jdbcType=VARCHAR},
406 407
      </if>
      <if test="createTime != null">
neo's avatar
neo committed
408
        CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
409 410
      </if>
      <if test="updateTime != null">
neo's avatar
neo committed
411
        UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
412 413
      </if>
      <if test="cellTemplateId != null">
neo's avatar
neo committed
414
        CELL_TEMPLATE_ID = #{cellTemplateId,jdbcType=DECIMAL},
415 416
      </if>
      <if test="dataType != null">
neo's avatar
neo committed
417
        DATA_TYPE = #{dataType,jdbcType=DECIMAL},
418 419
      </if>
      <if test="isReadOnly != null">
neo's avatar
neo committed
420
        IS_READ_ONLY = #{isReadOnly,jdbcType=DECIMAL},
421 422
      </if>
      <if test="copyFromId != null">
neo's avatar
neo committed
423
        COPY_FROM_ID = #{copyFromId,jdbcType=DECIMAL},
424 425
      </if>
      <if test="createBy != null">
neo's avatar
neo committed
426
        CREATE_BY = #{createBy,jdbcType=VARCHAR},
427 428
      </if>
      <if test="updateBy != null">
neo's avatar
neo committed
429
        UPDATE_BY = #{updateBy,jdbcType=VARCHAR},
430
      </if>
neo's avatar
neo committed
431 432 433
      <if test="projectId != null">
        PROJECT_ID = #{projectId,jdbcType=VARCHAR},
      </if>
434
    </set>
neo's avatar
neo committed
435
    where ID = #{id,jdbcType=DECIMAL}
436 437 438 439 440 441
  </update>
  <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplate">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456
    update PERIOD_CELL_TEMPLATE
    set PERIOD = #{period,jdbcType=DECIMAL},
      REPORT_TEMPLATE_ID = #{reportTemplateId,jdbcType=DECIMAL},
      ROW_INDEX = #{rowIndex,jdbcType=DECIMAL},
      ROW_NAME = #{rowName,jdbcType=VARCHAR},
      COLUMN_INDEX = #{columnIndex,jdbcType=DECIMAL},
      "COLUMN_NAME" = #{columnName,jdbcType=VARCHAR},
      "COMMENT" = #{comment,jdbcType=VARCHAR},
      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
      CELL_TEMPLATE_ID = #{cellTemplateId,jdbcType=DECIMAL},
      DATA_TYPE = #{dataType,jdbcType=DECIMAL},
      IS_READ_ONLY = #{isReadOnly,jdbcType=DECIMAL},
      COPY_FROM_ID = #{copyFromId,jdbcType=DECIMAL},
      CREATE_BY = #{createBy,jdbcType=VARCHAR},
neo's avatar
neo committed
457 458
      UPDATE_BY = #{updateBy,jdbcType=VARCHAR},
      PROJECT_ID = #{projectId,jdbcType=VARCHAR}
neo's avatar
neo committed
459
    where ID = #{id,jdbcType=DECIMAL}
460 461 462 463 464 465 466 467 468 469 470
  </update>
  <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateExample" 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" />
neo's avatar
neo committed
471
    from PERIOD_CELL_TEMPLATE
472 473 474 475 476 477 478
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
479
</mapper>