|
@@ -13,6 +13,8 @@
|
|
<result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="UpdateBy" jdbcType="VARCHAR" property="updateBy" />
|
|
<result column="UpdateBy" jdbcType="VARCHAR" property="updateBy" />
|
|
<result column="UpdateTime" jdbcType="TIMESTAMP" property="updateTime" />
|
|
<result column="UpdateTime" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
|
+ <result column="UserNo" jdbcType="VARCHAR" property="userNo" />
|
|
|
|
+ <result column="IDCard" jdbcType="VARCHAR" property="IDCard" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
<where>
|
|
<where>
|
|
@@ -74,7 +76,7 @@
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
SiteUserID, SiteUserName, UserID, SiteID, Gender, Mobile, RoleID, CreateUserID, CreateTime,
|
|
SiteUserID, SiteUserName, UserID, SiteID, Gender, Mobile, RoleID, CreateUserID, CreateTime,
|
|
- UpdateBy, UpdateTime
|
|
|
|
|
|
+ UpdateBy, UpdateTime, UserNo, IDCard
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.hz.employmentsite.model.PcSiteUserExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.hz.employmentsite.model.PcSiteUserExample" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
@@ -110,11 +112,13 @@
|
|
insert into pc_site_user (SiteUserID, SiteUserName, UserID,
|
|
insert into pc_site_user (SiteUserID, SiteUserName, UserID,
|
|
SiteID, Gender, Mobile,
|
|
SiteID, Gender, Mobile,
|
|
RoleID, CreateUserID, CreateTime,
|
|
RoleID, CreateUserID, CreateTime,
|
|
- UpdateBy, UpdateTime)
|
|
|
|
|
|
+ UpdateBy, UpdateTime, UserNo,
|
|
|
|
+ IDCard)
|
|
values (#{siteUserID,jdbcType=VARCHAR}, #{siteUserName,jdbcType=VARCHAR}, #{userID,jdbcType=VARCHAR},
|
|
values (#{siteUserID,jdbcType=VARCHAR}, #{siteUserName,jdbcType=VARCHAR}, #{userID,jdbcType=VARCHAR},
|
|
#{siteID,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, #{mobile,jdbcType=VARCHAR},
|
|
#{siteID,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, #{mobile,jdbcType=VARCHAR},
|
|
#{roleID,jdbcType=INTEGER}, #{createUserID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
#{roleID,jdbcType=INTEGER}, #{createUserID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
- #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP})
|
|
|
|
|
|
+ #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{userNo,jdbcType=VARCHAR},
|
|
|
|
+ #{IDCard,jdbcType=VARCHAR})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcSiteUser">
|
|
<insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcSiteUser">
|
|
insert into pc_site_user
|
|
insert into pc_site_user
|
|
@@ -152,6 +156,12 @@
|
|
<if test="updateTime != null">
|
|
<if test="updateTime != null">
|
|
UpdateTime,
|
|
UpdateTime,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="userNo != null">
|
|
|
|
+ UserNo,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="IDCard != null">
|
|
|
|
+ IDCard,
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="siteUserID != null">
|
|
<if test="siteUserID != null">
|
|
@@ -187,6 +197,12 @@
|
|
<if test="updateTime != null">
|
|
<if test="updateTime != null">
|
|
#{updateTime,jdbcType=TIMESTAMP},
|
|
#{updateTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="userNo != null">
|
|
|
|
+ #{userNo,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="IDCard != null">
|
|
|
|
+ #{IDCard,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
<select id="countByExample" parameterType="com.hz.employmentsite.model.PcSiteUserExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="com.hz.employmentsite.model.PcSiteUserExample" resultType="java.lang.Long">
|
|
@@ -231,6 +247,12 @@
|
|
<if test="row.updateTime != null">
|
|
<if test="row.updateTime != null">
|
|
UpdateTime = #{row.updateTime,jdbcType=TIMESTAMP},
|
|
UpdateTime = #{row.updateTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="row.userNo != null">
|
|
|
|
+ UserNo = #{row.userNo,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.IDCard != null">
|
|
|
|
+ IDCard = #{row.IDCard,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
<if test="example != null">
|
|
<if test="example != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -248,7 +270,9 @@
|
|
CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
UpdateBy = #{row.updateBy,jdbcType=VARCHAR},
|
|
UpdateBy = #{row.updateBy,jdbcType=VARCHAR},
|
|
- UpdateTime = #{row.updateTime,jdbcType=TIMESTAMP}
|
|
|
|
|
|
+ UpdateTime = #{row.updateTime,jdbcType=TIMESTAMP},
|
|
|
|
+ UserNo = #{row.userNo,jdbcType=VARCHAR},
|
|
|
|
+ IDCard = #{row.IDCard,jdbcType=VARCHAR}
|
|
<if test="example != null">
|
|
<if test="example != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -286,6 +310,12 @@
|
|
<if test="updateTime != null">
|
|
<if test="updateTime != null">
|
|
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="userNo != null">
|
|
|
|
+ UserNo = #{userNo,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="IDCard != null">
|
|
|
|
+ IDCard = #{IDCard,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where SiteUserID = #{siteUserID,jdbcType=VARCHAR}
|
|
where SiteUserID = #{siteUserID,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
@@ -300,7 +330,9 @@
|
|
CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
UpdateBy = #{updateBy,jdbcType=VARCHAR},
|
|
UpdateBy = #{updateBy,jdbcType=VARCHAR},
|
|
- UpdateTime = #{updateTime,jdbcType=TIMESTAMP}
|
|
|
|
|
|
+ UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
+ UserNo = #{userNo,jdbcType=VARCHAR},
|
|
|
|
+ IDCard = #{IDCard,jdbcType=VARCHAR}
|
|
where SiteUserID = #{siteUserID,jdbcType=VARCHAR}
|
|
where SiteUserID = #{siteUserID,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
</mapper>
|
|
</mapper>
|