|
@@ -0,0 +1,486 @@
|
|
|
+<?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.xinxin.topro.base.sqlservermapper.EmployeeMapper" >
|
|
|
+ <resultMap id="BaseResultMap" type="com.xinxin.topro.base.sqlservermodel.Employee" >
|
|
|
+ <id column="EmpNo" property="empno" jdbcType="VARCHAR" />
|
|
|
+ <result column="EmpCode" property="empcode" jdbcType="VARCHAR" />
|
|
|
+ <result column="EmpName" property="empname" jdbcType="VARCHAR" />
|
|
|
+ <result column="PhoneticName" property="phoneticname" jdbcType="VARCHAR" />
|
|
|
+ <result column="EngName" property="engname" jdbcType="VARCHAR" />
|
|
|
+ <result column="IdNo" property="idno" jdbcType="VARCHAR" />
|
|
|
+ <result column="Sex" property="sex" jdbcType="VARCHAR" />
|
|
|
+ <result column="Birthday" property="birthday" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="MobilePhone" property="mobilephone" jdbcType="VARCHAR" />
|
|
|
+ <result column="Email" property="email" jdbcType="VARCHAR" />
|
|
|
+ <result column="HireDate" property="hiredate" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="Zone" property="zone" jdbcType="VARCHAR" />
|
|
|
+ <result column="DepartNo" property="departno" jdbcType="VARCHAR" />
|
|
|
+ <result column="WorkDepartNo" property="workdepartno" jdbcType="VARCHAR" />
|
|
|
+ <result column="EmpType" property="emptype" jdbcType="VARCHAR" />
|
|
|
+ <result column="Title" property="title" jdbcType="SMALLINT" />
|
|
|
+ <result column="ChiefNo" property="chiefno" jdbcType="SMALLINT" />
|
|
|
+ <result column="SubTel" property="subtel" jdbcType="VARCHAR" />
|
|
|
+ <result column="SimpleTel" property="simpletel" jdbcType="VARCHAR" />
|
|
|
+ <result column="Password" property="password" jdbcType="VARCHAR" />
|
|
|
+ <result column="PasswordTime" property="passwordtime" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="PressCard" property="presscard" jdbcType="INTEGER" />
|
|
|
+ <result column="ResignDate" property="resigndate" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="UpdateUser" property="updateuser" jdbcType="VARCHAR" />
|
|
|
+ <result column="UpdateTime" property="updatetime" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="Keyword1" property="keyword1" jdbcType="VARCHAR" />
|
|
|
+ <result column="Keyword2" property="keyword2" jdbcType="VARCHAR" />
|
|
|
+ <result column="Keyword3" property="keyword3" jdbcType="VARCHAR" />
|
|
|
+ <result column="UserLevelId" property="userlevelid" jdbcType="VARCHAR" />
|
|
|
+ <result column="InputCode" property="inputcode" jdbcType="VARCHAR" />
|
|
|
+ </resultMap>
|
|
|
+ <resultMap id="ResultMapWithBLOBs" type="com.xinxin.topro.base.sqlservermodel.EmployeeWithBLOBs" extends="BaseResultMap" >
|
|
|
+ <result column="Remark" property="remark" jdbcType="LONGVARCHAR" />
|
|
|
+ <result column="FingerTz1" property="fingertz1" jdbcType="LONGVARBINARY" />
|
|
|
+ <result column="FingerTz2" property="fingertz2" jdbcType="LONGVARBINARY" />
|
|
|
+ <result column="FingerTz3" property="fingertz3" jdbcType="LONGVARBINARY" />
|
|
|
+ <result column="Signature" property="signature" jdbcType="LONGVARBINARY" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Base_Column_List" >
|
|
|
+ EmpNo, EmpCode, EmpName, PhoneticName, EngName, IdNo, Sex, Birthday, MobilePhone,
|
|
|
+ Email, HireDate, Zone, DepartNo, WorkDepartNo, EmpType, Title, ChiefNo, SubTel, SimpleTel,
|
|
|
+ Password, PasswordTime, PressCard, ResignDate, UpdateUser, UpdateTime, Keyword1,
|
|
|
+ Keyword2, Keyword3, UserLevelId, InputCode
|
|
|
+ </sql>
|
|
|
+ <sql id="Blob_Column_List" >
|
|
|
+ Remark, FingerTz1, FingerTz2, FingerTz3, Signature
|
|
|
+ </sql>
|
|
|
+ <select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.String" >
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ ,
|
|
|
+ <include refid="Blob_Column_List" />
|
|
|
+ from Employee
|
|
|
+ where EmpNo = #{empno,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
|
|
|
+ delete from Employee
|
|
|
+ where EmpNo = #{empno,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.xinxin.topro.base.sqlservermodel.EmployeeWithBLOBs" >
|
|
|
+ insert into Employee (EmpNo, EmpCode, EmpName,
|
|
|
+ PhoneticName, EngName, IdNo,
|
|
|
+ Sex, Birthday, MobilePhone,
|
|
|
+ Email, HireDate, Zone,
|
|
|
+ DepartNo, WorkDepartNo, EmpType,
|
|
|
+ Title, ChiefNo, SubTel,
|
|
|
+ SimpleTel, Password, PasswordTime,
|
|
|
+ PressCard, ResignDate, UpdateUser,
|
|
|
+ UpdateTime, Keyword1, Keyword2,
|
|
|
+ Keyword3, UserLevelId, InputCode,
|
|
|
+ Remark, FingerTz1, FingerTz2,
|
|
|
+ FingerTz3, Signature)
|
|
|
+ values (#{empno,jdbcType=VARCHAR}, #{empcode,jdbcType=VARCHAR}, #{empname,jdbcType=VARCHAR},
|
|
|
+ #{phoneticname,jdbcType=VARCHAR}, #{engname,jdbcType=VARCHAR}, #{idno,jdbcType=VARCHAR},
|
|
|
+ #{sex,jdbcType=VARCHAR}, #{birthday,jdbcType=TIMESTAMP}, #{mobilephone,jdbcType=VARCHAR},
|
|
|
+ #{email,jdbcType=VARCHAR}, #{hiredate,jdbcType=TIMESTAMP}, #{zone,jdbcType=VARCHAR},
|
|
|
+ #{departno,jdbcType=VARCHAR}, #{workdepartno,jdbcType=VARCHAR}, #{emptype,jdbcType=VARCHAR},
|
|
|
+ #{title,jdbcType=SMALLINT}, #{chiefno,jdbcType=SMALLINT}, #{subtel,jdbcType=VARCHAR},
|
|
|
+ #{simpletel,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{passwordtime,jdbcType=TIMESTAMP},
|
|
|
+ #{presscard,jdbcType=INTEGER}, #{resigndate,jdbcType=TIMESTAMP}, #{updateuser,jdbcType=VARCHAR},
|
|
|
+ #{updatetime,jdbcType=TIMESTAMP}, #{keyword1,jdbcType=VARCHAR}, #{keyword2,jdbcType=VARCHAR},
|
|
|
+ #{keyword3,jdbcType=VARCHAR}, #{userlevelid,jdbcType=VARCHAR}, #{inputcode,jdbcType=VARCHAR},
|
|
|
+ #{remark,jdbcType=LONGVARCHAR}, #{fingertz1,jdbcType=LONGVARBINARY}, #{fingertz2,jdbcType=LONGVARBINARY},
|
|
|
+ #{fingertz3,jdbcType=LONGVARBINARY}, #{signature,jdbcType=LONGVARBINARY})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.xinxin.topro.base.sqlservermodel.EmployeeWithBLOBs" >
|
|
|
+ insert into Employee
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
+ <if test="empno != null" >
|
|
|
+ EmpNo,
|
|
|
+ </if>
|
|
|
+ <if test="empcode != null" >
|
|
|
+ EmpCode,
|
|
|
+ </if>
|
|
|
+ <if test="empname != null" >
|
|
|
+ EmpName,
|
|
|
+ </if>
|
|
|
+ <if test="phoneticname != null" >
|
|
|
+ PhoneticName,
|
|
|
+ </if>
|
|
|
+ <if test="engname != null" >
|
|
|
+ EngName,
|
|
|
+ </if>
|
|
|
+ <if test="idno != null" >
|
|
|
+ IdNo,
|
|
|
+ </if>
|
|
|
+ <if test="sex != null" >
|
|
|
+ Sex,
|
|
|
+ </if>
|
|
|
+ <if test="birthday != null" >
|
|
|
+ Birthday,
|
|
|
+ </if>
|
|
|
+ <if test="mobilephone != null" >
|
|
|
+ MobilePhone,
|
|
|
+ </if>
|
|
|
+ <if test="email != null" >
|
|
|
+ Email,
|
|
|
+ </if>
|
|
|
+ <if test="hiredate != null" >
|
|
|
+ HireDate,
|
|
|
+ </if>
|
|
|
+ <if test="zone != null" >
|
|
|
+ Zone,
|
|
|
+ </if>
|
|
|
+ <if test="departno != null" >
|
|
|
+ DepartNo,
|
|
|
+ </if>
|
|
|
+ <if test="workdepartno != null" >
|
|
|
+ WorkDepartNo,
|
|
|
+ </if>
|
|
|
+ <if test="emptype != null" >
|
|
|
+ EmpType,
|
|
|
+ </if>
|
|
|
+ <if test="title != null" >
|
|
|
+ Title,
|
|
|
+ </if>
|
|
|
+ <if test="chiefno != null" >
|
|
|
+ ChiefNo,
|
|
|
+ </if>
|
|
|
+ <if test="subtel != null" >
|
|
|
+ SubTel,
|
|
|
+ </if>
|
|
|
+ <if test="simpletel != null" >
|
|
|
+ SimpleTel,
|
|
|
+ </if>
|
|
|
+ <if test="password != null" >
|
|
|
+ Password,
|
|
|
+ </if>
|
|
|
+ <if test="passwordtime != null" >
|
|
|
+ PasswordTime,
|
|
|
+ </if>
|
|
|
+ <if test="presscard != null" >
|
|
|
+ PressCard,
|
|
|
+ </if>
|
|
|
+ <if test="resigndate != null" >
|
|
|
+ ResignDate,
|
|
|
+ </if>
|
|
|
+ <if test="updateuser != null" >
|
|
|
+ UpdateUser,
|
|
|
+ </if>
|
|
|
+ <if test="updatetime != null" >
|
|
|
+ UpdateTime,
|
|
|
+ </if>
|
|
|
+ <if test="keyword1 != null" >
|
|
|
+ Keyword1,
|
|
|
+ </if>
|
|
|
+ <if test="keyword2 != null" >
|
|
|
+ Keyword2,
|
|
|
+ </if>
|
|
|
+ <if test="keyword3 != null" >
|
|
|
+ Keyword3,
|
|
|
+ </if>
|
|
|
+ <if test="userlevelid != null" >
|
|
|
+ UserLevelId,
|
|
|
+ </if>
|
|
|
+ <if test="inputcode != null" >
|
|
|
+ InputCode,
|
|
|
+ </if>
|
|
|
+ <if test="remark != null" >
|
|
|
+ Remark,
|
|
|
+ </if>
|
|
|
+ <if test="fingertz1 != null" >
|
|
|
+ FingerTz1,
|
|
|
+ </if>
|
|
|
+ <if test="fingertz2 != null" >
|
|
|
+ FingerTz2,
|
|
|
+ </if>
|
|
|
+ <if test="fingertz3 != null" >
|
|
|
+ FingerTz3,
|
|
|
+ </if>
|
|
|
+ <if test="signature != null" >
|
|
|
+ Signature,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
+ <if test="empno != null" >
|
|
|
+ #{empno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="empcode != null" >
|
|
|
+ #{empcode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="empname != null" >
|
|
|
+ #{empname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="phoneticname != null" >
|
|
|
+ #{phoneticname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="engname != null" >
|
|
|
+ #{engname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="idno != null" >
|
|
|
+ #{idno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sex != null" >
|
|
|
+ #{sex,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="birthday != null" >
|
|
|
+ #{birthday,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="mobilephone != null" >
|
|
|
+ #{mobilephone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="email != null" >
|
|
|
+ #{email,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="hiredate != null" >
|
|
|
+ #{hiredate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="zone != null" >
|
|
|
+ #{zone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="departno != null" >
|
|
|
+ #{departno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="workdepartno != null" >
|
|
|
+ #{workdepartno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="emptype != null" >
|
|
|
+ #{emptype,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="title != null" >
|
|
|
+ #{title,jdbcType=SMALLINT},
|
|
|
+ </if>
|
|
|
+ <if test="chiefno != null" >
|
|
|
+ #{chiefno,jdbcType=SMALLINT},
|
|
|
+ </if>
|
|
|
+ <if test="subtel != null" >
|
|
|
+ #{subtel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="simpletel != null" >
|
|
|
+ #{simpletel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="password != null" >
|
|
|
+ #{password,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="passwordtime != null" >
|
|
|
+ #{passwordtime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="presscard != null" >
|
|
|
+ #{presscard,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="resigndate != null" >
|
|
|
+ #{resigndate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updateuser != null" >
|
|
|
+ #{updateuser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="updatetime != null" >
|
|
|
+ #{updatetime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="keyword1 != null" >
|
|
|
+ #{keyword1,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="keyword2 != null" >
|
|
|
+ #{keyword2,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="keyword3 != null" >
|
|
|
+ #{keyword3,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="userlevelid != null" >
|
|
|
+ #{userlevelid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="inputcode != null" >
|
|
|
+ #{inputcode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remark != null" >
|
|
|
+ #{remark,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="fingertz1 != null" >
|
|
|
+ #{fingertz1,jdbcType=LONGVARBINARY},
|
|
|
+ </if>
|
|
|
+ <if test="fingertz2 != null" >
|
|
|
+ #{fingertz2,jdbcType=LONGVARBINARY},
|
|
|
+ </if>
|
|
|
+ <if test="fingertz3 != null" >
|
|
|
+ #{fingertz3,jdbcType=LONGVARBINARY},
|
|
|
+ </if>
|
|
|
+ <if test="signature != null" >
|
|
|
+ #{signature,jdbcType=LONGVARBINARY},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.xinxin.topro.base.sqlservermodel.EmployeeWithBLOBs" >
|
|
|
+ update Employee
|
|
|
+ <set >
|
|
|
+ <if test="empcode != null" >
|
|
|
+ EmpCode = #{empcode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="empname != null" >
|
|
|
+ EmpName = #{empname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="phoneticname != null" >
|
|
|
+ PhoneticName = #{phoneticname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="engname != null" >
|
|
|
+ EngName = #{engname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="idno != null" >
|
|
|
+ IdNo = #{idno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="sex != null" >
|
|
|
+ Sex = #{sex,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="birthday != null" >
|
|
|
+ Birthday = #{birthday,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="mobilephone != null" >
|
|
|
+ MobilePhone = #{mobilephone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="email != null" >
|
|
|
+ Email = #{email,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="hiredate != null" >
|
|
|
+ HireDate = #{hiredate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="zone != null" >
|
|
|
+ Zone = #{zone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="departno != null" >
|
|
|
+ DepartNo = #{departno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="workdepartno != null" >
|
|
|
+ WorkDepartNo = #{workdepartno,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="emptype != null" >
|
|
|
+ EmpType = #{emptype,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="title != null" >
|
|
|
+ Title = #{title,jdbcType=SMALLINT},
|
|
|
+ </if>
|
|
|
+ <if test="chiefno != null" >
|
|
|
+ ChiefNo = #{chiefno,jdbcType=SMALLINT},
|
|
|
+ </if>
|
|
|
+ <if test="subtel != null" >
|
|
|
+ SubTel = #{subtel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="simpletel != null" >
|
|
|
+ SimpleTel = #{simpletel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="password != null" >
|
|
|
+ Password = #{password,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="passwordtime != null" >
|
|
|
+ PasswordTime = #{passwordtime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="presscard != null" >
|
|
|
+ PressCard = #{presscard,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="resigndate != null" >
|
|
|
+ ResignDate = #{resigndate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updateuser != null" >
|
|
|
+ UpdateUser = #{updateuser,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="updatetime != null" >
|
|
|
+ UpdateTime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="keyword1 != null" >
|
|
|
+ Keyword1 = #{keyword1,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="keyword2 != null" >
|
|
|
+ Keyword2 = #{keyword2,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="keyword3 != null" >
|
|
|
+ Keyword3 = #{keyword3,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="userlevelid != null" >
|
|
|
+ UserLevelId = #{userlevelid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="inputcode != null" >
|
|
|
+ InputCode = #{inputcode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remark != null" >
|
|
|
+ Remark = #{remark,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="fingertz1 != null" >
|
|
|
+ FingerTz1 = #{fingertz1,jdbcType=LONGVARBINARY},
|
|
|
+ </if>
|
|
|
+ <if test="fingertz2 != null" >
|
|
|
+ FingerTz2 = #{fingertz2,jdbcType=LONGVARBINARY},
|
|
|
+ </if>
|
|
|
+ <if test="fingertz3 != null" >
|
|
|
+ FingerTz3 = #{fingertz3,jdbcType=LONGVARBINARY},
|
|
|
+ </if>
|
|
|
+ <if test="signature != null" >
|
|
|
+ Signature = #{signature,jdbcType=LONGVARBINARY},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where EmpNo = #{empno,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.xinxin.topro.base.sqlservermodel.EmployeeWithBLOBs" >
|
|
|
+ update Employee
|
|
|
+ set EmpCode = #{empcode,jdbcType=VARCHAR},
|
|
|
+ EmpName = #{empname,jdbcType=VARCHAR},
|
|
|
+ PhoneticName = #{phoneticname,jdbcType=VARCHAR},
|
|
|
+ EngName = #{engname,jdbcType=VARCHAR},
|
|
|
+ IdNo = #{idno,jdbcType=VARCHAR},
|
|
|
+ Sex = #{sex,jdbcType=VARCHAR},
|
|
|
+ Birthday = #{birthday,jdbcType=TIMESTAMP},
|
|
|
+ MobilePhone = #{mobilephone,jdbcType=VARCHAR},
|
|
|
+ Email = #{email,jdbcType=VARCHAR},
|
|
|
+ HireDate = #{hiredate,jdbcType=TIMESTAMP},
|
|
|
+ Zone = #{zone,jdbcType=VARCHAR},
|
|
|
+ DepartNo = #{departno,jdbcType=VARCHAR},
|
|
|
+ WorkDepartNo = #{workdepartno,jdbcType=VARCHAR},
|
|
|
+ EmpType = #{emptype,jdbcType=VARCHAR},
|
|
|
+ Title = #{title,jdbcType=SMALLINT},
|
|
|
+ ChiefNo = #{chiefno,jdbcType=SMALLINT},
|
|
|
+ SubTel = #{subtel,jdbcType=VARCHAR},
|
|
|
+ SimpleTel = #{simpletel,jdbcType=VARCHAR},
|
|
|
+ Password = #{password,jdbcType=VARCHAR},
|
|
|
+ PasswordTime = #{passwordtime,jdbcType=TIMESTAMP},
|
|
|
+ PressCard = #{presscard,jdbcType=INTEGER},
|
|
|
+ ResignDate = #{resigndate,jdbcType=TIMESTAMP},
|
|
|
+ UpdateUser = #{updateuser,jdbcType=VARCHAR},
|
|
|
+ UpdateTime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
+ Keyword1 = #{keyword1,jdbcType=VARCHAR},
|
|
|
+ Keyword2 = #{keyword2,jdbcType=VARCHAR},
|
|
|
+ Keyword3 = #{keyword3,jdbcType=VARCHAR},
|
|
|
+ UserLevelId = #{userlevelid,jdbcType=VARCHAR},
|
|
|
+ InputCode = #{inputcode,jdbcType=VARCHAR},
|
|
|
+ Remark = #{remark,jdbcType=LONGVARCHAR},
|
|
|
+ FingerTz1 = #{fingertz1,jdbcType=LONGVARBINARY},
|
|
|
+ FingerTz2 = #{fingertz2,jdbcType=LONGVARBINARY},
|
|
|
+ FingerTz3 = #{fingertz3,jdbcType=LONGVARBINARY},
|
|
|
+ Signature = #{signature,jdbcType=LONGVARBINARY}
|
|
|
+ where EmpNo = #{empno,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.xinxin.topro.base.sqlservermodel.Employee" >
|
|
|
+ update Employee
|
|
|
+ set EmpCode = #{empcode,jdbcType=VARCHAR},
|
|
|
+ EmpName = #{empname,jdbcType=VARCHAR},
|
|
|
+ PhoneticName = #{phoneticname,jdbcType=VARCHAR},
|
|
|
+ EngName = #{engname,jdbcType=VARCHAR},
|
|
|
+ IdNo = #{idno,jdbcType=VARCHAR},
|
|
|
+ Sex = #{sex,jdbcType=VARCHAR},
|
|
|
+ Birthday = #{birthday,jdbcType=TIMESTAMP},
|
|
|
+ MobilePhone = #{mobilephone,jdbcType=VARCHAR},
|
|
|
+ Email = #{email,jdbcType=VARCHAR},
|
|
|
+ HireDate = #{hiredate,jdbcType=TIMESTAMP},
|
|
|
+ Zone = #{zone,jdbcType=VARCHAR},
|
|
|
+ DepartNo = #{departno,jdbcType=VARCHAR},
|
|
|
+ WorkDepartNo = #{workdepartno,jdbcType=VARCHAR},
|
|
|
+ EmpType = #{emptype,jdbcType=VARCHAR},
|
|
|
+ Title = #{title,jdbcType=SMALLINT},
|
|
|
+ ChiefNo = #{chiefno,jdbcType=SMALLINT},
|
|
|
+ SubTel = #{subtel,jdbcType=VARCHAR},
|
|
|
+ SimpleTel = #{simpletel,jdbcType=VARCHAR},
|
|
|
+ Password = #{password,jdbcType=VARCHAR},
|
|
|
+ PasswordTime = #{passwordtime,jdbcType=TIMESTAMP},
|
|
|
+ PressCard = #{presscard,jdbcType=INTEGER},
|
|
|
+ ResignDate = #{resigndate,jdbcType=TIMESTAMP},
|
|
|
+ UpdateUser = #{updateuser,jdbcType=VARCHAR},
|
|
|
+ UpdateTime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
+ Keyword1 = #{keyword1,jdbcType=VARCHAR},
|
|
|
+ Keyword2 = #{keyword2,jdbcType=VARCHAR},
|
|
|
+ Keyword3 = #{keyword3,jdbcType=VARCHAR},
|
|
|
+ UserLevelId = #{userlevelid,jdbcType=VARCHAR},
|
|
|
+ InputCode = #{inputcode,jdbcType=VARCHAR}
|
|
|
+ where EmpNo = #{empno,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|