|
@@ -322,17 +322,23 @@
|
|
|
<update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.PcSiteUser">
|
|
|
update pc_site_user
|
|
|
set SiteUserName = #{siteUserName,jdbcType=VARCHAR},
|
|
|
- UserID = #{userID,jdbcType=VARCHAR},
|
|
|
- SiteID = #{siteID,jdbcType=VARCHAR},
|
|
|
- Gender = #{gender,jdbcType=INTEGER},
|
|
|
- Mobile = #{mobile,jdbcType=VARCHAR},
|
|
|
- RoleID = #{roleID,jdbcType=INTEGER},
|
|
|
- CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
- CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
- UpdateBy = #{updateBy,jdbcType=VARCHAR},
|
|
|
- UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- UserNo = #{userNo,jdbcType=VARCHAR},
|
|
|
- IDCard = #{IDCard,jdbcType=VARCHAR}
|
|
|
+ UserID = #{userID,jdbcType=VARCHAR},
|
|
|
+ SiteID = #{siteID,jdbcType=VARCHAR},
|
|
|
+ Gender = #{gender,jdbcType=INTEGER},
|
|
|
+ Mobile = #{mobile,jdbcType=VARCHAR},
|
|
|
+ RoleID = #{roleID,jdbcType=INTEGER},
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ UpdateBy = #{updateBy,jdbcType=VARCHAR},
|
|
|
+ UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ UserNo = #{userNo,jdbcType=VARCHAR},
|
|
|
+ IDCard = #{IDCard,jdbcType=VARCHAR}
|
|
|
where SiteUserID = #{siteUserID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
+
|
|
|
+ <select id="selectByMobile" resultType="String">
|
|
|
+ select SiteID
|
|
|
+ from pc_site_user
|
|
|
+ where mobile = #{mobile,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
</mapper>
|