and mc.dept_id = #{deptId} and mc.user_id = #{userId} update man_cstmr set dept_id = #{deptId} where user_id = #{userId}