| | |
| | | <result property="cameraPriority" column="camera_priority"/> |
| | | <result property="rongCloudToken" column="rong_cloud_token"/> |
| | | <result property="appUserType" column="app_user_type"/> |
| | | <result property="appOnlineState" column="app_online_state"/> |
| | | <result property="remark" column="remark"/> |
| | | <association property="dept" column="dept_id" javaType="SysDept" resultMap="deptResult"/> |
| | | <collection property="roles" javaType="java.util.List" resultMap="RoleResult"/> |
| | |
| | | u.camera_priority, |
| | | u.rong_cloud_token, |
| | | u.app_user_type, |
| | | u.app_online_state, |
| | | u.remark, |
| | | d.dept_id, |
| | | d.parent_id, |
| | |
| | | <if test="cameraPriority != null">camera_priority = #{cameraPriority},</if> |
| | | <if test="rongCloudToken != null">rong_cloud_token = #{rongCloudToken},</if> |
| | | <if test="appUserType != null">app_user_type = #{appUserType},</if> |
| | | <if test="appOnlineState != null">app_online_state = #{appOnlineState},</if> |
| | | update_time = now() |
| | | </set> |
| | | where user_id = #{userId} |