| | |
| | | where login_name=#{LoginName} |
| | | </select> |
| | | |
| | | <select id="findOnePassWord" > |
| | | SELECT * |
| | | FROM erp_user_info.user |
| | | where id=#{id} and password=#{passWord} |
| | | </select> |
| | | |
| | | <insert id="register" useGeneratedKeys="true" keyProperty="id"> |
| | | insert erp_user_info.user |
| | | (password,user_name) |
| | |
| | | set state =0 |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="updatePassWordById"> |
| | | update erp_user_info.user |
| | | set password=#{passWord},update_time=now() |
| | | where id=#{id} |
| | | </update> |
| | | |
| | | <update id="updateUserNameById"> |
| | | update erp_user_info.user |
| | | set user_name=#{userName},update_time=now() |
| | | where id=#{id} |
| | | </update> |
| | | </mapper> |