<?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.PeriodCellTemplateConfigMapper"> <resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfig"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> <id column="id" jdbcType="BIGINT" property="id" /> <result column="period" jdbcType="INTEGER" property="period" /> <result column="cell_template_id" jdbcType="VARCHAR" property="cellTemplateId" /> <result column="report_template_id" jdbcType="VARCHAR" property="reportTemplateId" /> <result column="data_source_type" jdbcType="INTEGER" property="dataSourceType" /> <result column="formula" jdbcType="VARCHAR" property="formula" /> <result column="parsed_formula" jdbcType="VARCHAR" property="parsedFormula" /> <result column="account_codes" jdbcType="VARCHAR" property="accountCodes" /> <result column="invoice_type" jdbcType="INTEGER" property="invoiceType" /> <result column="tax_rate" jdbcType="VARCHAR" property="taxRate" /> <result column="invoice_amount_type" jdbcType="INTEGER" property="invoiceAmountType" /> <result column="model_ids" jdbcType="VARCHAR" property="modelIds" /> <result column="create_by" jdbcType="VARCHAR" property="createBy" /> <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> <result column="update_by" jdbcType="VARCHAR" property="updateBy" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="invoice_category" jdbcType="VARCHAR" property="invoiceCategory" /> <result column="formula_data_source" jdbcType="VARCHAR" property="formulaDataSource" /> <result column="validation" jdbcType="VARCHAR" property="validation" /> <result column="parsed_validation" jdbcType="VARCHAR" property="parsedValidation" /> <result column="validation_description" jdbcType="VARCHAR" property="validationDescription" /> <result column="voucher_keyword" jdbcType="VARCHAR" property="voucherKeyword" /> </resultMap> <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfig"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> <result column="formula_description" jdbcType="VARBINARY" property="formulaDescription" /> </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. --> id, period, cell_template_id, report_template_id, data_source_type, formula, parsed_formula, account_codes, invoice_type, tax_rate, invoice_amount_type, model_ids, create_by, create_time, update_by, update_time, invoice_category, formula_data_source, validation, parsed_validation, validation_description, voucher_keyword </sql> <sql id="Blob_Column_List"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> formula_description </sql> <select id="selectByExampleWithBLOBs" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfigExample" resultMap="ResultMapWithBLOBs"> <!-- 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" /> , <include refid="Blob_Column_List" /> from period_cell_template_config <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> <select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfigExample" 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 period_cell_template_config <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="ResultMapWithBLOBs"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> select <include refid="Base_Column_List" /> , <include refid="Blob_Column_List" /> from period_cell_template_config where id = #{id,jdbcType=BIGINT} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> delete from period_cell_template_config where id = #{id,jdbcType=BIGINT} </delete> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfigExample"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> delete from period_cell_template_config <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </delete> <insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfig"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> insert into period_cell_template_config (id, period, cell_template_id, report_template_id, data_source_type, formula, parsed_formula, account_codes, invoice_type, tax_rate, invoice_amount_type, model_ids, create_by, create_time, update_by, update_time, invoice_category, formula_data_source, validation, parsed_validation, validation_description, voucher_keyword, formula_description) values (#{id,jdbcType=BIGINT}, #{period,jdbcType=INTEGER}, #{cellTemplateId,jdbcType=VARCHAR}, #{reportTemplateId,jdbcType=VARCHAR}, #{dataSourceType,jdbcType=INTEGER}, #{formula,jdbcType=VARCHAR}, #{parsedFormula,jdbcType=VARCHAR}, #{accountCodes,jdbcType=VARCHAR}, #{invoiceType,jdbcType=INTEGER}, #{taxRate,jdbcType=VARCHAR}, #{invoiceAmountType,jdbcType=INTEGER}, #{modelIds,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{invoiceCategory,jdbcType=VARCHAR}, #{formulaDataSource,jdbcType=VARCHAR}, #{validation,jdbcType=VARCHAR}, #{parsedValidation,jdbcType=VARCHAR}, #{validationDescription,jdbcType=VARCHAR}, #{voucherKeyword,jdbcType=VARCHAR}, #{formulaDescription,jdbcType=VARBINARY}) </insert> <insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfig"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> insert into period_cell_template_config <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> id, </if> <if test="period != null"> period, </if> <if test="cellTemplateId != null"> cell_template_id, </if> <if test="reportTemplateId != null"> report_template_id, </if> <if test="dataSourceType != null"> data_source_type, </if> <if test="formula != null"> formula, </if> <if test="parsedFormula != null"> parsed_formula, </if> <if test="accountCodes != null"> account_codes, </if> <if test="invoiceType != null"> invoice_type, </if> <if test="taxRate != null"> tax_rate, </if> <if test="invoiceAmountType != null"> invoice_amount_type, </if> <if test="modelIds != null"> model_ids, </if> <if test="createBy != null"> create_by, </if> <if test="createTime != null"> create_time, </if> <if test="updateBy != null"> update_by, </if> <if test="updateTime != null"> update_time, </if> <if test="invoiceCategory != null"> invoice_category, </if> <if test="formulaDataSource != null"> formula_data_source, </if> <if test="validation != null"> validation, </if> <if test="parsedValidation != null"> parsed_validation, </if> <if test="validationDescription != null"> validation_description, </if> <if test="voucherKeyword != null"> voucher_keyword, </if> <if test="formulaDescription != null"> formula_description, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=BIGINT}, </if> <if test="period != null"> #{period,jdbcType=INTEGER}, </if> <if test="cellTemplateId != null"> #{cellTemplateId,jdbcType=VARCHAR}, </if> <if test="reportTemplateId != null"> #{reportTemplateId,jdbcType=VARCHAR}, </if> <if test="dataSourceType != null"> #{dataSourceType,jdbcType=INTEGER}, </if> <if test="formula != null"> #{formula,jdbcType=VARCHAR}, </if> <if test="parsedFormula != null"> #{parsedFormula,jdbcType=VARCHAR}, </if> <if test="accountCodes != null"> #{accountCodes,jdbcType=VARCHAR}, </if> <if test="invoiceType != null"> #{invoiceType,jdbcType=INTEGER}, </if> <if test="taxRate != null"> #{taxRate,jdbcType=VARCHAR}, </if> <if test="invoiceAmountType != null"> #{invoiceAmountType,jdbcType=INTEGER}, </if> <if test="modelIds != null"> #{modelIds,jdbcType=VARCHAR}, </if> <if test="createBy != null"> #{createBy,jdbcType=VARCHAR}, </if> <if test="createTime != null"> #{createTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> #{updateBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="invoiceCategory != null"> #{invoiceCategory,jdbcType=VARCHAR}, </if> <if test="formulaDataSource != null"> #{formulaDataSource,jdbcType=VARCHAR}, </if> <if test="validation != null"> #{validation,jdbcType=VARCHAR}, </if> <if test="parsedValidation != null"> #{parsedValidation,jdbcType=VARCHAR}, </if> <if test="validationDescription != null"> #{validationDescription,jdbcType=VARCHAR}, </if> <if test="voucherKeyword != null"> #{voucherKeyword,jdbcType=VARCHAR}, </if> <if test="formulaDescription != null"> #{formulaDescription,jdbcType=VARBINARY}, </if> </trim> </insert> <select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfigExample" resultType="java.lang.Long"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> select count(*) from period_cell_template_config <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 period_cell_template_config <set> <if test="record.id != null"> id = #{record.id,jdbcType=BIGINT}, </if> <if test="record.period != null"> period = #{record.period,jdbcType=INTEGER}, </if> <if test="record.cellTemplateId != null"> cell_template_id = #{record.cellTemplateId,jdbcType=VARCHAR}, </if> <if test="record.reportTemplateId != null"> report_template_id = #{record.reportTemplateId,jdbcType=VARCHAR}, </if> <if test="record.dataSourceType != null"> data_source_type = #{record.dataSourceType,jdbcType=INTEGER}, </if> <if test="record.formula != null"> formula = #{record.formula,jdbcType=VARCHAR}, </if> <if test="record.parsedFormula != null"> parsed_formula = #{record.parsedFormula,jdbcType=VARCHAR}, </if> <if test="record.accountCodes != null"> account_codes = #{record.accountCodes,jdbcType=VARCHAR}, </if> <if test="record.invoiceType != null"> invoice_type = #{record.invoiceType,jdbcType=INTEGER}, </if> <if test="record.taxRate != null"> tax_rate = #{record.taxRate,jdbcType=VARCHAR}, </if> <if test="record.invoiceAmountType != null"> invoice_amount_type = #{record.invoiceAmountType,jdbcType=INTEGER}, </if> <if test="record.modelIds != null"> model_ids = #{record.modelIds,jdbcType=VARCHAR}, </if> <if test="record.createBy != null"> create_by = #{record.createBy,jdbcType=VARCHAR}, </if> <if test="record.createTime != null"> create_time = #{record.createTime,jdbcType=TIMESTAMP}, </if> <if test="record.updateBy != null"> update_by = #{record.updateBy,jdbcType=VARCHAR}, </if> <if test="record.updateTime != null"> update_time = #{record.updateTime,jdbcType=TIMESTAMP}, </if> <if test="record.invoiceCategory != null"> invoice_category = #{record.invoiceCategory,jdbcType=VARCHAR}, </if> <if test="record.formulaDataSource != null"> formula_data_source = #{record.formulaDataSource,jdbcType=VARCHAR}, </if> <if test="record.validation != null"> validation = #{record.validation,jdbcType=VARCHAR}, </if> <if test="record.parsedValidation != null"> parsed_validation = #{record.parsedValidation,jdbcType=VARCHAR}, </if> <if test="record.validationDescription != null"> validation_description = #{record.validationDescription,jdbcType=VARCHAR}, </if> <if test="record.voucherKeyword != null"> voucher_keyword = #{record.voucherKeyword,jdbcType=VARCHAR}, </if> <if test="record.formulaDescription != null"> formula_description = #{record.formulaDescription,jdbcType=VARBINARY}, </if> </set> <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByExampleWithBLOBs" parameterType="map"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> update period_cell_template_config set id = #{record.id,jdbcType=BIGINT}, period = #{record.period,jdbcType=INTEGER}, cell_template_id = #{record.cellTemplateId,jdbcType=VARCHAR}, report_template_id = #{record.reportTemplateId,jdbcType=VARCHAR}, data_source_type = #{record.dataSourceType,jdbcType=INTEGER}, formula = #{record.formula,jdbcType=VARCHAR}, parsed_formula = #{record.parsedFormula,jdbcType=VARCHAR}, account_codes = #{record.accountCodes,jdbcType=VARCHAR}, invoice_type = #{record.invoiceType,jdbcType=INTEGER}, tax_rate = #{record.taxRate,jdbcType=VARCHAR}, invoice_amount_type = #{record.invoiceAmountType,jdbcType=INTEGER}, model_ids = #{record.modelIds,jdbcType=VARCHAR}, create_by = #{record.createBy,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_by = #{record.updateBy,jdbcType=VARCHAR}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, invoice_category = #{record.invoiceCategory,jdbcType=VARCHAR}, formula_data_source = #{record.formulaDataSource,jdbcType=VARCHAR}, validation = #{record.validation,jdbcType=VARCHAR}, parsed_validation = #{record.parsedValidation,jdbcType=VARCHAR}, validation_description = #{record.validationDescription,jdbcType=VARCHAR}, voucher_keyword = #{record.voucherKeyword,jdbcType=VARCHAR}, formula_description = #{record.formulaDescription,jdbcType=VARBINARY} <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 period_cell_template_config set id = #{record.id,jdbcType=BIGINT}, period = #{record.period,jdbcType=INTEGER}, cell_template_id = #{record.cellTemplateId,jdbcType=VARCHAR}, report_template_id = #{record.reportTemplateId,jdbcType=VARCHAR}, data_source_type = #{record.dataSourceType,jdbcType=INTEGER}, formula = #{record.formula,jdbcType=VARCHAR}, parsed_formula = #{record.parsedFormula,jdbcType=VARCHAR}, account_codes = #{record.accountCodes,jdbcType=VARCHAR}, invoice_type = #{record.invoiceType,jdbcType=INTEGER}, tax_rate = #{record.taxRate,jdbcType=VARCHAR}, invoice_amount_type = #{record.invoiceAmountType,jdbcType=INTEGER}, model_ids = #{record.modelIds,jdbcType=VARCHAR}, create_by = #{record.createBy,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_by = #{record.updateBy,jdbcType=VARCHAR}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, invoice_category = #{record.invoiceCategory,jdbcType=VARCHAR}, formula_data_source = #{record.formulaDataSource,jdbcType=VARCHAR}, validation = #{record.validation,jdbcType=VARCHAR}, parsed_validation = #{record.parsedValidation,jdbcType=VARCHAR}, validation_description = #{record.validationDescription,jdbcType=VARCHAR}, voucher_keyword = #{record.voucherKeyword,jdbcType=VARCHAR} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfig"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> update period_cell_template_config <set> <if test="period != null"> period = #{period,jdbcType=INTEGER}, </if> <if test="cellTemplateId != null"> cell_template_id = #{cellTemplateId,jdbcType=VARCHAR}, </if> <if test="reportTemplateId != null"> report_template_id = #{reportTemplateId,jdbcType=VARCHAR}, </if> <if test="dataSourceType != null"> data_source_type = #{dataSourceType,jdbcType=INTEGER}, </if> <if test="formula != null"> formula = #{formula,jdbcType=VARCHAR}, </if> <if test="parsedFormula != null"> parsed_formula = #{parsedFormula,jdbcType=VARCHAR}, </if> <if test="accountCodes != null"> account_codes = #{accountCodes,jdbcType=VARCHAR}, </if> <if test="invoiceType != null"> invoice_type = #{invoiceType,jdbcType=INTEGER}, </if> <if test="taxRate != null"> tax_rate = #{taxRate,jdbcType=VARCHAR}, </if> <if test="invoiceAmountType != null"> invoice_amount_type = #{invoiceAmountType,jdbcType=INTEGER}, </if> <if test="modelIds != null"> model_ids = #{modelIds,jdbcType=VARCHAR}, </if> <if test="createBy != null"> create_by = #{createBy,jdbcType=VARCHAR}, </if> <if test="createTime != null"> create_time = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="updateBy != null"> update_by = #{updateBy,jdbcType=VARCHAR}, </if> <if test="updateTime != null"> update_time = #{updateTime,jdbcType=TIMESTAMP}, </if> <if test="invoiceCategory != null"> invoice_category = #{invoiceCategory,jdbcType=VARCHAR}, </if> <if test="formulaDataSource != null"> formula_data_source = #{formulaDataSource,jdbcType=VARCHAR}, </if> <if test="validation != null"> validation = #{validation,jdbcType=VARCHAR}, </if> <if test="parsedValidation != null"> parsed_validation = #{parsedValidation,jdbcType=VARCHAR}, </if> <if test="validationDescription != null"> validation_description = #{validationDescription,jdbcType=VARCHAR}, </if> <if test="voucherKeyword != null"> voucher_keyword = #{voucherKeyword,jdbcType=VARCHAR}, </if> <if test="formulaDescription != null"> formula_description = #{formulaDescription,jdbcType=VARBINARY}, </if> </set> where id = #{id,jdbcType=BIGINT} </update> <update id="updateByPrimaryKeyWithBLOBs" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfig"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> update period_cell_template_config set period = #{period,jdbcType=INTEGER}, cell_template_id = #{cellTemplateId,jdbcType=VARCHAR}, report_template_id = #{reportTemplateId,jdbcType=VARCHAR}, data_source_type = #{dataSourceType,jdbcType=INTEGER}, formula = #{formula,jdbcType=VARCHAR}, parsed_formula = #{parsedFormula,jdbcType=VARCHAR}, account_codes = #{accountCodes,jdbcType=VARCHAR}, invoice_type = #{invoiceType,jdbcType=INTEGER}, tax_rate = #{taxRate,jdbcType=VARCHAR}, invoice_amount_type = #{invoiceAmountType,jdbcType=INTEGER}, model_ids = #{modelIds,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, invoice_category = #{invoiceCategory,jdbcType=VARCHAR}, formula_data_source = #{formulaDataSource,jdbcType=VARCHAR}, validation = #{validation,jdbcType=VARCHAR}, parsed_validation = #{parsedValidation,jdbcType=VARCHAR}, validation_description = #{validationDescription,jdbcType=VARCHAR}, voucher_keyword = #{voucherKeyword,jdbcType=VARCHAR}, formula_description = #{formulaDescription,jdbcType=VARBINARY} where id = #{id,jdbcType=BIGINT} </update> <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfig"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> update period_cell_template_config set period = #{period,jdbcType=INTEGER}, cell_template_id = #{cellTemplateId,jdbcType=VARCHAR}, report_template_id = #{reportTemplateId,jdbcType=VARCHAR}, data_source_type = #{dataSourceType,jdbcType=INTEGER}, formula = #{formula,jdbcType=VARCHAR}, parsed_formula = #{parsedFormula,jdbcType=VARCHAR}, account_codes = #{accountCodes,jdbcType=VARCHAR}, invoice_type = #{invoiceType,jdbcType=INTEGER}, tax_rate = #{taxRate,jdbcType=VARCHAR}, invoice_amount_type = #{invoiceAmountType,jdbcType=INTEGER}, model_ids = #{modelIds,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = #{updateTime,jdbcType=TIMESTAMP}, invoice_category = #{invoiceCategory,jdbcType=VARCHAR}, formula_data_source = #{formulaDataSource,jdbcType=VARCHAR}, validation = #{validation,jdbcType=VARCHAR}, parsed_validation = #{parsedValidation,jdbcType=VARCHAR}, validation_description = #{validationDescription,jdbcType=VARCHAR}, voucher_keyword = #{voucherKeyword,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} </update> <select id="selectByExampleWithBLOBsWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfigExample" resultMap="ResultMapWithBLOBs"> <!-- 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" /> , <include refid="Blob_Column_List" /> from period_cell_template_config <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.PeriodCellTemplateConfigExample" 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 period_cell_template_config <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> </mapper>