|
@@ -0,0 +1,431 @@
|
|
|
+<?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="com.hz.employmentsite.mapper.PcCreditRecordMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.hz.employmentsite.model.PcCreditRecord">
|
|
|
+ <id column="CreditRecordID" jdbcType="VARCHAR" property="creditRecordID" />
|
|
|
+ <result column="CompanyID" jdbcType="VARCHAR" property="companyID" />
|
|
|
+ <result column="EnterTime" jdbcType="TIMESTAMP" property="enterTime" />
|
|
|
+ <result column="DocumentNumber" jdbcType="VARCHAR" property="documentNumber" />
|
|
|
+ <result column="IncludeTime" jdbcType="TIMESTAMP" property="includeTime" />
|
|
|
+ <result column="ExpirationTime" jdbcType="TIMESTAMP" property="expirationTime" />
|
|
|
+ <result column="DecidingDepartment" jdbcType="VARCHAR" property="decidingDepartment" />
|
|
|
+ <result column="Source" jdbcType="VARCHAR" property="source" />
|
|
|
+ <result column="IsEffective" jdbcType="INTEGER" property="isEffective" />
|
|
|
+ <result column="DepartmentTypeID" jdbcType="INTEGER" property="departmentTypeID" />
|
|
|
+ <result column="CreateUserID" jdbcType="VARCHAR" property="createUserID" />
|
|
|
+ <result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
+ <result column="ModifyUserID" jdbcType="VARCHAR" property="modifyUserID" />
|
|
|
+ <result column="ModifyTime" jdbcType="TIMESTAMP" property="modifyTime" />
|
|
|
+ </resultMap>
|
|
|
+ <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.hz.employmentsite.model.PcCreditRecord">
|
|
|
+ <result column="CreditRecordContent" jdbcType="LONGVARCHAR" property="creditRecordContent" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Example_Where_Clause">
|
|
|
+ <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">
|
|
|
+ <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">
|
|
|
+ CreditRecordID, CompanyID, EnterTime, DocumentNumber, IncludeTime, ExpirationTime,
|
|
|
+ DecidingDepartment, Source, IsEffective, DepartmentTypeID, CreateUserID, CreateTime,
|
|
|
+ ModifyUserID, ModifyTime
|
|
|
+ </sql>
|
|
|
+ <sql id="Blob_Column_List">
|
|
|
+ CreditRecordContent
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExampleWithBLOBs" parameterType="com.hz.employmentsite.model.PcCreditRecordExample" resultMap="ResultMapWithBLOBs">
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ ,
|
|
|
+ <include refid="Blob_Column_List" />
|
|
|
+ from pc_credit_record
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ <if test="orderByClause != null">
|
|
|
+ order by ${orderByClause}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <select id="selectByExample" parameterType="com.hz.employmentsite.model.PcCreditRecordExample" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from pc_credit_record
|
|
|
+ <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="ResultMapWithBLOBs">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ ,
|
|
|
+ <include refid="Blob_Column_List" />
|
|
|
+ from pc_credit_record
|
|
|
+ where CreditRecordID = #{creditRecordID,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
+ delete from pc_credit_record
|
|
|
+ where CreditRecordID = #{creditRecordID,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.hz.employmentsite.model.PcCreditRecordExample">
|
|
|
+ delete from pc_credit_record
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.hz.employmentsite.model.PcCreditRecord">
|
|
|
+ insert into pc_credit_record (CreditRecordID, CompanyID, EnterTime,
|
|
|
+ DocumentNumber, IncludeTime, ExpirationTime,
|
|
|
+ DecidingDepartment, Source, IsEffective,
|
|
|
+ DepartmentTypeID, CreateUserID, CreateTime,
|
|
|
+ ModifyUserID, ModifyTime, CreditRecordContent
|
|
|
+ )
|
|
|
+ values (#{creditRecordID,jdbcType=VARCHAR}, #{companyID,jdbcType=VARCHAR}, #{enterTime,jdbcType=TIMESTAMP},
|
|
|
+ #{documentNumber,jdbcType=VARCHAR}, #{includeTime,jdbcType=TIMESTAMP}, #{expirationTime,jdbcType=TIMESTAMP},
|
|
|
+ #{decidingDepartment,jdbcType=VARCHAR}, #{source,jdbcType=VARCHAR}, #{isEffective,jdbcType=INTEGER},
|
|
|
+ #{departmentTypeID,jdbcType=INTEGER}, #{createUserID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{creditRecordContent,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcCreditRecord">
|
|
|
+ insert into pc_credit_record
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="creditRecordID != null">
|
|
|
+ CreditRecordID,
|
|
|
+ </if>
|
|
|
+ <if test="companyID != null">
|
|
|
+ CompanyID,
|
|
|
+ </if>
|
|
|
+ <if test="enterTime != null">
|
|
|
+ EnterTime,
|
|
|
+ </if>
|
|
|
+ <if test="documentNumber != null">
|
|
|
+ DocumentNumber,
|
|
|
+ </if>
|
|
|
+ <if test="includeTime != null">
|
|
|
+ IncludeTime,
|
|
|
+ </if>
|
|
|
+ <if test="expirationTime != null">
|
|
|
+ ExpirationTime,
|
|
|
+ </if>
|
|
|
+ <if test="decidingDepartment != null">
|
|
|
+ DecidingDepartment,
|
|
|
+ </if>
|
|
|
+ <if test="source != null">
|
|
|
+ Source,
|
|
|
+ </if>
|
|
|
+ <if test="isEffective != null">
|
|
|
+ IsEffective,
|
|
|
+ </if>
|
|
|
+ <if test="departmentTypeID != null">
|
|
|
+ DepartmentTypeID,
|
|
|
+ </if>
|
|
|
+ <if test="createUserID != null">
|
|
|
+ CreateUserID,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ CreateTime,
|
|
|
+ </if>
|
|
|
+ <if test="modifyUserID != null">
|
|
|
+ ModifyUserID,
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null">
|
|
|
+ ModifyTime,
|
|
|
+ </if>
|
|
|
+ <if test="creditRecordContent != null">
|
|
|
+ CreditRecordContent,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="creditRecordID != null">
|
|
|
+ #{creditRecordID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyID != null">
|
|
|
+ #{companyID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="enterTime != null">
|
|
|
+ #{enterTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="documentNumber != null">
|
|
|
+ #{documentNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="includeTime != null">
|
|
|
+ #{includeTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="expirationTime != null">
|
|
|
+ #{expirationTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="decidingDepartment != null">
|
|
|
+ #{decidingDepartment,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="source != null">
|
|
|
+ #{source,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isEffective != null">
|
|
|
+ #{isEffective,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="departmentTypeID != null">
|
|
|
+ #{departmentTypeID,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="createUserID != null">
|
|
|
+ #{createUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="modifyUserID != null">
|
|
|
+ #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null">
|
|
|
+ #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="creditRecordContent != null">
|
|
|
+ #{creditRecordContent,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.hz.employmentsite.model.PcCreditRecordExample" resultType="java.lang.Long">
|
|
|
+ select count(*) from pc_credit_record
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
+ update pc_credit_record
|
|
|
+ <set>
|
|
|
+ <if test="row.creditRecordID != null">
|
|
|
+ CreditRecordID = #{row.creditRecordID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.companyID != null">
|
|
|
+ CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.enterTime != null">
|
|
|
+ EnterTime = #{row.enterTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="row.documentNumber != null">
|
|
|
+ DocumentNumber = #{row.documentNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.includeTime != null">
|
|
|
+ IncludeTime = #{row.includeTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="row.expirationTime != null">
|
|
|
+ ExpirationTime = #{row.expirationTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="row.decidingDepartment != null">
|
|
|
+ DecidingDepartment = #{row.decidingDepartment,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.source != null">
|
|
|
+ Source = #{row.source,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.isEffective != null">
|
|
|
+ IsEffective = #{row.isEffective,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="row.departmentTypeID != null">
|
|
|
+ DepartmentTypeID = #{row.departmentTypeID,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="row.createUserID != null">
|
|
|
+ CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.createTime != null">
|
|
|
+ CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="row.modifyUserID != null">
|
|
|
+ ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.modifyTime != null">
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="row.creditRecordContent != null">
|
|
|
+ CreditRecordContent = #{row.creditRecordContent,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExampleWithBLOBs" parameterType="map">
|
|
|
+ update pc_credit_record
|
|
|
+ set CreditRecordID = #{row.creditRecordID,jdbcType=VARCHAR},
|
|
|
+ CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
+ EnterTime = #{row.enterTime,jdbcType=TIMESTAMP},
|
|
|
+ DocumentNumber = #{row.documentNumber,jdbcType=VARCHAR},
|
|
|
+ IncludeTime = #{row.includeTime,jdbcType=TIMESTAMP},
|
|
|
+ ExpirationTime = #{row.expirationTime,jdbcType=TIMESTAMP},
|
|
|
+ DecidingDepartment = #{row.decidingDepartment,jdbcType=VARCHAR},
|
|
|
+ Source = #{row.source,jdbcType=VARCHAR},
|
|
|
+ IsEffective = #{row.isEffective,jdbcType=INTEGER},
|
|
|
+ DepartmentTypeID = #{row.departmentTypeID,jdbcType=INTEGER},
|
|
|
+ CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ CreditRecordContent = #{row.creditRecordContent,jdbcType=LONGVARCHAR}
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
+ update pc_credit_record
|
|
|
+ set CreditRecordID = #{row.creditRecordID,jdbcType=VARCHAR},
|
|
|
+ CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
+ EnterTime = #{row.enterTime,jdbcType=TIMESTAMP},
|
|
|
+ DocumentNumber = #{row.documentNumber,jdbcType=VARCHAR},
|
|
|
+ IncludeTime = #{row.includeTime,jdbcType=TIMESTAMP},
|
|
|
+ ExpirationTime = #{row.expirationTime,jdbcType=TIMESTAMP},
|
|
|
+ DecidingDepartment = #{row.decidingDepartment,jdbcType=VARCHAR},
|
|
|
+ Source = #{row.source,jdbcType=VARCHAR},
|
|
|
+ IsEffective = #{row.isEffective,jdbcType=INTEGER},
|
|
|
+ DepartmentTypeID = #{row.departmentTypeID,jdbcType=INTEGER},
|
|
|
+ CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP}
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.hz.employmentsite.model.PcCreditRecord">
|
|
|
+ update pc_credit_record
|
|
|
+ <set>
|
|
|
+ <if test="companyID != null">
|
|
|
+ CompanyID = #{companyID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="enterTime != null">
|
|
|
+ EnterTime = #{enterTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="documentNumber != null">
|
|
|
+ DocumentNumber = #{documentNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="includeTime != null">
|
|
|
+ IncludeTime = #{includeTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="expirationTime != null">
|
|
|
+ ExpirationTime = #{expirationTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="decidingDepartment != null">
|
|
|
+ DecidingDepartment = #{decidingDepartment,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="source != null">
|
|
|
+ Source = #{source,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="isEffective != null">
|
|
|
+ IsEffective = #{isEffective,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="departmentTypeID != null">
|
|
|
+ DepartmentTypeID = #{departmentTypeID,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="createUserID != null">
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="modifyUserID != null">
|
|
|
+ ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="modifyTime != null">
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="creditRecordContent != null">
|
|
|
+ CreditRecordContent = #{creditRecordContent,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where CreditRecordID = #{creditRecordID,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.hz.employmentsite.model.PcCreditRecord">
|
|
|
+ update pc_credit_record
|
|
|
+ set CompanyID = #{companyID,jdbcType=VARCHAR},
|
|
|
+ EnterTime = #{enterTime,jdbcType=TIMESTAMP},
|
|
|
+ DocumentNumber = #{documentNumber,jdbcType=VARCHAR},
|
|
|
+ IncludeTime = #{includeTime,jdbcType=TIMESTAMP},
|
|
|
+ ExpirationTime = #{expirationTime,jdbcType=TIMESTAMP},
|
|
|
+ DecidingDepartment = #{decidingDepartment,jdbcType=VARCHAR},
|
|
|
+ Source = #{source,jdbcType=VARCHAR},
|
|
|
+ IsEffective = #{isEffective,jdbcType=INTEGER},
|
|
|
+ DepartmentTypeID = #{departmentTypeID,jdbcType=INTEGER},
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ CreditRecordContent = #{creditRecordContent,jdbcType=LONGVARCHAR}
|
|
|
+ where CreditRecordID = #{creditRecordID,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.PcCreditRecord">
|
|
|
+ update pc_credit_record
|
|
|
+ set CompanyID = #{companyID,jdbcType=VARCHAR},
|
|
|
+ EnterTime = #{enterTime,jdbcType=TIMESTAMP},
|
|
|
+ DocumentNumber = #{documentNumber,jdbcType=VARCHAR},
|
|
|
+ IncludeTime = #{includeTime,jdbcType=TIMESTAMP},
|
|
|
+ ExpirationTime = #{expirationTime,jdbcType=TIMESTAMP},
|
|
|
+ DecidingDepartment = #{decidingDepartment,jdbcType=VARCHAR},
|
|
|
+ Source = #{source,jdbcType=VARCHAR},
|
|
|
+ IsEffective = #{isEffective,jdbcType=INTEGER},
|
|
|
+ DepartmentTypeID = #{departmentTypeID,jdbcType=INTEGER},
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP}
|
|
|
+ where CreditRecordID = #{creditRecordID,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|