<?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.EntriesCheckResultMapper"> <resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.EntriesCheckResult"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> <id column="ID" jdbcType="VARCHAR" property="ID" /> <result column="ModelID" jdbcType="VARCHAR" property="modelID" /> <result column="Code" jdbcType="VARCHAR" property="code" /> <result column="Name" jdbcType="VARCHAR" property="name" /> <result column="Description" jdbcType="VARCHAR" property="description" /> <result column="VoucherNum" jdbcType="INTEGER" property="voucherNum" /> <result column="EntriesNum" jdbcType="INTEGER" property="entriesNum" /> <result column="DebitRelevantAmt" jdbcType="DECIMAL" property="debitRelevantAmt" /> <result column="CreditRelevantAmt" jdbcType="DECIMAL" property="creditRelevantAmt" /> <result column="DebitTotalAmt" jdbcType="DECIMAL" property="debitTotalAmt" /> <result column="CreditTotalAmt" jdbcType="DECIMAL" property="creditTotalAmt" /> <result column="BigVoucherNum" jdbcType="INTEGER" property="bigVoucherNum" /> <result column="BigEntriesNum" jdbcType="INTEGER" property="bigEntriesNum" /> <result column="BigDebitRelevantAmt" jdbcType="DECIMAL" property="bigDebitRelevantAmt" /> <result column="BigCreditRelevantAmt" jdbcType="DECIMAL" property="bigCreditRelevantAmt" /> <result column="BigDebitTotalAmt" jdbcType="DECIMAL" property="bigDebitTotalAmt" /> <result column="BigCreditTotalAmt" jdbcType="DECIMAL" property="bigCreditTotalAmt" /> <result column="EntryDoubts" jdbcType="INTEGER" property="entryDoubts" /> <result column="BigEntryDoubts" jdbcType="INTEGER" property="bigEntryDoubts" /> <result column="VoucherDoubts" jdbcType="INTEGER" property="voucherDoubts" /> <result column="BigVoucherDoubts" jdbcType="INTEGER" property="bigVoucherDoubts" /> <result column="IsFiltered" jdbcType="INTEGER" property="isFiltered" /> <result column="ServiceTypeID" jdbcType="VARCHAR" property="serviceTypeID" /> <result column="CategoryID" jdbcType="VARCHAR" property="categoryID" /> <result column="Type" jdbcType="INTEGER" property="type" /> <result column="IsFilter" jdbcType="INTEGER" property="isFilter" /> <result column="IsShow" jdbcType="INTEGER" property="isShow" /> <result column="Period" jdbcType="INTEGER" property="period" /> <result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" /> <result column="UpdateTime" 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. --> ID, ModelID, Code, `Name`, Description, VoucherNum, EntriesNum, DebitRelevantAmt, CreditRelevantAmt, DebitTotalAmt, CreditTotalAmt, BigVoucherNum, BigEntriesNum, BigDebitRelevantAmt, BigCreditRelevantAmt, BigDebitTotalAmt, BigCreditTotalAmt, EntryDoubts, BigEntryDoubts, VoucherDoubts, BigVoucherDoubts, IsFiltered, ServiceTypeID, CategoryID, `Type`, IsFilter, IsShow, Period, CreateTime, UpdateTime </sql> <select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.EntriesCheckResultExample" 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 EntriesCheckResult <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.String" resultMap="BaseResultMap"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> select <include refid="Base_Column_List" /> from EntriesCheckResult where ID = #{ID,jdbcType=VARCHAR} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> delete from EntriesCheckResult where ID = #{ID,jdbcType=VARCHAR} </delete> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.EntriesCheckResultExample"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> delete from EntriesCheckResult <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> </delete> <insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.EntriesCheckResult"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> insert into EntriesCheckResult (ID, ModelID, Code, `Name`, Description, VoucherNum, EntriesNum, DebitRelevantAmt, CreditRelevantAmt, DebitTotalAmt, CreditTotalAmt, BigVoucherNum, BigEntriesNum, BigDebitRelevantAmt, BigCreditRelevantAmt, BigDebitTotalAmt, BigCreditTotalAmt, EntryDoubts, BigEntryDoubts, VoucherDoubts, BigVoucherDoubts, IsFiltered, ServiceTypeID, CategoryID, `Type`, IsFilter, IsShow, Period, CreateTime, UpdateTime ) values (#{ID,jdbcType=VARCHAR}, #{modelID,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{voucherNum,jdbcType=INTEGER}, #{entriesNum,jdbcType=INTEGER}, #{debitRelevantAmt,jdbcType=DECIMAL}, #{creditRelevantAmt,jdbcType=DECIMAL}, #{debitTotalAmt,jdbcType=DECIMAL}, #{creditTotalAmt,jdbcType=DECIMAL}, #{bigVoucherNum,jdbcType=INTEGER}, #{bigEntriesNum,jdbcType=INTEGER}, #{bigDebitRelevantAmt,jdbcType=DECIMAL}, #{bigCreditRelevantAmt,jdbcType=DECIMAL}, #{bigDebitTotalAmt,jdbcType=DECIMAL}, #{bigCreditTotalAmt,jdbcType=DECIMAL}, #{entryDoubts,jdbcType=INTEGER}, #{bigEntryDoubts,jdbcType=INTEGER}, #{voucherDoubts,jdbcType=INTEGER}, #{bigVoucherDoubts,jdbcType=INTEGER}, #{isFiltered,jdbcType=INTEGER}, #{serviceTypeID,jdbcType=VARCHAR}, #{categoryID,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{isFilter,jdbcType=INTEGER}, #{isShow,jdbcType=INTEGER}, #{period,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP} ) </insert> <insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.EntriesCheckResult"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> insert into EntriesCheckResult <trim prefix="(" suffix=")" suffixOverrides=","> <if test="ID != null"> ID, </if> <if test="modelID != null"> ModelID, </if> <if test="code != null"> Code, </if> <if test="name != null"> `Name`, </if> <if test="description != null"> Description, </if> <if test="voucherNum != null"> VoucherNum, </if> <if test="entriesNum != null"> EntriesNum, </if> <if test="debitRelevantAmt != null"> DebitRelevantAmt, </if> <if test="creditRelevantAmt != null"> CreditRelevantAmt, </if> <if test="debitTotalAmt != null"> DebitTotalAmt, </if> <if test="creditTotalAmt != null"> CreditTotalAmt, </if> <if test="bigVoucherNum != null"> BigVoucherNum, </if> <if test="bigEntriesNum != null"> BigEntriesNum, </if> <if test="bigDebitRelevantAmt != null"> BigDebitRelevantAmt, </if> <if test="bigCreditRelevantAmt != null"> BigCreditRelevantAmt, </if> <if test="bigDebitTotalAmt != null"> BigDebitTotalAmt, </if> <if test="bigCreditTotalAmt != null"> BigCreditTotalAmt, </if> <if test="entryDoubts != null"> EntryDoubts, </if> <if test="bigEntryDoubts != null"> BigEntryDoubts, </if> <if test="voucherDoubts != null"> VoucherDoubts, </if> <if test="bigVoucherDoubts != null"> BigVoucherDoubts, </if> <if test="isFiltered != null"> IsFiltered, </if> <if test="serviceTypeID != null"> ServiceTypeID, </if> <if test="categoryID != null"> CategoryID, </if> <if test="type != null"> `Type`, </if> <if test="isFilter != null"> IsFilter, </if> <if test="isShow != null"> IsShow, </if> <if test="period != null"> Period, </if> <if test="createTime != null"> CreateTime, </if> <if test="updateTime != null"> UpdateTime, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="ID != null"> #{ID,jdbcType=VARCHAR}, </if> <if test="modelID != null"> #{modelID,jdbcType=VARCHAR}, </if> <if test="code != null"> #{code,jdbcType=VARCHAR}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="description != null"> #{description,jdbcType=VARCHAR}, </if> <if test="voucherNum != null"> #{voucherNum,jdbcType=INTEGER}, </if> <if test="entriesNum != null"> #{entriesNum,jdbcType=INTEGER}, </if> <if test="debitRelevantAmt != null"> #{debitRelevantAmt,jdbcType=DECIMAL}, </if> <if test="creditRelevantAmt != null"> #{creditRelevantAmt,jdbcType=DECIMAL}, </if> <if test="debitTotalAmt != null"> #{debitTotalAmt,jdbcType=DECIMAL}, </if> <if test="creditTotalAmt != null"> #{creditTotalAmt,jdbcType=DECIMAL}, </if> <if test="bigVoucherNum != null"> #{bigVoucherNum,jdbcType=INTEGER}, </if> <if test="bigEntriesNum != null"> #{bigEntriesNum,jdbcType=INTEGER}, </if> <if test="bigDebitRelevantAmt != null"> #{bigDebitRelevantAmt,jdbcType=DECIMAL}, </if> <if test="bigCreditRelevantAmt != null"> #{bigCreditRelevantAmt,jdbcType=DECIMAL}, </if> <if test="bigDebitTotalAmt != null"> #{bigDebitTotalAmt,jdbcType=DECIMAL}, </if> <if test="bigCreditTotalAmt != null"> #{bigCreditTotalAmt,jdbcType=DECIMAL}, </if> <if test="entryDoubts != null"> #{entryDoubts,jdbcType=INTEGER}, </if> <if test="bigEntryDoubts != null"> #{bigEntryDoubts,jdbcType=INTEGER}, </if> <if test="voucherDoubts != null"> #{voucherDoubts,jdbcType=INTEGER}, </if> <if test="bigVoucherDoubts != null"> #{bigVoucherDoubts,jdbcType=INTEGER}, </if> <if test="isFiltered != null"> #{isFiltered,jdbcType=INTEGER}, </if> <if test="serviceTypeID != null"> #{serviceTypeID,jdbcType=VARCHAR}, </if> <if test="categoryID != null"> #{categoryID,jdbcType=VARCHAR}, </if> <if test="type != null"> #{type,jdbcType=INTEGER}, </if> <if test="isFilter != null"> #{isFilter,jdbcType=INTEGER}, </if> <if test="isShow != null"> #{isShow,jdbcType=INTEGER}, </if> <if test="period != null"> #{period,jdbcType=INTEGER}, </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.vat.entity.EntriesCheckResultExample" resultType="java.lang.Long"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> select count(*) from EntriesCheckResult <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 EntriesCheckResult <set> <if test="record.ID != null"> ID = #{record.ID,jdbcType=VARCHAR}, </if> <if test="record.modelID != null"> ModelID = #{record.modelID,jdbcType=VARCHAR}, </if> <if test="record.code != null"> Code = #{record.code,jdbcType=VARCHAR}, </if> <if test="record.name != null"> `Name` = #{record.name,jdbcType=VARCHAR}, </if> <if test="record.description != null"> Description = #{record.description,jdbcType=VARCHAR}, </if> <if test="record.voucherNum != null"> VoucherNum = #{record.voucherNum,jdbcType=INTEGER}, </if> <if test="record.entriesNum != null"> EntriesNum = #{record.entriesNum,jdbcType=INTEGER}, </if> <if test="record.debitRelevantAmt != null"> DebitRelevantAmt = #{record.debitRelevantAmt,jdbcType=DECIMAL}, </if> <if test="record.creditRelevantAmt != null"> CreditRelevantAmt = #{record.creditRelevantAmt,jdbcType=DECIMAL}, </if> <if test="record.debitTotalAmt != null"> DebitTotalAmt = #{record.debitTotalAmt,jdbcType=DECIMAL}, </if> <if test="record.creditTotalAmt != null"> CreditTotalAmt = #{record.creditTotalAmt,jdbcType=DECIMAL}, </if> <if test="record.bigVoucherNum != null"> BigVoucherNum = #{record.bigVoucherNum,jdbcType=INTEGER}, </if> <if test="record.bigEntriesNum != null"> BigEntriesNum = #{record.bigEntriesNum,jdbcType=INTEGER}, </if> <if test="record.bigDebitRelevantAmt != null"> BigDebitRelevantAmt = #{record.bigDebitRelevantAmt,jdbcType=DECIMAL}, </if> <if test="record.bigCreditRelevantAmt != null"> BigCreditRelevantAmt = #{record.bigCreditRelevantAmt,jdbcType=DECIMAL}, </if> <if test="record.bigDebitTotalAmt != null"> BigDebitTotalAmt = #{record.bigDebitTotalAmt,jdbcType=DECIMAL}, </if> <if test="record.bigCreditTotalAmt != null"> BigCreditTotalAmt = #{record.bigCreditTotalAmt,jdbcType=DECIMAL}, </if> <if test="record.entryDoubts != null"> EntryDoubts = #{record.entryDoubts,jdbcType=INTEGER}, </if> <if test="record.bigEntryDoubts != null"> BigEntryDoubts = #{record.bigEntryDoubts,jdbcType=INTEGER}, </if> <if test="record.voucherDoubts != null"> VoucherDoubts = #{record.voucherDoubts,jdbcType=INTEGER}, </if> <if test="record.bigVoucherDoubts != null"> BigVoucherDoubts = #{record.bigVoucherDoubts,jdbcType=INTEGER}, </if> <if test="record.isFiltered != null"> IsFiltered = #{record.isFiltered,jdbcType=INTEGER}, </if> <if test="record.serviceTypeID != null"> ServiceTypeID = #{record.serviceTypeID,jdbcType=VARCHAR}, </if> <if test="record.categoryID != null"> CategoryID = #{record.categoryID,jdbcType=VARCHAR}, </if> <if test="record.type != null"> `Type` = #{record.type,jdbcType=INTEGER}, </if> <if test="record.isFilter != null"> IsFilter = #{record.isFilter,jdbcType=INTEGER}, </if> <if test="record.isShow != null"> IsShow = #{record.isShow,jdbcType=INTEGER}, </if> <if test="record.period != null"> Period = #{record.period,jdbcType=INTEGER}, </if> <if test="record.createTime != null"> CreateTime = #{record.createTime,jdbcType=TIMESTAMP}, </if> <if test="record.updateTime != null"> UpdateTime = #{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 EntriesCheckResult set ID = #{record.ID,jdbcType=VARCHAR}, ModelID = #{record.modelID,jdbcType=VARCHAR}, Code = #{record.code,jdbcType=VARCHAR}, `Name` = #{record.name,jdbcType=VARCHAR}, Description = #{record.description,jdbcType=VARCHAR}, VoucherNum = #{record.voucherNum,jdbcType=INTEGER}, EntriesNum = #{record.entriesNum,jdbcType=INTEGER}, DebitRelevantAmt = #{record.debitRelevantAmt,jdbcType=DECIMAL}, CreditRelevantAmt = #{record.creditRelevantAmt,jdbcType=DECIMAL}, DebitTotalAmt = #{record.debitTotalAmt,jdbcType=DECIMAL}, CreditTotalAmt = #{record.creditTotalAmt,jdbcType=DECIMAL}, BigVoucherNum = #{record.bigVoucherNum,jdbcType=INTEGER}, BigEntriesNum = #{record.bigEntriesNum,jdbcType=INTEGER}, BigDebitRelevantAmt = #{record.bigDebitRelevantAmt,jdbcType=DECIMAL}, BigCreditRelevantAmt = #{record.bigCreditRelevantAmt,jdbcType=DECIMAL}, BigDebitTotalAmt = #{record.bigDebitTotalAmt,jdbcType=DECIMAL}, BigCreditTotalAmt = #{record.bigCreditTotalAmt,jdbcType=DECIMAL}, EntryDoubts = #{record.entryDoubts,jdbcType=INTEGER}, BigEntryDoubts = #{record.bigEntryDoubts,jdbcType=INTEGER}, VoucherDoubts = #{record.voucherDoubts,jdbcType=INTEGER}, BigVoucherDoubts = #{record.bigVoucherDoubts,jdbcType=INTEGER}, IsFiltered = #{record.isFiltered,jdbcType=INTEGER}, ServiceTypeID = #{record.serviceTypeID,jdbcType=VARCHAR}, CategoryID = #{record.categoryID,jdbcType=VARCHAR}, `Type` = #{record.type,jdbcType=INTEGER}, IsFilter = #{record.isFilter,jdbcType=INTEGER}, IsShow = #{record.isShow,jdbcType=INTEGER}, Period = #{record.period,jdbcType=INTEGER}, CreateTime = #{record.createTime,jdbcType=TIMESTAMP}, UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP} <if test="_parameter != null"> <include refid="Update_By_Example_Where_Clause" /> </if> </update> <update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.EntriesCheckResult"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> update EntriesCheckResult <set> <if test="modelID != null"> ModelID = #{modelID,jdbcType=VARCHAR}, </if> <if test="code != null"> Code = #{code,jdbcType=VARCHAR}, </if> <if test="name != null"> `Name` = #{name,jdbcType=VARCHAR}, </if> <if test="description != null"> Description = #{description,jdbcType=VARCHAR}, </if> <if test="voucherNum != null"> VoucherNum = #{voucherNum,jdbcType=INTEGER}, </if> <if test="entriesNum != null"> EntriesNum = #{entriesNum,jdbcType=INTEGER}, </if> <if test="debitRelevantAmt != null"> DebitRelevantAmt = #{debitRelevantAmt,jdbcType=DECIMAL}, </if> <if test="creditRelevantAmt != null"> CreditRelevantAmt = #{creditRelevantAmt,jdbcType=DECIMAL}, </if> <if test="debitTotalAmt != null"> DebitTotalAmt = #{debitTotalAmt,jdbcType=DECIMAL}, </if> <if test="creditTotalAmt != null"> CreditTotalAmt = #{creditTotalAmt,jdbcType=DECIMAL}, </if> <if test="bigVoucherNum != null"> BigVoucherNum = #{bigVoucherNum,jdbcType=INTEGER}, </if> <if test="bigEntriesNum != null"> BigEntriesNum = #{bigEntriesNum,jdbcType=INTEGER}, </if> <if test="bigDebitRelevantAmt != null"> BigDebitRelevantAmt = #{bigDebitRelevantAmt,jdbcType=DECIMAL}, </if> <if test="bigCreditRelevantAmt != null"> BigCreditRelevantAmt = #{bigCreditRelevantAmt,jdbcType=DECIMAL}, </if> <if test="bigDebitTotalAmt != null"> BigDebitTotalAmt = #{bigDebitTotalAmt,jdbcType=DECIMAL}, </if> <if test="bigCreditTotalAmt != null"> BigCreditTotalAmt = #{bigCreditTotalAmt,jdbcType=DECIMAL}, </if> <if test="entryDoubts != null"> EntryDoubts = #{entryDoubts,jdbcType=INTEGER}, </if> <if test="bigEntryDoubts != null"> BigEntryDoubts = #{bigEntryDoubts,jdbcType=INTEGER}, </if> <if test="voucherDoubts != null"> VoucherDoubts = #{voucherDoubts,jdbcType=INTEGER}, </if> <if test="bigVoucherDoubts != null"> BigVoucherDoubts = #{bigVoucherDoubts,jdbcType=INTEGER}, </if> <if test="isFiltered != null"> IsFiltered = #{isFiltered,jdbcType=INTEGER}, </if> <if test="serviceTypeID != null"> ServiceTypeID = #{serviceTypeID,jdbcType=VARCHAR}, </if> <if test="categoryID != null"> CategoryID = #{categoryID,jdbcType=VARCHAR}, </if> <if test="type != null"> `Type` = #{type,jdbcType=INTEGER}, </if> <if test="isFilter != null"> IsFilter = #{isFilter,jdbcType=INTEGER}, </if> <if test="isShow != null"> IsShow = #{isShow,jdbcType=INTEGER}, </if> <if test="period != null"> Period = #{period,jdbcType=INTEGER}, </if> <if test="createTime != null"> CreateTime = #{createTime,jdbcType=TIMESTAMP}, </if> <if test="updateTime != null"> UpdateTime = #{updateTime,jdbcType=TIMESTAMP}, </if> </set> where ID = #{ID,jdbcType=VARCHAR} </update> <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.EntriesCheckResult"> <!-- WARNING - @mbg.generated This element is automatically generated by MyBatis Generator, do not modify. --> update EntriesCheckResult set ModelID = #{modelID,jdbcType=VARCHAR}, Code = #{code,jdbcType=VARCHAR}, `Name` = #{name,jdbcType=VARCHAR}, Description = #{description,jdbcType=VARCHAR}, VoucherNum = #{voucherNum,jdbcType=INTEGER}, EntriesNum = #{entriesNum,jdbcType=INTEGER}, DebitRelevantAmt = #{debitRelevantAmt,jdbcType=DECIMAL}, CreditRelevantAmt = #{creditRelevantAmt,jdbcType=DECIMAL}, DebitTotalAmt = #{debitTotalAmt,jdbcType=DECIMAL}, CreditTotalAmt = #{creditTotalAmt,jdbcType=DECIMAL}, BigVoucherNum = #{bigVoucherNum,jdbcType=INTEGER}, BigEntriesNum = #{bigEntriesNum,jdbcType=INTEGER}, BigDebitRelevantAmt = #{bigDebitRelevantAmt,jdbcType=DECIMAL}, BigCreditRelevantAmt = #{bigCreditRelevantAmt,jdbcType=DECIMAL}, BigDebitTotalAmt = #{bigDebitTotalAmt,jdbcType=DECIMAL}, BigCreditTotalAmt = #{bigCreditTotalAmt,jdbcType=DECIMAL}, EntryDoubts = #{entryDoubts,jdbcType=INTEGER}, BigEntryDoubts = #{bigEntryDoubts,jdbcType=INTEGER}, VoucherDoubts = #{voucherDoubts,jdbcType=INTEGER}, BigVoucherDoubts = #{bigVoucherDoubts,jdbcType=INTEGER}, IsFiltered = #{isFiltered,jdbcType=INTEGER}, ServiceTypeID = #{serviceTypeID,jdbcType=VARCHAR}, CategoryID = #{categoryID,jdbcType=VARCHAR}, `Type` = #{type,jdbcType=INTEGER}, IsFilter = #{isFilter,jdbcType=INTEGER}, IsShow = #{isShow,jdbcType=INTEGER}, Period = #{period,jdbcType=INTEGER}, CreateTime = #{createTime,jdbcType=TIMESTAMP}, UpdateTime = #{updateTime,jdbcType=TIMESTAMP} where ID = #{ID,jdbcType=VARCHAR} </update> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.EntriesCheckResultExample" 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 EntriesCheckResult <if test="_parameter != null"> <include refid="Example_Where_Clause" /> </if> <if test="orderByClause != null"> order by ${orderByClause} </if> </select> </mapper>