<?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="DECIMAL" property="id" /> <result column="PERIOD" jdbcType="DECIMAL" property="period" /> <result column="CELL_TEMPLATE_ID" jdbcType="DECIMAL" property="cellTemplateId" /> <result column="REPORT_TEMPLATE_ID" jdbcType="DECIMAL" property="reportTemplateId" /> <result column="DATA_SOURCE_TYPE" jdbcType="DECIMAL" property="dataSourceType" /> <result column="FORMULA" jdbcType="VARCHAR" property="formula" /> <result column="PARSED_FORMULA" jdbcType="VARCHAR" property="parsedFormula" /> <result column="FORMULA_DESCRIPTION" jdbcType="VARCHAR" property="formulaDescription" /> <result column="ACCOUNT_CODES" jdbcType="VARCHAR" property="accountCodes" /> <result column="INVOICE_TYPE" jdbcType="DECIMAL" property="invoiceType" /> <result column="TAX_RATE" jdbcType="VARCHAR" property="taxRate" /> <result column="INVOICE_AMOUNT_TYPE" jdbcType="DECIMAL" 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" /> <result column="CELL_TEMPLATE_CONFIG_ID" jdbcType="DECIMAL" property="cellTemplateConfigId" /> <result column="KEY_VALUE_PARSED_FORMULA" jdbcType="VARCHAR" property="keyValueParsedFormula" /> <result column="PROJECT_ID" jdbcType="VARCHAR" property="projectId" /> </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, FORMULA_DESCRIPTION, 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, CELL_TEMPLATE_CONFIG_ID, KEY_VALUE_PARSED_FORMULA, PROJECT_ID </sql> <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="BaseResultMap"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> select <include refid="Base_Column_List" /> from PERIOD_CELL_TEMPLATE_CONFIG where ID = #{id,jdbcType=DECIMAL} </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=DECIMAL} </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, FORMULA_DESCRIPTION, 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, CELL_TEMPLATE_CONFIG_ID, KEY_VALUE_PARSED_FORMULA, PROJECT_ID) values (#{id,jdbcType=DECIMAL}, #{period,jdbcType=DECIMAL}, #{cellTemplateId,jdbcType=DECIMAL}, #{reportTemplateId,jdbcType=DECIMAL}, #{dataSourceType,jdbcType=DECIMAL}, #{formula,jdbcType=VARCHAR}, #{parsedFormula,jdbcType=VARCHAR}, #{formulaDescription,jdbcType=VARCHAR}, #{accountCodes,jdbcType=VARCHAR}, #{invoiceType,jdbcType=DECIMAL}, #{taxRate,jdbcType=VARCHAR}, #{invoiceAmountType,jdbcType=DECIMAL}, #{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}, #{cellTemplateConfigId,jdbcType=DECIMAL}, #{keyValueParsedFormula,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR}) </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="formulaDescription != null"> FORMULA_DESCRIPTION, </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="cellTemplateConfigId != null"> CELL_TEMPLATE_CONFIG_ID, </if> <if test="keyValueParsedFormula != null"> KEY_VALUE_PARSED_FORMULA, </if> <if test="projectId != null"> PROJECT_ID, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="period != null"> #{period,jdbcType=DECIMAL}, </if> <if test="cellTemplateId != null"> #{cellTemplateId,jdbcType=DECIMAL}, </if> <if test="reportTemplateId != null"> #{reportTemplateId,jdbcType=DECIMAL}, </if> <if test="dataSourceType != null"> #{dataSourceType,jdbcType=DECIMAL}, </if> <if test="formula != null"> #{formula,jdbcType=VARCHAR}, </if> <if test="parsedFormula != null"> #{parsedFormula,jdbcType=VARCHAR}, </if> <if test="formulaDescription != null"> #{formulaDescription,jdbcType=VARCHAR}, </if> <if test="accountCodes != null"> #{accountCodes,jdbcType=VARCHAR}, </if> <if test="invoiceType != null"> #{invoiceType,jdbcType=DECIMAL}, </if> <if test="taxRate != null"> #{taxRate,jdbcType=VARCHAR}, </if> <if test="invoiceAmountType != null"> #{invoiceAmountType,jdbcType=DECIMAL}, </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="cellTemplateConfigId != null"> #{cellTemplateConfigId,jdbcType=DECIMAL}, </if> <if test="keyValueParsedFormula != null"> #{keyValueParsedFormula,jdbcType=VARCHAR}, </if> <if test="projectId != null"> #{projectId,jdbcType=VARCHAR}, </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=DECIMAL}, </if> <if test="record.period != null"> PERIOD = #{record.period,jdbcType=DECIMAL}, </if> <if test="record.cellTemplateId != null"> CELL_TEMPLATE_ID = #{record.cellTemplateId,jdbcType=DECIMAL}, </if> <if test="record.reportTemplateId != null"> REPORT_TEMPLATE_ID = #{record.reportTemplateId,jdbcType=DECIMAL}, </if> <if test="record.dataSourceType != null"> DATA_SOURCE_TYPE = #{record.dataSourceType,jdbcType=DECIMAL}, </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.formulaDescription != null"> FORMULA_DESCRIPTION = #{record.formulaDescription,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=DECIMAL}, </if> <if test="record.taxRate != null"> TAX_RATE = #{record.taxRate,jdbcType=VARCHAR}, </if> <if test="record.invoiceAmountType != null"> INVOICE_AMOUNT_TYPE = #{record.invoiceAmountType,jdbcType=DECIMAL}, </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.cellTemplateConfigId != null"> CELL_TEMPLATE_CONFIG_ID = #{record.cellTemplateConfigId,jdbcType=DECIMAL}, </if> <if test="record.keyValueParsedFormula != null"> KEY_VALUE_PARSED_FORMULA = #{record.keyValueParsedFormula,jdbcType=VARCHAR}, </if> <if test="record.projectId != null"> PROJECT_ID = #{record.projectId,jdbcType=VARCHAR}, </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 PERIOD_CELL_TEMPLATE_CONFIG set ID = #{record.id,jdbcType=DECIMAL}, PERIOD = #{record.period,jdbcType=DECIMAL}, CELL_TEMPLATE_ID = #{record.cellTemplateId,jdbcType=DECIMAL}, REPORT_TEMPLATE_ID = #{record.reportTemplateId,jdbcType=DECIMAL}, DATA_SOURCE_TYPE = #{record.dataSourceType,jdbcType=DECIMAL}, FORMULA = #{record.formula,jdbcType=VARCHAR}, PARSED_FORMULA = #{record.parsedFormula,jdbcType=VARCHAR}, FORMULA_DESCRIPTION = #{record.formulaDescription,jdbcType=VARCHAR}, ACCOUNT_CODES = #{record.accountCodes,jdbcType=VARCHAR}, INVOICE_TYPE = #{record.invoiceType,jdbcType=DECIMAL}, TAX_RATE = #{record.taxRate,jdbcType=VARCHAR}, INVOICE_AMOUNT_TYPE = #{record.invoiceAmountType,jdbcType=DECIMAL}, 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}, CELL_TEMPLATE_CONFIG_ID = #{record.cellTemplateConfigId,jdbcType=DECIMAL}, KEY_VALUE_PARSED_FORMULA = #{record.keyValueParsedFormula,jdbcType=VARCHAR}, PROJECT_ID = #{record.projectId,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=DECIMAL}, </if> <if test="cellTemplateId != null"> CELL_TEMPLATE_ID = #{cellTemplateId,jdbcType=DECIMAL}, </if> <if test="reportTemplateId != null"> REPORT_TEMPLATE_ID = #{reportTemplateId,jdbcType=DECIMAL}, </if> <if test="dataSourceType != null"> DATA_SOURCE_TYPE = #{dataSourceType,jdbcType=DECIMAL}, </if> <if test="formula != null"> FORMULA = #{formula,jdbcType=VARCHAR}, </if> <if test="parsedFormula != null"> PARSED_FORMULA = #{parsedFormula,jdbcType=VARCHAR}, </if> <if test="formulaDescription != null"> FORMULA_DESCRIPTION = #{formulaDescription,jdbcType=VARCHAR}, </if> <if test="accountCodes != null"> ACCOUNT_CODES = #{accountCodes,jdbcType=VARCHAR}, </if> <if test="invoiceType != null"> INVOICE_TYPE = #{invoiceType,jdbcType=DECIMAL}, </if> <if test="taxRate != null"> TAX_RATE = #{taxRate,jdbcType=VARCHAR}, </if> <if test="invoiceAmountType != null"> INVOICE_AMOUNT_TYPE = #{invoiceAmountType,jdbcType=DECIMAL}, </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="cellTemplateConfigId != null"> CELL_TEMPLATE_CONFIG_ID = #{cellTemplateConfigId,jdbcType=DECIMAL}, </if> <if test="keyValueParsedFormula != null"> KEY_VALUE_PARSED_FORMULA = #{keyValueParsedFormula,jdbcType=VARCHAR}, </if> <if test="projectId != null"> PROJECT_ID = #{projectId,jdbcType=VARCHAR}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </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=DECIMAL}, CELL_TEMPLATE_ID = #{cellTemplateId,jdbcType=DECIMAL}, REPORT_TEMPLATE_ID = #{reportTemplateId,jdbcType=DECIMAL}, DATA_SOURCE_TYPE = #{dataSourceType,jdbcType=DECIMAL}, FORMULA = #{formula,jdbcType=VARCHAR}, PARSED_FORMULA = #{parsedFormula,jdbcType=VARCHAR}, FORMULA_DESCRIPTION = #{formulaDescription,jdbcType=VARCHAR}, ACCOUNT_CODES = #{accountCodes,jdbcType=VARCHAR}, INVOICE_TYPE = #{invoiceType,jdbcType=DECIMAL}, TAX_RATE = #{taxRate,jdbcType=VARCHAR}, INVOICE_AMOUNT_TYPE = #{invoiceAmountType,jdbcType=DECIMAL}, 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}, CELL_TEMPLATE_CONFIG_ID = #{cellTemplateConfigId,jdbcType=DECIMAL}, KEY_VALUE_PARSED_FORMULA = #{keyValueParsedFormula,jdbcType=VARCHAR}, PROJECT_ID = #{projectId,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <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>