| | |
| | | <if test="status != null and status != ''">status = #{status},</if> |
| | | <if test="oaUserId != null">oa_user_id = #{oaUserId},</if> |
| | | <if test="oaOrderClass != null">oa_order_class = #{oaOrderClass},</if> |
| | | <if test="openId != null and openId != ''">open_id = #{openId},</if> |
| | | <if test="unionId != null and unionId != ''">union_id = #{unionId},</if> |
| | | <if test="wechatNickname != null and wechatNickname != ''">wechat_nickname = #{wechatNickname},</if> |
| | | <if test="loginIp != null and loginIp != ''">login_ip = #{loginIp},</if> |
| | | <if test="loginDate != null">login_date = #{loginDate},</if> |
| | | <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> |
| | |
| | | limit 1 |
| | | </select> |
| | | |
| | | <!-- 通过微信OpenID查询用户 --> |
| | | <select id="selectUserByOpenId" parameterType="String" resultMap="SysUserResult"> |
| | | <include refid="selectUserVo"/> |
| | | where u.open_id = #{openId} and u.del_flag = '0' |
| | | </select> |
| | | |
| | | </mapper> |